Skip to main content
Topic: Upgrade the Simutrans executable file in Ubuntu (Read 53312 times) previous topic - next topic

Upgrade the Simutrans executable file in Ubuntu

Hello,

Could some one guide me on how to upgrade the Ubuntu installed Simutrans (102 nightly version May 2009) to the latest version (102.2.2)

Regards,
Venkat

Re: Upgrade the Simutrans executable file in Ubuntu

Reply #1
Do you want to upgrade manually or using a package manager like synaptic? I don't know if the latest version is available at Ubuntu repositories...

Re: Upgrade the Simutrans executable file in Ubuntu

Reply #2
I want to update manually.

Regards,
venkat

Re: Upgrade the Simutrans executable file in Ubuntu

Reply #3
If you were using a nightly, I would recommend a clean install, as the nightlies are development versions, there may be some incompatibilities with the savegames.

Anyway, to upgrade manually, just download the latest stable from Sourceforge and unzip the files at the current simutrans directory. That will overwrite the previous version installed and it should work. Where is the simutrans directory placed at your pc right now? does it contain the binary and the pakset folders at the same place?

Re: Upgrade the Simutrans executable file in Ubuntu

Reply #4
Hi,

In my case, I installed Simutrans using Ubuntu's "apt-get" package. Therefore, I am not very clear where and how the game was installed. Now, downloaded and extracted the latest version of Simutrans - Simulinux-102-2-2.zip. From this folder, I try running simutrans and nothing happens.

So, I searched the file system for any occurrence of 'simutrans' and noticed that the game is installed in the /usr/games folder and the pack in /usr/share/games folder. I copied the latest copy of the simutrans executable over the file in the /usr/games folder and changed the permissions and owner appropriately. This also did not work.

So what should I do?

Regards,
Venkat.

Re: Upgrade the Simutrans executable file in Ubuntu

Reply #5
Did you get any error message when you tried to run the game?

Re: Upgrade the Simutrans executable file in Ubuntu

Reply #6
No, it just did not start.

Venkat

Re: Upgrade the Simutrans executable file in Ubuntu

Reply #7
Did you overwrite only the binary? you would probably need to overwrite the rest of folders (config, text, etc...)

Re: Upgrade the Simutrans executable file in Ubuntu

Reply #8
I only over wrote the binary as that was the only file in that directory.

Vilvoh, in you opinion, what would be the best way to do so?

Regards,
Venkat

Re: Upgrade the Simutrans executable file in Ubuntu

Reply #9
To upgrade or to overwrite the current installed version?

Re: Upgrade the Simutrans executable file in Ubuntu

Reply #10
To upgrade as a whole. So what should I do

1. Replace existing binary file
2. Replace the config, music, font, pak, and text folders
3. Change the permissions and owners appropriately

Would this work? Any way I am going to try the same now. Any suggestions welcome.

Regards,
Venkat


Re: Upgrade the Simutrans executable file in Ubuntu

Reply #11
Tried the same. Does not work. Noticed in the simulinux-102-2-2.zip file that the SDL and SLD_Mixer files are not included. Could some one tell me where I can find them.

I tried starting the game with 'simutrans -nomidi' as suggested by the download page and get this output.

~/Desktop/simutrans$ simutrans -nomidi
simutrans: error while loading shared libraries: libSDL_mixer-1.2.so.0: cannot open shared object file: No such file or directory

This is when I extract the zip file and try starting the game from the extracted location.

Regards,
Venkat.

Re: Upgrade the Simutrans executable file in Ubuntu

Reply #12
Tried the same. Does not work. Noticed in the simulinux-102-2-2.zip file that the SDL and SLD_Mixer files are not included. Could some one tell me where I can find them.
Those you should be able to get via Synaptics or apt-get.

 

Re: Upgrade the Simutrans executable file in Ubuntu

Reply #13
Copying the files from the *.zip files to the locations used by the Debian/Ubuntu package will not work (the executable will look for game data in the wrong directory).

If you have version 102.0, I ****ume you use Ubuntu Karmic? In that case there are packages for 102.2.2 available in the karmic-backports repository.  See https://help.ubuntu.com/community/Repositories/Ubuntu#Ubuntu Updates how to enable this repository.  You need to update simutrans, simutrans-pak64 and simutrans-data (which should be included automatically as a dependency).
Later Ubuntu releases (Lucid and Maverick) both include 102.2.2.

In case you want to use the binaries as released in the *.zip files, I think installing them in some other directory (such as a subdirectory of your home directory) might be easier.

Regards,
Ansgar

Re: Upgrade the Simutrans executable file in Ubuntu

Reply #14
Hello everyone,

Thank you all for the prompt reply and help.

As suggested by ansgar, I have included the 'backports' repositories and then then updated the simutrans files. I am now on version 102.2.2.

Regards,
Venkat