running on linux
Moderator: OpenTTD Developers
running on linux
I just installed opensuse 10.2, and trying to get openttd to run on it, I got it to run on a friends computer which has opensuse 10 on it, I've copied all the required files from my windows Dir to the linux machine and downloaded the latest nightly.
On the friends machine I can just change to the Dir and click on the exec file and it runs, but when I try this on openSuse nothing happens, Is it possible there is other library are
missing or something else wrong.
I thought about down loading the linux install but that is a deb file, and suse uses redhats RPM instead.
I could use any help that you could supply.
thanks
On the friends machine I can just change to the Dir and click on the exec file and it runs, but when I try this on openSuse nothing happens, Is it possible there is other library are
missing or something else wrong.
I thought about down loading the linux install but that is a deb file, and suse uses redhats RPM instead.
I could use any help that you could supply.
thanks
Recently, a new version of libexpat.so was released, libexpat.so.1, which is incompatible with the old one, libexpat.so.0. Your version of OpenSuSE appears to have libexpat.so.1, while your friend's has libexpat.so.0, which is why openttd works on his computer and not yours.
You might be able to find an older version of libexpat that you can install at the same time as the one you've got now (don't remove the one you've already got or lots of things in your system, like KDE, will suddenly refuse to run), or maybe you could copy the library from your friend's computer to yours.
Alternatively, it may be easier just to compile openttd on your system.
You might be able to find an older version of libexpat that you can install at the same time as the one you've got now (don't remove the one you've already got or lots of things in your system, like KDE, will suddenly refuse to run), or maybe you could copy the library from your friend's computer to yours.
Alternatively, it may be easier just to compile openttd on your system.

No-one's more important than the earthworm.
Good to now, I'll give that a shot tonight because I'm having the same issue in OpenSuSe...Firestar wrote:Problem solved, for any one else having this problem, libexpat.so.0 is part of the video, I think and you have to install the compat-expat1 package, which I found on the cd, but after that was installed openttd worked.
I don't understand any of this. I ran the RPM I downloade of OpenTTD 0.5.1 and installed all dependencies. But I don't get it where SUSe places the files. I have no clue what so ever of which and where to find the file needed to start Open TTD.
All these install troubles still make me hesistant of switching fo Linux...
All these install troubles still make me hesistant of switching fo Linux...
I have re-installed OpenTTD again and now I even have a menu item added, so I think something might have gone wrong the first time around, now things work under Linux.knedle wrote:Try typing openttd in console and hit enter, if it has been installed without any errors, you can run OpenTTD like that.

Thanks for the help...
Re: running on linux
Bumping this thread for another issue for me.
I've installed Opensuse 10.2 (with all the latest updates) and OpenTTD. However gameplay is not smooth and slows down dramatically. Everything goes shockingly forward and that way I can hardly build tracks unless I pause/ unpasuse the game constantly.
Anyone has any thoughts on why it won't run smooth?
I've installed Opensuse 10.2 (with all the latest updates) and OpenTTD. However gameplay is not smooth and slows down dramatically. Everything goes shockingly forward and that way I can hardly build tracks unless I pause/ unpasuse the game constantly.
Anyone has any thoughts on why it won't run smooth?
Re: running on linux
Disable full animation. If that doesn't fix it, then I don't know what to say.
Re: running on linux
It fixes it for the most part, but things are still not as smooth as under Windows...Desolator wrote:Disable full animation. If that doesn't fix it, then I don't know what to say.
Re: running on linux
Maybe you should install a proper video card driver. And not use music as timidity totally rules when it comes to wasting CPU cycles. Another thing might be that you've got some AI trying to build a system.
Re: running on linux
I have the latest NVidia driver installed.Rubidium wrote:Maybe you should install a proper video card driver.
I only have sound effects, no music. Does timidity has influence on that as well?And not use music as timidity totally rules when it comes to wasting CPU cycles.
Ok, but if I check the system monitor it only uses about 13.5MB resident memory...Another thing might be that you've got some AI trying to build a system.
Re: running on linux
Memory consumption has nothing to do with the amount of "wasted" CPU cycles by the AI.tneo wrote:Ok, but if I check the system monitor it only uses about 13.5MB resident memory...Another thing might be that you've got some AI trying to build a system.
Re: running on linux
Today I've installed Suse 10.3 and installed openttd again. Now everything goes smooth once again. 
Thanks for the help.

Thanks for the help.
Re: running on linux
Side note:
I have found the problem to the shockingness. When Desktop Effects are enabled, OpenTTD is not running smooth, as soon as that is switched off everything goes fine.
I have found the problem to the shockingness. When Desktop Effects are enabled, OpenTTD is not running smooth, as soon as that is switched off everything goes fine.
Re: running on linux
Hi tneo,
Could you tell me where you got the RPM package from?
tryed to locate it at sourceFoge but no result.
Can you tell me where to find it?
And is it possible to let Suse update OpenTTD automatic?
Cheers,
Could you tell me where you got the RPM package from?
tryed to locate it at sourceFoge but no result.
Can you tell me where to find it?
And is it possible to let Suse update OpenTTD automatic?
Cheers,
Who is online
Users browsing this forum: No registered users and 13 guests