build for dedicated server

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
pletiplot
Engineer
Engineer
Posts: 5
Joined: 03 Feb 2005 19:03
Location: Prague
Contact:

build for dedicated server

Post by pletiplot »

I have some linux server and I wanted to make some nice dedicated server with multiple worlds, saving and so on. I downloaded openttd deb package and I tried to install it, but it fails because it needs SDL and some other graphical libraries. But I do not need SDL, because the server will show no graphics. Would be possible to make some package with no SDL, no sounds and graphics and with the really needed package dependencies only.
gigajum
Route Supervisor
Route Supervisor
Posts: 511
Joined: 08 Mar 2006 08:33
Location: Germany

Post by gigajum »

try "./openttd --help" and have a look at the "dedicated" option, this should be what your looking for
User avatar
Brianetta
Tycoon
Tycoon
Posts: 2567
Joined: 15 Oct 2003 22:00
Location: Jarrow, UK
Contact:

Post by Brianetta »

No, he's being blocked by Debian's package dependancy system. Debian believes that OpenTTD depends on SDL, and so won't install one without the other.

pletiplot, you can build the game from source as a dedicated server without SDL. This overcomes the SDL dependancy completely. Unfortunately, I am not aware of the existence of a .deb of this build.
PGP fingerprint: E66A 9D58 AA10 E967 41A6 474E E41D 10AE 082C F3ED
pletiplot
Engineer
Engineer
Posts: 5
Joined: 03 Feb 2005 19:03
Location: Prague
Contact:

Post by pletiplot »

I know how to start dedicated server from standard Open TTD. I just pointed on .deb package, which needs all the grafic stuff. I know, I can compile and create my own .deb package, but I dont have enough time and experience for that. May be in Summer.
User avatar
Brianetta
Tycoon
Tycoon
Posts: 2567
Joined: 15 Oct 2003 22:00
Location: Jarrow, UK
Contact:

Post by Brianetta »

You don't need a .deb package! Really! I don't have one. I don't have an RPM of it, either. I don't have the files spread out in /usr/bin and /usr/share or anything, I just have all the files in a folder in my home directory. If I want to uninstall, I delete that one folder and all its contents.

If you want to use a .deb, you have two choices - build your own (a complete hassle, especially as it's not going to be kept up to date for you) or install SDL and all the other libraries that it depends on.

If you can for a moment ignore the whole packaging thing, just grab the source and build yourself an SDL-free dedicated server. It's so much easier.
PGP fingerprint: E66A 9D58 AA10 E967 41A6 474E E41D 10AE 082C F3ED
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 17 guests