The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: wipi35 on April 06, 2009, 11:15:33 AM

Title: Unable to reload savegame
Post by: wipi35 on April 06, 2009, 11:15:33 AM
After saving a game I can't load it anymore because of the following fatal error message.
Using R2391 with pak128/535
Title: Re: Unable to reload savegame
Post by: jamespetts on April 06, 2009, 11:32:14 AM
This error is common with either corrupted saved game files, or saved game files from a later version attempting to be loaded from a previous version.
Title: Re: Unable to reload savegame
Post by: wipi35 on April 06, 2009, 03:17:50 PM
Quote from: jamespetts on April 06, 2009, 11:32:14 AM
This error is common with either corrupted saved game files........
How can one prevent a file to become corrupted?

Quote from: jamespetts on April 06, 2009, 11:32:14 AM
.... or saved game files from a later version attempting to be loaded from a previous version.
Only the stated version (R2391/P128_535) was used.
Title: Re: Unable to reload savegame
Post by: prissi on April 06, 2009, 03:47:16 PM
I can become corrupt by either switching a bit on harddisk or by switching a bit in the meory before it was written onto the harddisk or by an error of the map during saving which wrote the wrong informations. (The latter can be prevented by XML-Savegames, which have a better chance of debugging and recovering lost maps but are twice as large. Switch it on in your simuconf.tab).
Title: Re: Unable to reload savegame
Post by: wipi35 on April 06, 2009, 05:03:36 PM
Quote from: prissi on April 06, 2009, 03:47:16 PM
Switch it on in your simuconf.tab).

I'd like to but cannot find where. I found only one entry concerning saving:

# "binary" means uncompressed, "zipped" means compressed
saveformat = zipped
Title: Re: Unable to reload savegame
Post by: VS on April 06, 2009, 06:15:05 PM
I think it is saveformat=xml
Title: Re: Unable to reload savegame
Post by: z9999 on April 06, 2009, 06:36:36 PM
BTW, the problem is happening at very first position of the savegame file.
On your screenshot, reading city is already fault.
Error log file should have more detail information about it.
Title: Re: Unable to reload savegame
Post by: Dwachs on March 16, 2012, 06:33:30 PM
moving this to incorporated as the thread opener did not respond, assuming it is fixed