Upcoming Games

No games to display

Full list
Add a game

Upcoming Events

No events to display

Convdata error

You are here: Home > Forum > Simulations > Released > Wembley Suburban > Convdata error

Page 1 of 1

Convdata error 21/07/2013 at 15:27 #47439
guidomcc
Avatar
246 posts
I posted this problem in a different thread and it received no reply, but I found the timetable again today and so I was wondering about the problem again:

I've just finished all the down trains in a timetable for this simulation (Wembley Sub) and on a play-through realised that because of the TD controls and my LUL trains being the standard *X**, I need to swap the first two digits round. However on exporting to ConvData (so I could do a find-and-replace 2J** with J2** etc) it returns "Convdata terminated with exit code 1633496".

Any help with this error?
Thanks in advance

Log in to reply
Convdata error 21/07/2013 at 15:56 #47440
Sacro
Avatar
1171 posts
Are you trying to convert an XML format wtt? Convdata doesn't support those.
Log in to reply
Convdata error 21/07/2013 at 19:14 #47456
guidomcc
Avatar
246 posts
I'm not sure what you mean.
I go into Wembley Sub sim, load up a game with the TT. Click timetable, then Export/Import. I browse the correct files into their relevant box, and click convert to text format. The console then displays "Convdata terminated with exit code 1633496".

Log in to reply
Convdata error 21/07/2013 at 20:02 #47457
Sacro
Avatar
1171 posts
Yeah, it's possible you're attempting to convert an XML wtt.

What happens if you call convdata via the command prompt?

Log in to reply
Convdata error 21/07/2013 at 20:18 #47458
guidomcc
Avatar
246 posts
I'm not doing this right am I?
[img size=500]http://i.imgur.com/sIEaRJa.jpg[/img]

Log in to reply
Convdata error 21/07/2013 at 20:21 #47459
Sacro
Avatar
1171 posts
You'll either need to 'cd' into the Convdata directory, or pass the full path to it.
Log in to reply
Convdata error 21/07/2013 at 20:34 #47460
guidomcc
Avatar
246 posts
[img size=750]http://imgur.com/qzCihcn.jpg[/img]

Thanks for your help so far

Log in to reply
Convdata error 21/07/2013 at 20:35 #47461
guidomcc
Avatar
246 posts
[img size=750]http://i.imgur.com/fTA6flu.jpg[/img]

Thanks for all your help so far

Log in to reply
Convdata error 21/07/2013 at 20:43 #47462
Sacro
Avatar
1171 posts
You've got spaces in your filesnames, you need to double quote ("like this"them,

also it's -CR not [-CR]

Last edited: 21/07/2013 at 20:43 by Sacro
Log in to reply
Convdata error 21/07/2013 at 20:48 #47463
Gwasanaethau
Avatar
509 posts
You also need to put your paths in speech marks, ie:

convdata.exe -CR "C:\Program Files (x86)\SimSig\WembleySub\Winter 2013 DOWN.wtt" "C:\Program Files (x86)\SimSig\WembleySub\testtesttesttest.txt"

This is because the file paths have spaces in them, so the command prompt thinks you are feeding it loads of files instead of just two. Also probably worth double-checking the spelling of the paths to be sure it finds them OK.

Log in to reply
Convdata error 21/07/2013 at 21:29 #47464
guidomcc
Avatar
246 posts
Thanks for both of your help - got it working now. I'm aiming for it to be finished by the end of summer.
Log in to reply
Convdata error 22/07/2013 at 18:22 #47477
guidomcc
Avatar
246 posts
When I attempted to convert them back, it crashed and wiped both. :/
I do have a backup, but I now cannot convert this.

Convdata.exe -cR "path to text file" "path to wtt"

Does ConvData need an existing WTT file, a blank WTT file or a non-existant WTT file to work with?

Log in to reply
Convdata error 22/07/2013 at 18:29 #47478
Sacro
Avatar
1171 posts
I've quite happily overwritten existing WTT files. Does it print any info?
Log in to reply
Convdata error 23/07/2013 at 12:34 #47494
clive
Avatar
2736 posts
" said:
When I attempted to convert them back, it crashed and wiped both. :/
ConvData opens the first argument read-only, so any crash will not alter it.

Quote:

I do have a backup, but I now cannot convert this.
What happens when you try?

Quote:

Convdata.exe -cR "path to text file" "path to wtt"

Does ConvData need an existing WTT file, a blank WTT file or a non-existant WTT file to work with?
Any of those. It opens the first file argument read-only, and the second write-only. This has the effect of creating the file if it's not there, and wiping out any existing contents.

I'm not sure what you're doing wrong, but I've never had any problems like the ones you describe.

Log in to reply
Convdata error 23/07/2013 at 12:56 #47495
clive
Avatar
2736 posts
I don't know where 1633496 comes from. The ConvData code definitely only returns 0 or 1.
Log in to reply
Convdata error 23/07/2013 at 14:07 #47496
Sacro
Avatar
1171 posts
" said:
I don't know where 1633496 comes from. The ConvData code definitely only returns 0 or 1.
I think that's a wonderful side-effect of calling it from within SimSig

Log in to reply