Configuration files
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:
| Area | Covers |
|---|---|
| INI Reference | Accepted keys, sections, value types, and established omission behavior |
| Formats | File loading, registration sections, record structure, and companion files |
| Commands | Hotkey command names and fixed controls |
| Command line options | Options accepted on the OpenTS command line |
| Mapping | Scenario 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.