Skip to content

Configuration files

Using OpenTSConfiguration

OpenTS reads player options, hotkeys, rules, art, media registries, and scenario data from separate files.

Configuration is documented in five areas rather than one. The table names what each area covers, so a reader chasing a single fact can go straight to the area that owns it:

AreaCovers
INI ReferenceAccepted keys, sections, value types, and established omission behavior
FormatsFile loading, registration sections, record structure, and companion files
CommandsHotkey command names and fixed controls
Command line optionsOptions accepted on the OpenTS command line
MappingScenario sections, triggers, TeamTypes, TaskForces, Scripts, and AI triggers

SUN.INI stores local player options. KEYBOARD.INI maps command names to keys. Rules, art, sound, theme, and scenario files supply game and mod data.

The engine loads its configuration files in a defined order. Use the relevant Format page when file selection, layering, registration, or section identity affects the result.

Authoritative files

Linked at revision 59fae722af8c.