Skip to main content
Topic: Error Starting Simutrans with pak128.Britian (Read 4203 times) previous topic - next topic

Error Starting Simutrans with pak128.Britian

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


Re: Error Starting Simutrans with pak128.Britian

Reply #2
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  :)
Parsley, sage, rosemary, and maggikraut.

Re: Error Starting Simutrans with pak128.Britian

Reply #3
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

Re: Error Starting Simutrans with pak128.Britian

Reply #4
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!)

Re: Error Starting Simutrans with pak128.Britian

Reply #5
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

Re: Error Starting Simutrans with pak128.Britian

Reply #6
I'm not sure why demo.sve should be causing problems?

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 which should no longer have this particular issue.  It also includes a package for pak128.Britain.

Ansgar

Re: Error Starting Simutrans with pak128.Britian

Reply #7
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.

Re: Error Starting Simutrans with pak128.Britian

Reply #8
So am I right in understanding this is an ubuntu-specific issue because it comes with an old (buggy) version of simutrans?

Yes.  (Debian is fine: it has an even older version in its stable release that shouldn't be affected by this bug ;) )

 

[Bug] crash on load game

Reply #9
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.