Linux dedicated server - NewGRF-problem

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
miolin
Engineer
Engineer
Posts: 3
Joined: 30 Apr 2010 06:29

Linux dedicated server - NewGRF-problem

Post 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
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Linux dedicated server - NewGRF-problem

Post 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
miolin
Engineer
Engineer
Posts: 3
Joined: 30 Apr 2010 06:29

Re: Linux dedicated server - NewGRF-problem

Post 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.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Linux dedicated server - NewGRF-problem

Post 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 = 
User avatar
XeryusTC
Tycoon
Tycoon
Posts: 15415
Joined: 02 May 2005 11:05
Skype: XeryusTC
Location: localhost

Re: Linux dedicated server - NewGRF-problem

Post 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.
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)
Image
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
Image Image Image Image Image Image Image
miolin
Engineer
Engineer
Posts: 3
Joined: 30 Apr 2010 06:29

Re: Linux dedicated server - NewGRF-problem

Post 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! ;)
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 13 guests