Hello All
I just installed Simutrans and get a fatal error when loading the pak.
The OS I'm using is Ubuntu 9.10 and the files are stored in ./usr/share/games/simutrans
The error I'm getting is :-
FATAL ERROR: planquadrat_t::rdwr()
Error while loading the game: Unknown ground type '-1'
PRESS ANY KEY
Ive tried the pak.128 and its fine.
Can anyone give me a idea on how to fix this.
Thanks
J
Did you try loading a game? If so, this is probably this bug: https://bugs.launchpad.net/ubuntu/+source/simutrans/+bug/454700
This error only happens when a savegame is loaded.
Maybe you are using an outdated version of simutrans?
Try deleting the demo.sve in the pak128.Britain directory (or renaming to something different than *.sve).
Edit: Ansgar was faster :)
Thanks All
It was the demo.sve file that was the problem, just deleted and all ok.
I didn't have any save games.
Thanks all for your help.
J
I'm not sure why demo.sve should be causing problems? It certainly doesn't on Gentoo Linux with nightlies up to r3055 (the latest I have installed). Any clues? (obviously I don't want to distribute something that causes un-necessary crashes!)
I just found Simutrans on Ubuntu and wanted to give it a go.
Installed Via Software Center.
Then linked to the web site and download the Britian pak.
The permissions in Ubuntu stopped me installing the pak until
I gave permissions on the Usr/Share/Folder.
Thats it. I hope this helps in solving the problem.
The Pak.128 worked fine
J
It's a bug in an older version of Simutrans. Ubuntu (and Debian) usually don't update software after a release, you have to update to a newer release in order to get newer versions of the software. It is still possible to upload bug fixes (at least for severe bugs), but this would require someone to look for the exact change required to fix this bug. As I mostly care about Debian which no longer ships this version, I will probably not do so.
I did make a newer package for simutrans available in an inofficial repository (https://launchpad.net/~pkg-games/+archive/ppa) which should no longer have this particular issue. It also includes a package for pak128.Britain.
Ansgar
So am I right in understanding this is an ubuntu-specific issue because it comes with an old (buggy) version of simutrans? Presumably updating to the latest version of simutrans would solve the problem, in which case this isn't really a pak128.Britain issue...
As far as I understand then, I don't need to worry about including demo.sves in future releases.
Yes. (Debian is fine: it has an even older version in its stable release that shouldn't be affected by this bug ;) )
Any game I save in my version cannot be loaded; I get the message:
FATAL ERROR: planquadrat_t::rdwr()
Error while loading game: Unknown ground type '-1'
Aborting program execution ...
I'm using the version packaged with my Ubuntu, Version 102 Nightly May 3 2009. Rest of the debug trace doesn't say much that looks relevant.
See here, there is already a bug report with this problem:
http://forum.simutrans.com/index.php?topic=4521.0
You should update your simutrans to 102.2.2. You cannot get this with software center. You have to download the software from here:
http://forum.simutrans.com/index.php?topic=4642.0
Topic merged.