Openttd.cfg
From OpenTTD
| Note When adding content please do not creating dead end pages, at least link them back here like this: <small><<Back to the [[Openttd.cfg]]</small> |
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 : "C:\Users\<username>\Documents\OpenTTD" Linux : "~/.openttd" Mac OSX : "C:\Users\<username>\Documents\OpenTTD"
You can edit the file using any text editor. Each time you quit OpenTTD, it writes any changes to the file.
[edit] Variables
- [misc]
- blitter
- display_opt
- fullscreen = [true | false]
- graphicsset
- invisibility_options
- keyboard
- keyboard_caps
- language = filename.lng
- musicdriver
- news_ticker_sound = [true | false]
- player_face
- resolution = pixels_width, pixels_height
- rightclick_emulate = [true | false]
- savegame_format
- screenshot_format
- sounddriver
- sprite_cache_size
- transparency_options
- transparency_locks
- videodriver
- small_font
- medium_font
- large_font
- small_size
- medium_size
- large_size
- small_aa
- medium_aa
- large_aa
- [music]
- [win32]
- display_hz
- force_full_redraw = [true | false]
- fullscreen_bpp
- window_maximize = [true | false]
- [difficulty]
- competitor_speed = [0 | 1 | 2 | 3 | 4]
- construction_cost = [0 | 1 | 2]
- diff_level = [0 | 1 | 2 | 3]
- disasters = [0 | 1]
- economy = [0 | 1]
- initial_interest = [2 | 3 | 4]
- line_reverse_mode = [0 | 1]
- max_loan = [100000 | 150000 | 200000 | 250000 | 300000 | 350000 | 400000 | 450000 | 500000 ]
- max_no_competitors = [0 <= n <= 14]
- number_industries = [0 | 1 | 2 | 3 | 4]
- number_towns = [0 | 1 | 2 | 3 | 4]
- quantity_sea_lakes = [0 | 1 | 2 | 3]
- subsidy_multiplier = [0 | 1 | 2 | 3]
- terrain_type = [0 | 1 | 2 | 3]
- town_council_tolerance = [0 | 1 | 2]
- vehicle_breakdowns = [0 | 1 | 2]
- vehicle_costs = [0 | 1 | 2]
- [game_creation]
- [vehicle]
- disable_elrails = [true | false]
- dynamic_engines = [true | false]
- extend_vehicle_life
- freight_trains
- mammoth_trains = [true | false]
- max_aircraft
- max_roadveh
- max_ships
- max_trains
- never_expire_vehicles = [true | false]
- plane_speed
- road_side = [left | right]
- servint_aircraft
- servint_ispercent = [true | false]
- servint_roadveh
- servint_ships
- servint_trains
- train_acceleration_model
- wagon_speed_limits = [true | false]
- [construction]
- autoslope = [true | false]
- build_on_slopes = [true | false]
- extra_dynamite = [true | false]
- freeform_edges = [true | false]
- longbridges = [true | false]
- raw_industry_construction
- road_stop_on_competitor_road = [true | false]
- road_stop_on_town_road = [true | false]
- signal_side = [true | false]
- [station]
- adjacent_stations = [true | false]
- always_small_airport = [true | false]
- distant_join_station = [true | false]
- join_stations = [true | false]
- modified_catchment = [true | false]
- nonuniform_stations = [true | false]
- station_spread
- [economy]
- allow_shares = [true | false]
- allow_town_roads = [true | false]
- bribe = [true | false]
- dist_local_authority
- exclusive_rights = [true | false]
- give_money = [true | false]
- inflation = [true | false]
- initial_city_size
- larger_towns
- mod_road_rebuild = [true | false]
- multiple_industry_per_town = [true | false]
- same_industry_close = [true | false]
- smooth_economy = [true | false]
- station_noise_level = [true | false]
- town_growth_rate
- town_layout
- town_noise_population
- [pf]
- forbid_90_deg = [true | false]
- npf.npf_buoy_penalty
- npf.npf_crossing_penalty
- npf.npf_max_search_nodes
- npf.npf_rail_curve_penalty
- npf.npf_rail_depot_reverse_penalty
- npf.npf_rail_firstred_exit_penalty
- npf.npf_rail_firstred_penalty
- npf.npf_rail_lastred_penalty
- npf.npf_rail_pbs_cross_penalty
- npf.npf_rail_pbs_signal_back_penalty
- npf.npf_rail_slope_penalty
- npf.npf_rail_station_penalty
- npf.npf_road_curve_penalty
- npf.npf_road_drive_through_penalty
- npf.npf_water_curve_penalty
- opf.pf_maxdepth
- opf.pf_maxlength
- path_backoff_interval
- pathfinder_for_roadvehs
- pathfinder_for_ships
- pathfinder_for_trains
- reserve_paths = [true | false]
- roadveh_queue = [true | false]
- wait_for_pbs_path
- wait_oneway_signal
- wait_twoway_signal
- yapf.disable_node_optimization = [true | false]
- yapf.max_search_nodes
- yapf.rail_crossing_penalty
- yapf.rail_curve45_penalty
- yapf.rail_curve90_penalty
- yapf.rail_depot_reverse_penalty
- yapf.rail_doubleslip_penalty
- yapf.rail_firstred_exit_penalty
- yapf.rail_firstred_penalty
- yapf.rail_firstred_twoway_eol = [true | false]
- yapf.rail_lastred_exit_penalty
- yapf.rail_lastred_penalty
- yapf.rail_longer_platform_penalty
- yapf.rail_longer_platform_per_tile_penalty
- yapf.rail_look_ahead_max_signals
- yapf.rail_look_ahead_signal_p0
- yapf.rail_look_ahead_signal_p1
- yapf.rail_look_ahead_signal_p2
- yapf.rail_pbs_cross_penalty
- yapf.rail_pbs_signal_back_penalty
- yapf.rail_pbs_station_penalty
- yapf.rail_shorter_platform_penalty
- yapf.rail_shorter_platform_per_tile_penalty
- yapf.rail_slope_penalty
- yapf.rail_station_penalty
- yapf.road_crossing_penalty
- yapf.road_curve_penalty
- yapf.road_slope_penalty
- yapf.road_stop_penalty
- [order]
- gotodepot = [true | false]
- gradual_loading = [true | false]
- improved_load = [true | false]
- no_servicing_if_no_breakdowns = [true | false]
- selectgoods = [true | false]
- serviceathelipad = [true | false]
- timetabling = [true | false]
- [gui]
- advanced_vehicle_list
- always_build_infrastructure = [true | false]
- auto_euro = [true | false]
- autorenew = [true | false]
- autorenew_money
- autorenew_months
- autosave
- autosave_on_exit = [true | false]
- autoscroll = [true | false]
- bridge_pillars = [true | false]
- coloured_news_year
- console_backlog_length
- console_backlog_timeout
- cycle_signal_types
- date_format_in_default_names
- default_rail_type
- default_signal_type
- drag_signals_density
- enable_signal_gui = [true | false]
- errmsg_duration
- expenses_layout = [true | false]
- keep_all_autosave = [true | false]
- left_mouse_btn_scrolling = [true | false]
- link_terraform_toolbar = [true | false]
- liveries
- loading_indicators
- lost_train_warn = [true | false]
- max_num_autosaves = [true | false]
- measure_tooltip = [true | false]
- network_chat_box_height
- network_chat_box_width
- new_nonstop = [true | false]
- news_message_timeout
- order_review_system
- pause_on_newgame = [true | false]
- persistent_building_tools = [true | false]
- population_in_label = [true | false]
- prefer_teamchat = [true | false]
- quick_goto = [true | false]
- reverse_scroll = [true | false]
- scrollwheel_multiplier
- scrollwheel_scrolling
- semaphore_build_before
- show_finances = [true | false]
- show_track_reservation = [true | false]
- smooth_scroll = [true | false]
- station_drag_drop = [true | false]
- station_num_tracks
- station_platlength
- station_show_coverage = [true | false]
- status_long_date = [true | false]
- timetable_in_ticks = [true | false]
- toolbar_pos
- vehicle_income_warn = [true | false]
- vehicle_speed = [true | false]
- window_snap_radius
- window_soft_limit
- [ai]
- ai_disable_veh_aircraft = [true | false]
- ai_disable_veh_roadveh = [true | false]
- ai_disable_veh_train = [true | false]
- ai_disable_veh_ship = [true | false]
- ai_in_multiplayer = [true | false]
- ai_max_opcode_till_suspend
- [network]
- autoclean_companies = [true | false]
- autoclean_novehicles
- autoclean_protected
- autoclean_unprotected
- client_name
- connect_to_ip
- default_company_pass
- lan_internet
- last_host
- last_port
- max_clients
- max_companies
- max_join_time
- max_spectators
- min_active_clients
- network_id
- pause_on_join = [true | false]
- player_name
- rcon_password
- reload_cfg = [true | false]
- restart_game_year
- server_advertise = [true | false]
- server_bind_ip
- server_lang
- server_name
- server_password
- server_port
- [servers]
- [bans]
- [news_display]
- [ai_players]]
- [version]
- [newgrf]
- [newgrf-static]
Updated: 2009/09/18 OpenTTD.cfg version 0.7.2
