Openttd.cfg

From OpenTTD
Jump to: navigation, search


openttd.cfg is the configuration file which OpenTTD uses to store all its settings. It uses the ini-file structure that is a common store of configuration data in many applications. The file has all the variables organised into groups to make it easier to edit.

It is located in:

Win XP : "C:\Documents and Settings\<username>\My Documents\OpenTTD"
Vista/7: "C:\Users\<username>\Documents\OpenTTD"
Linux  : "~/.openttd" or "~/.config/openttd/openttd.cfg"
Mac OS X  : "~/Documents/OpenTTD"
Any OS  : OpenTTD installation folder (must be created after install, before first run)

You can edit the file using any text editor (save it as ANSI). Each time you quit OpenTTD, it writes any changes to the file.

Contents

[misc]

[difficulty]

[game_creation]

Old or custom settings:

[vehicle]

Old settings:

[construction]

Old settings:

[station]

Old Settings:

[economy]

Old settings:

[linkgraph]

[pf]

[order]

Old settings:

[script]

[ai]

Old Settings:

[locale]

[gui]

Old settings:

[sound]

[music]

[news_display]

[network]

Old settings:

[currency]

[company]

[server_bind_addresses]

[servers]

[bans]

[newgrf]

[newgrf-static]

[ai_players]]

[game_scripts]

[version]

[win32]

Personal tools