Upgrade the Simutrans executable file in Ubuntu July 16, 2010, 06:19:54 pm 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 Quote Selected
Re: Upgrade the Simutrans executable file in Ubuntu Reply #1 – July 16, 2010, 06:31:22 pm 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... Quote Selected
Re: Upgrade the Simutrans executable file in Ubuntu Reply #2 – July 16, 2010, 06:42:40 pm I want to update manually.Regards,venkat Quote Selected
Re: Upgrade the Simutrans executable file in Ubuntu Reply #3 – July 16, 2010, 07:04:14 pm 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? Quote Selected
Re: Upgrade the Simutrans executable file in Ubuntu Reply #4 – July 17, 2010, 05:08:20 pm 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. Quote Selected
Re: Upgrade the Simutrans executable file in Ubuntu Reply #5 – July 17, 2010, 05:21:59 pm Did you get any error message when you tried to run the game? Quote Selected
Re: Upgrade the Simutrans executable file in Ubuntu Reply #6 – July 17, 2010, 05:46:19 pm No, it just did not start.Venkat Quote Selected
Re: Upgrade the Simutrans executable file in Ubuntu Reply #7 – July 17, 2010, 06:03:32 pm Did you overwrite only the binary? you would probably need to overwrite the rest of folders (config, text, etc...) Quote Selected
Re: Upgrade the Simutrans executable file in Ubuntu Reply #8 – July 17, 2010, 06:11:00 pm 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 Quote Selected
Re: Upgrade the Simutrans executable file in Ubuntu Reply #9 – July 17, 2010, 06:16:10 pm To upgrade or to overwrite the current installed version? Quote Selected
Re: Upgrade the Simutrans executable file in Ubuntu Reply #10 – July 17, 2010, 06:26:47 pm To upgrade as a whole. So what should I do1. Replace existing binary file2. Replace the config, music, font, pak, and text folders3. Change the permissions and owners appropriatelyWould this work? Any way I am going to try the same now. Any suggestions welcome.Regards,Venkat Quote Selected
Re: Upgrade the Simutrans executable file in Ubuntu Reply #11 – July 17, 2010, 06:58:58 pm 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 -nomidisimutrans: error while loading shared libraries: libSDL_mixer-1.2.so.0: cannot open shared object file: No such file or directoryThis is when I extract the zip file and try starting the game from the extracted location.Regards,Venkat. Quote Selected
Re: Upgrade the Simutrans executable file in Ubuntu Reply #12 – July 17, 2010, 07:13:44 pm Quote from: Venkat – on July 17, 2010, 06:58:58 pmTried 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. Quote Selected
Re: Upgrade the Simutrans executable file in Ubuntu Reply #13 – July 17, 2010, 07:24:50 pm 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 Quote Selected
Re: Upgrade the Simutrans executable file in Ubuntu Reply #14 – July 18, 2010, 03:32:19 pm 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 Quote Selected