News:

Do you need help?
Simutrans Wiki Manual can help you to play and extend Simutrans. In 9 languages.

Simutrans crash

Started by jindrich.houska, December 07, 2011, 08:37:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jindrich.houska

Hi,

I have simutrans 111.0 r4911, pak128 2.0.0, pack128 compatibility 2.0.0 (not unzipped all files, just those needed). I saved game in this version and then I tried to load it. During the load Simutrans crashes. Where can I post the save game (it has almost 3MB)?

Thank you for your help.

Isaac Eiland-Hall

I have recently begun to recommend http://ge.tt/ for files, because you can share the download link and it will directly give the file - no hassle, no ads, or anything.

Dwachs

A screenshot of the crash would be also helpful. Or any other hint about the cause. Is there a 'Fatal Error' message? If yes then post it.
Parsley, sage, rosemary, and maggikraut.

jindrich.houska

Thanks for your suggestion.

Saved game can be downloaded here: http://api2.ge.tt/0/8w6AVtA/0/blob/download

TurfIt

Savegame appears corrupted. Instead of tram track in the cities, I see 'low quality track' running up the roads which creates a road/rail crossing every tile. Get a loop of crossings and the game logic crashes. I see no point changing the logic to handle this as it shouldn't happen. Exactly how this occurred will likely remain a mystery...

Best I can do is offer a possibly fixed save: http://api2.ge.tt/0/8kAPvtA/0/blob/download
Tram track put back in place, no guarantees there isn't more corruption lurking.

Fifty

Quote from: TurfIt on December 08, 2011, 01:52:18 AM
Savegame appears corrupted. Instead of tram track in the cities, I see 'low quality track' running up the roads which creates a road/rail crossing every tile. Get a loop of crossings and the game logic crashes. I see no point changing the logic to handle this as it shouldn't happen. Exactly how this occurred will likely remain a mystery...

Just a note: I have seen how this behavior occurs. It occurred with the replacement of tram tracks in pak 128. When loading a save from an older version, the old 80 km/h tracks strangely become low quality track with endless crossings. It caused a lot of problems, but did not corrupt my savegame (using pak 128 r571, not 2.0.0). As the old 50 km/h tracks converted correctly, I assume there is a way to fix this problem by fixing pak 128.
Why do we park on the driveway and drive on the parkway?

Dwachs

#6
Does it help if there is a line-break at the very last line of compat.tab ?

Edit: I can imagine what happened: first old savegame was loaded, due to bug (no newline at end of compat.tab - which means that one of the tram track replacement rules was not read), tram track was not correctly replaced. Game was saved. This is the savegame at hand, which is not loadable anymore.
Parsley, sage, rosemary, and maggikraut.

VS

#7
Okay... what are the precise requirements for end of this file?

edit: I committed two empty lines at end, hopefully that is good enough? (Same as pak64)

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Dwachs

There must be one empty line at the end of all language and compat.tab files. I fixed the bug now, so this requirement is 'only' for all previous releases.
Parsley, sage, rosemary, and maggikraut.

jindrich.houska

Thank you for your help. Now I can load the fixed saved game. It would be a disaster if I couldn't load it - I play this game for years.

Dwachs was right - I saved the game in older versions of Simutrans (pak128 < 2.0.0), then I loaded it in last version and then I saved it and again loaded.

Thank you,
Jindra