openttd.cfg
est le fichier de configuration que OpenTTD utilise pour stocker tous ses paramètres. Il utilise la INI structure de fichier .ini, qui est un moyen de stockage courant de données de configuration dans de nombreuses applications. Le fichier contient toutes les variables organisées en groupes, pour le rendre plus facile à éditer.
Il est situé sous:
Win XP : "C:\Documents and Settings\<nom_utilisateur>\Mes Documents\OpenTTD" Vista/7: "C:\Users\<nom_utilisateur>\Documents\OpenTTD" Linux : "~/.openttd" Mac OS X : "~/Documents/OpenTTD"
Vous pouvez éditer le fichier en utilisant n'importe quel éditeur de texte. Chaque fois que vous quittez OpenTTD, il écrit les modifications dans le fichier.
[misc]
- display_opt
- news_ticker_sound = [true | false]
- fullscreen = [true | false]
- graphicsset
- soundset
- musicset
- videodriver
- musicdriver
- sounddriver
- blitter
- language = nomfichier.lng
- resolution = largeur_pixels, hauteur_pixels
- screenshot_format
- savegame_format
- rightclick_emulate = [true | false]
- small_font
- medium_font
- large_font
- small_size
- medium_size
- large_size
- small_aa
- medium_aa
- large_aa
- sprite_cache_size
- player_face
- transparency_options
- transparency_locks
- invisibility_options
- keyboard
- keyboard_caps
[music]
- custom_1
- custom_2
- effect_vol = [0 <= n <= 127]
- music_vol = [0 <= n <= 127]
- playing = [true | false]
- playlist
- shuffle = [true | false]
[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]
- town_name
- landscape
- snow_line
- snow_line_height
- starting_year
- land_generator
- oil_refinery_limit
- tgen_smoothness
- variety
- generation_seed
- tree_placer
- heightmap_rotation
- se_flat_world_height
- map_x
- map_y
- water_borders
- custom_town_number
- custom_sea_level
[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_crashes
- plane_speed
- road_side = [left | right]
- servint_aircraft
- servint_ispercent = [true | false]
- servint_roadveh
- servint_ships
- servint_trains
- train_acceleration_model
- train_slope_steepness
- 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
- never_expire_airports = [true | false]
[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]
- 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]
- 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
[locale]
[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
[currency]
[company]
- engine_renew = [true | false]
- engine_renew_months
- engine_renew_money
- renew_keep_length = [true | false]
[server_bind_addresses]
[servers]
[bans]
[news_display]
- acceptance
- accident
- advice
- arrival_other
- arrival_player
- close
- company_info
- economy
- general
- new_vehicles
- open
- production_nobody
- production_other
- production_player
- subsidies