Page 1 of 1

Linux dedicated server - NewGRF-problem

Posted: 30 Apr 2010 06:44
by miolin
Hi all,

I'm running a root-server with Ubuntu on the internet.
The OTTD dedicated server works very well. (OTTD v1.0)
Now I wanted to have some new buildings and industry, so I downloaded NewGRF's. OTTD wiki says they are compatible...
But how to install this NewGRF's? What I tried yet:
1. copied the grf's to ~/.openttd/content_download/data
2. copied the grf's to ~/.openttd/data (created the data-directory before)
3. copied the grf's to <install_dir>/data

For all three versions I tried the same settings in openttd.cfg:

[newgrf]
NameOfTheFirst.grf
NameOfTheSecond.grf

But none of this worked. I don't get the newgrf's running on my server.
Please, can anyone help me?

Thanks in advance

Re: Linux dedicated server - NewGRF-problem

Posted: 30 Apr 2010 06:51
by planetmaker
Try it this way:

Code: Select all

[newgrf]
av8_aviators_aircraft_set-1.7/pb_av8w.grf = 
where actually av8_aviators_aircraft_set-1.7.tar is the filename of the tar I downloaded via content download (tar file names are part of the path without their extension). If you use sub-folders to your data or content_download/data dir, you have to give those folder names, too

Re: Linux dedicated server - NewGRF-problem

Posted: 30 Apr 2010 06:56
by miolin
Hi planetmaker,

I do not have any graphical interface for the game on the root-server.
I downloaded zip files and unpacked them. I did not download them via the content download.

Re: Linux dedicated server - NewGRF-problem

Posted: 30 Apr 2010 07:24
by planetmaker
Well... that doesn't change my statement (did you know that you can access the content download also via console?)

You might just be missing the "=":

Code: Select all

ottdc_grfpack/4_infrastructure/totalbridges/total_bridges.grf = 

Re: Linux dedicated server - NewGRF-problem

Posted: 30 Apr 2010 08:03
by XeryusTC
planetmaker wrote:You might just be missing the "=":
In the past OTTD used to add that if it was missing, and I think that that should still be the case.

If you have your newgrfs in ~/.openttd/data then you should put the relative path of the newgrf in the config too. It should load your files then. Maybe it is useful if you could watch the output from OTTD, it will complain that it can't find newgrf files (you might need to start with -d misc=2 IIRC).
Alternatively you can just create a savegame on a client with newgrfs and start a game using that.

Re: Linux dedicated server - NewGRF-problem

Posted: 30 Apr 2010 08:47
by miolin
Thanks planetmaker... I didn't know, that I can download newgrf's with the console. Now I got some grf's running. Thanks A LOT!

to moderator/admin: this thread can be closed! ;)