|
@@ -273,25 +273,26 @@ data directory.
|
|
|
|
|
|
The main OpenTTD directories can be found in various locations, depending on
|
|
|
your operating system:
|
|
|
1. The current working directory (from where you started OpenTTD)
|
|
|
For non-Windows operating systems OpenTTD will not scan for files in this
|
|
|
directory if it is your personal directory, i.e. '~/', or when it is the
|
|
|
root directory, i.e. '/'.
|
|
|
2. Your personal directory
|
|
|
Windows: C:\My Documents\OpenTTD (95, 98, ME)
|
|
|
C:\Documents and Settings\<username>\My Documents\OpenTTD (2000, XP)
|
|
|
C:\Users\<username>\Documents\OpenTTD (Vista, 7)
|
|
|
Mac OSX: ~/Documents/OpenTTD
|
|
|
Linux: ~/.openttd
|
|
|
Linux: $XDG_DATA_HOME/openttd which is usually ~/.local/share/openttd when
|
|
|
built with XDG base directory support, otherwise ~/.openttd
|
|
|
3. The shared directory
|
|
|
Windows: C:\Documents and Settings\All Users\Shared Documents\OpenTTD (2000, XP)
|
|
|
C:\Users\Public\Documents\OpenTTD (Vista, 7)
|
|
|
Mac OSX: /Library/Application Support/OpenTTD
|
|
|
Linux: not available
|
|
|
4. The binary directory (where the OpenTTD executable is)
|
|
|
Windows: C:\Program Files\OpenTTD
|
|
|
Linux: /usr/games
|
|
|
5. The installation directory (Linux only)
|
|
|
Linux: /usr/share/games/openttd
|
|
|
6. The application bundle (Mac OSX only)
|
|
|
It includes the OpenTTD files (grf+lng) and it will work as long as they
|
|
@@ -313,28 +314,31 @@ chosen main OpenTTD directory:
|
|
|
Savegames: save
|
|
|
Automatic Savegames: save/autosave
|
|
|
Scenarios: scenario
|
|
|
|
|
|
The (automatically created) directory content_download is for OpenTTD's internal
|
|
|
use and no files should be added to it or its subdirectories manually.
|
|
|
|
|
|
Notes:
|
|
|
- Linux in the previous list means .deb, but most paths should be similar for
|
|
|
others.
|
|
|
- The previous search order is also used for NewGRFs and openttd.cfg.
|
|
|
- If openttd.cfg is not found, then it will be created using the 2, 4, 1, 3,
|
|
|
5 order.
|
|
|
5 order. When built with XDG base directory support, openttd.cfg will be
|
|
|
created in $XDG_CONFIG_HOME/openttd which is usually ~/.config/openttd.
|
|
|
- Savegames will be relative to the config file only if there is no save/
|
|
|
directory in paths with higher priority than the config file path, but
|
|
|
autosaves and screenshots will always be relative to the config file.
|
|
|
Unless the configuration file is in $XDG_CONFIG_HOME/openttd, then all
|
|
|
other files will be saved under $XDG_DATA_HOME/openttd.
|
|
|
|
|
|
The preferred setup:
|
|
|
Place 3rd party files in shared directory (or in personal directory if you do
|
|
|
not have write access on shared directory) and have your openttd.cfg config
|
|
|
file in personal directory (where the game will then also place savegames and
|
|
|
screenshots).
|
|
|
|
|
|
4.3) Portable installations (portable media)
|
|
|
---- ---------------------------------------
|
|
|
You can install OpenTTD on external media so you can take it with you, i.e.
|
|
|
using a USB key, or a USB HDD, etc.
|
|
|
Create a directory where you shall store the game in (i.e. OpenTTD/).
|