Recurring problems with simutrans-experimental.xml April 29, 2010, 02:00:04 am I've now had quite a lot of instances where simutrans-experimental.xml from an older version of the game caused a crash on startup with a newer version, usually due to the p****r complaining that it wasn't seeing what it was looking for.I don't even know where to start debugging this. Perhaps the .xml storage method can be deactivated? It's not human-readable anyway, and the alternative methods of storing files seem to work better. Quote Selected
Re: Recurring problems with simutrans-experimental.xml Reply #1 – April 29, 2010, 09:39:15 am Neroden,this is caused when the format of simutrans-experimental.xml is changed (by changing the load/save routine in einstelgullen_t) without incrementing the version number. It will only happen when upgrading from one commit on the -devel branch to another, and should not affect end-users. This issue (a crash rather than a polite error message with an incompatible settings.xml) is equally present in -Standard, to the best of my knowledge. Quote Selected
Re: Recurring problems with simutrans-experimental.xml Reply #2 – April 30, 2010, 12:11:53 am Quote from: jamespetts – on April 29, 2010, 09:39:15 amNeroden,this is caused when the format of simutrans-experimental.xml is changed (by changing the load/save routine in einstelgullen_t) without incrementing the version number. It will only happen when upgrading from one commit on the -devel branch to another, and should not affect end-users. This issue (a crash rather than a polite error message with an incompatible settings.xml) is equally present in -Standard, to the best of my knowledge.Ah, I see. It's exceedingly irritating as it means I have to reset the "world creation settings" before game start basically every single time I try a new version of the game engine (since the default 256x256 is kind of unpleasant). Quote Selected
Re: Recurring problems with simutrans-experimental.xml Reply #3 – April 30, 2010, 09:24:43 am Yes, I know :-( Actually, not every time that you try a new version - just every time that I change the save game format. One of the perils of being a developer, I suppose. I'm not sure that there's an easy way around this, though - it works for release versions, after all... Quote Selected
Re: Recurring problems with simutrans-experimental.xml Reply #4 – May 01, 2010, 02:22:13 am Quote from: jamespetts – on April 30, 2010, 09:24:43 am I'm not sure that there's an easy way around this, thoughChange the hard-coded defaults to my favored defaults. Quote Selected