The International Simutrans Forum

Community => Simutrans Help Center => Topic started by: Gresh on December 13, 2009, 06:52:25 PM

Title: Fatal Error Loading Game Files
Post by: Gresh on December 13, 2009, 06:52:25 PM
I am running Version 102 Nightly May 3 2009 under the Ubuntu Linix distro. The game is great but all saved games and scenario games will not load. They come up with a Fatal Error: planquadrat_t:rdwr{} Error loading Game, unknown ground type '-1'

Has anyoneseen and resolved this problem?
Title: Re: Fatal Error Loading Game Files
Post by: Colin on December 13, 2009, 06:58:08 PM
Quote from: Gresh on December 13, 2009, 06:52:25 PM
I am running Version 102 Nightly May 3 2009 under the Ubuntu Linix distro. The game is great but all saved games and scenario games will not load. They come up with a Fatal Error: planquadrat_t:rdwr{} Error loading Game, unknown ground type '-1'

Has anyoneseen and resolved this problem?

You need to give more info, as in, what PAK are you using 64 or 128 or other? also the revision number as in, r2928 or previous?
Title: Re: Fatal Error Loading Game Files
Post by: prissi on December 13, 2009, 07:58:04 PM
Update to 102.2.1 should fix those, if they are fixable at all.
Title: Re: Fatal Error Loading Game Files
Post by: Gresh on December 14, 2009, 08:56:21 PM
Its version 102.0-1 according to the Ubuntu installer. Synaptic also gives that as the latest version. I will have a look a later stable version if available.

I have no Idea which Pak the Ubuntu software centre downloads?

Thanks for your reply.
Title: Re: Fatal Error Loading Game Files
Post by: VS on December 14, 2009, 09:20:03 PM
I suppose it's pak64 since that is the one supported as official by developers of Simutrans the program. (Sorry, windows guy here - not much help :-( )
Title: Re: Fatal Error Loading Game Files
Post by: Gresh on December 14, 2009, 09:55:48 PM
From the documentation it looks like Pak 64 as standard. I did the following but not much joy.

1. Uninstalled the Unbuntu installed version.
2. Chose the Linux download on the Simutrans web site.
3. It automatically tookme to Sourceforge and it downloaded a .zip file (it has a Pak directory within the folder structure)
4. Followed Wikki instructions and extracted the files into directory of my choice (under my user)
5. As instructed ran simutrans -freeplay from the terminal screen
6. Linux couldn't find the game so suggest I 'sudo Apt Get' Simutrans
7. When I did this promptly installed the older 102 0-1 version as Synaptic would. Back to square one  ???

Now re-uninstalled 102 0-1. I must be missing a step somewhere?


Title: Re: Fatal Error Loading Game Files
Post by: prissi on December 14, 2009, 10:03:18 PM
To start a program from current location, type "./simutrans" The current path is not part of where programs are located under Ubuntu. Furthermore please unstall simutrans package from Ubuntu. Depends on how you got them, "sudo apt unistall simutrans" might do the trick.

[offtopic]
sudo everything under unbuntu is like using admin right under windows.
[/offtopic]
Title: Re: Fatal Error Loading Game Files
Post by: Gresh on December 15, 2009, 09:51:15 PM
Thanks for the tip.

Simutrans from Ubuntu Software centre has been uninstalled.

The Zip file from simutrans.com site has been extracted and the simutrans folder is present in the user directories that are available to my user.

Ran "./simutrans" and "sudo ./simutrans" at that location and just got "command not found"

The .zip file off the simutrans.com is actually for Linux ? I Noticed that if I double click on the simutrans executable Ubuntu asks to run the file under Wine.

Thanks
Title: Re: Fatal Error Loading Game Files
Post by: vilvoh on December 15, 2009, 10:20:21 PM
perhaps you downloaded the windows version. The linux version zip file is simulinux-102-2-1.zip
Title: Re: Fatal Error Loading Game Files
Post by: Gresh on December 16, 2009, 09:00:00 AM
That's the file. So the file is right. I must be doing something wrong. I will go through the Wikki instructions again.Third time lucky.
Title: Re: Fatal Error Loading Game Files
Post by: z9999+ on December 16, 2009, 09:14:43 AM
Sourceforge version doesn't have executable permission.
You may need to set it manually.
Title: Re: Fatal Error Loading Game Files
Post by: Ckrow on December 18, 2009, 09:31:18 AM
Having the similar problems to Gresh. I have definately got the right file from sourceforge (simulinux102-2-1) with pak 64. I have given the simutrans file permission to execute.

When I try to run the program from the console I get a message telling me simutrans is not installed. If I double click on the executable file nothing happens.

The wiki mentions SDL and SDL_mixer may need to be installed separately, Can anyone say anything more specific on this? (what do they do and where to they need installing?) im afraid im new to linux and am not entirely sure what im doing half the time.


Title: Re: Fatal Error Loading Game Files
Post by: Dwachs on December 18, 2009, 10:04:40 AM
SDL and SDL_mixer are libraries used for graphics and sound.

Please copy the output of the console to the forum, so we see the error message and are able to help.
Title: Re: Fatal Error Loading Game Files
Post by: Ckrow on December 18, 2009, 10:16:16 AM
After rather a lot of faffing around (experienced people stop laughing) this fixed my problem:

alex@alex-laptop:~/Games/Simutransfolder/simutrans$ sudo apt-get install libsdl-mixer-1.2


Simutrans runs fine now.
Title: Re: Fatal Error Loading Game Files
Post by: Dwachs on December 18, 2009, 11:36:29 AM
fine :)