NewGRF FAQ

From OpenTTD
(Difference between revisions)
Jump to: navigation, search
m (Added Newindustries)
m (I cannot change NewGRFs in my game, why?)
 
(25 intermediate revisions by 16 users not shown)
Line 1: Line 1:
{{FAQmenu}}
+
{{Other_languages
 +
|en=NewGRF FAQ
 +
|ca=Preguntes més freqüents sobre NewGRF
 +
|es=Preguntas frecuentes sobre NewGRF
 +
|fr=FAQ NewGRF
 +
|ru=ЧЗВ NewGRF
 +
|sr=Najčešća pitanja o alternativnoj grafici (NewGRF)
 +
|language_page=en
 +
}}{{-}}{{FAQmenu}}
 +
{{Feature|0.4}}
  
__NOTOC__
 
 
Answers to frequently asked questions and problems with replacement graphics in OpenTTD.  For more information on NewGRF, including advanced options, see [[Newgrf]].
 
Answers to frequently asked questions and problems with replacement graphics in OpenTTD.  For more information on NewGRF, including advanced options, see [[Newgrf]].
  
 
===How do I get different graphics into my OpenTTD? (installation)===
 
===How do I get different graphics into my OpenTTD? (installation)===
 +
See the section on how to play with [[NewGRF]].
  
OpenTTD uses special files called GRF (aka NewGRF) files to override the game's default graphics.  These files can also be used to change the stats and behaviors of various objects in the game, including the speed of vehicles, the in-game sound effects, and the date in which vehicles are introduced, amongst many more examples.
+
===Where can I find .GRF files for download?===
  
The process by which you integrate these files into your game depends on which version of OpenTTD you are using.
+
A large selection of NewGRFs can be downloaded directly in OpenTTD, accessible from the [[Online content]] button in the main menu. These NewGRFs can also be downloaded manually from the [http://bananas.openttd.org/ BaNaNaS website] in case you experience troubles with the in-game download feature.
  
The first step for all users is to copy the grf files of your choosing into the /data directory of your OpenTTD installation.  After you've copied your files, you will need to know your OpenTTD version number to continue.
+
A lot of, mostly older, NewGRFs are however not available via [[Online content]] or the BaNaNaS website. Below is a list of alternative resources to find more NewGRFs.
  
For OSX users the data folder is not the same data directory that is in the package contents (where you put the sample.cat and other grf files), you will need to create a new folder called data in the same folder that contains openttd.cfg.
+
* [http://grfcrawler.tt-forums.net/ GRFCrawler]
 +
* [http://www.tt-forums.net/viewforum.php?f=67 TT-Forums.net Graphic Releases forum]
 +
* [[GRF_List|Non-comprehensive list of NewGRF files]]
 +
* [[Links#Graphics_Links]]
  
 +
===Why is it that not all NewGRFs are available via the Online content?===
  
'''OpenTTD version 0.5.0 and later'''
+
Only authors of NewGRFs are allowed to add them to the [[Online content]]. Many NewGRFs developed before the beginning of 2009 are not actively maintained any more because the authors lost interest in OpenTTD. For those NewGRFs there is basically nobody around who is allowed to add the NewGRF to the Online content.
# Start OpenTTD, then start a new game or load a saved game.
+
# In the Options menu, select [[NewGRF Settings]].
+
# The NewGRF settings window will list all currently installed NewGRF files.  To add additional files, click Add.
+
# A new window will open, listing all .grf files currently living in the /data/ directory.  If you have forgotten to place a downloaded .grf into your /data/ directory, move the file into the directory, and then click Rescan files.
+
# Select the .grf files you wish to install, then click Add to selection.
+
# In the original NewGRF settings window, you can now Remove any grf files you don’t wish to use,  or change the order in which your grf files are loaded (if two or more grf files have the same feature(s), the settings of later files take precedence over those listed earlier).
+
# When you are done, click Apply Changes.
+
  
 +
If you encounter a NewGRF that is unavailable via the Online content, your best bet to get it added is to try and contact (one of) the author(s) and request the NewGRF to be added.
  
'''OpenTTD versions prior to 0.5.0'''
+
===I’ve loaded the grf files into OpenTTD and loaded my saved game, but the changes are not applied. How come?===
<ol><li>In the OpenTTD root directory, open the openttd.cfg file in notepad or other text editing application
+
<li>Go to the end of the file and enter the following:
+
  
<code>
+
The [[NewGRF Settings]] you configured from the Main Menu only apply to new (random) games. NewGRFs used in saved games and scenarios are stored in those files. It is generaly a bad idea to change NewGRFs in a saved game or scenario, hence the ability to do so has been disabled since OpenTTD 1.1. You can find more information on this subject in the next FAQ entry.
      [newgrf]
+
 
      firstset.grf
+
===I cannot change NewGRFs in my game, why?===
      secondset.grf
+
[[Image:Newgrf warning.png|frame|right|Warning when changing NewGRF Settings in a running game.]]
      thirdset.grf
+
 
</code>
+
In version 1.1, changing NewGRFs in-game has been disabled. Ever since NewGRFs came to OpenTTD, changing them in existing saved games and scenarios was essentially broken. This has finally been fixed by disallowing changing NewGRFs in existing saved games (scenarios are technically saved games as well, so the limitation also applies to scenarios in the scenario editor). Please see [http://www.tt-forums.net/viewtopic.php?f=29&t=53881 this topic at tt-forums] for reasons why it is generally a bad idea to change NewGRFs in existing saved games and scenarios.
where “firstset.grf
+
 
 +
The reason behind this change is that too many people ignored the warning in the red error window, and complained about crashes, or problems with vehicles, industries, etc. after modifying the NewGRF Settings in a saved game.
 +
 
 +
For scenario developers, a configuration option exists to enable scenario developer tools, which permit changing grfs in-game (for debugging and testing). This option (scenario_developer) is only available in [[openttd.cfg]] or the [[console]]. If you decide to change this setting, please take time to actually read the warning message when presented. Also know that if your scenario or saved game gets messed up, the only solution is to start from scratch, or restore from a backup if you have one.
 +
 
 +
===I’ve loaded a vehicle NewGRF into my saved game, but none of the new vehicle graphics I loaded appear. How come?===
 +
 
 +
You didn't care about the big (well, not that big) red warning message, did you? Anyways, don't get angry if weird things happen, but the least you can try to get it to work is the following:
 +
 
 +
# Open the OpenTTD console by hitting the ` key (key to the left of the "1" on most keyboards).
 +
# Type in “resetengines" followed by Enter.
 +
 
 +
Note that even after typing “resetengines", your pre-existing vehicles will still be of the old type.  However, you should now be able to build the new types of vehicles from any of your depots.
 +
 
 +
===A .grf file I downloaded causes errors, or keeps OpenTTD from running altogether.  Why?===
 +
 
 +
NewGRF support has improved dramatically over the past few years. Nowadays, there are hardly any NewGRFs that don't work with OpenTTD. In case you encounter a NewGRF that doesn't work with OpenTTD, you should first make sure that you are actually using the [http://www.openttd.org/en/download-stable latest stable release] (or at your option, the [http://www.openttd.org/en/download-trunk latest nightly release]).
 +
 
 +
In case the NewGRF of your choice still doesn't work, you are most likely to find more information in the NewGRF's topic at [http://www.tt-forums.net/viewforum.php?f=66 TT-Forums]
 +
 
 +
Unfortunately, there is no way of knowing ahead of time which .grf files will work with OpenTTD and which will not.  The only way to tell is to install the .grf and begin playing.
 +
 
 +
* [[GRF List|List of known OpenTTD-compatible GRF files]]
 +
 
 +
 
 +
 
 +
{{Navbox NewGRF}}
 +
 
 +
[[Category:NewGRF]]
 +
[[Category:FAQs]]

Latest revision as of 09:06, 4 August 2017



Feature availability

<1.0

1.0-1.2

1.3

1.4

1.5-1.7

Nightly

Answers to frequently asked questions and problems with replacement graphics in OpenTTD. For more information on NewGRF, including advanced options, see Newgrf.

Contents

[edit] How do I get different graphics into my OpenTTD? (installation)

See the section on how to play with NewGRF.

[edit] Where can I find .GRF files for download?

A large selection of NewGRFs can be downloaded directly in OpenTTD, accessible from the Online content button in the main menu. These NewGRFs can also be downloaded manually from the BaNaNaS website in case you experience troubles with the in-game download feature.

A lot of, mostly older, NewGRFs are however not available via Online content or the BaNaNaS website. Below is a list of alternative resources to find more NewGRFs.

[edit] Why is it that not all NewGRFs are available via the Online content?

Only authors of NewGRFs are allowed to add them to the Online content. Many NewGRFs developed before the beginning of 2009 are not actively maintained any more because the authors lost interest in OpenTTD. For those NewGRFs there is basically nobody around who is allowed to add the NewGRF to the Online content.

If you encounter a NewGRF that is unavailable via the Online content, your best bet to get it added is to try and contact (one of) the author(s) and request the NewGRF to be added.

[edit] I’ve loaded the grf files into OpenTTD and loaded my saved game, but the changes are not applied. How come?

The NewGRF Settings you configured from the Main Menu only apply to new (random) games. NewGRFs used in saved games and scenarios are stored in those files. It is generaly a bad idea to change NewGRFs in a saved game or scenario, hence the ability to do so has been disabled since OpenTTD 1.1. You can find more information on this subject in the next FAQ entry.

[edit] I cannot change NewGRFs in my game, why?

Warning when changing NewGRF Settings in a running game.

In version 1.1, changing NewGRFs in-game has been disabled. Ever since NewGRFs came to OpenTTD, changing them in existing saved games and scenarios was essentially broken. This has finally been fixed by disallowing changing NewGRFs in existing saved games (scenarios are technically saved games as well, so the limitation also applies to scenarios in the scenario editor). Please see this topic at tt-forums for reasons why it is generally a bad idea to change NewGRFs in existing saved games and scenarios.

The reason behind this change is that too many people ignored the warning in the red error window, and complained about crashes, or problems with vehicles, industries, etc. after modifying the NewGRF Settings in a saved game.

For scenario developers, a configuration option exists to enable scenario developer tools, which permit changing grfs in-game (for debugging and testing). This option (scenario_developer) is only available in openttd.cfg or the console. If you decide to change this setting, please take time to actually read the warning message when presented. Also know that if your scenario or saved game gets messed up, the only solution is to start from scratch, or restore from a backup if you have one.

[edit] I’ve loaded a vehicle NewGRF into my saved game, but none of the new vehicle graphics I loaded appear. How come?

You didn't care about the big (well, not that big) red warning message, did you? Anyways, don't get angry if weird things happen, but the least you can try to get it to work is the following:

  1. Open the OpenTTD console by hitting the ` key (key to the left of the "1" on most keyboards).
  2. Type in “resetengines" followed by Enter.

Note that even after typing “resetengines", your pre-existing vehicles will still be of the old type. However, you should now be able to build the new types of vehicles from any of your depots.

[edit] A .grf file I downloaded causes errors, or keeps OpenTTD from running altogether. Why?

NewGRF support has improved dramatically over the past few years. Nowadays, there are hardly any NewGRFs that don't work with OpenTTD. In case you encounter a NewGRF that doesn't work with OpenTTD, you should first make sure that you are actually using the latest stable release (or at your option, the latest nightly release).

In case the NewGRF of your choice still doesn't work, you are most likely to find more information in the NewGRF's topic at TT-Forums

Unfortunately, there is no way of knowing ahead of time which .grf files will work with OpenTTD and which will not. The only way to tell is to install the .grf and begin playing.



Personal tools