Formats
File syntax, registration, record layout, and binary data.
Syntax
Text syntax shared by configuration and data files.
INI syntaxDefines the section, key, value, and comment syntax accepted by the OpenTS INI parser.
Configuration file
Named configuration files and the sections they load.
Client launch fileDescribes the match a client asks the game to launch when it starts the game with -SPAWN.
KEYBOARD.INIMaps registered command names to integer keyboard identifiers.
Map seed filesStores random-map generator inputs in a `[RandomMap]` section.
MAPSEL.INILists each campaign house's stages in order, and the mission, map-screen presentation and choices each stage sets.
MPLAYER.INIRules read over the others in every game that is not a campaign, so multiplayer and skirmish can differ from the single-player balance.
OPENTS.ININames the folders a deployment sorts its game files into, the names of the files the game reads, and what its saves hold.
Scenario object recordsDefines the vehicles, infantry, aircraft, structures, and trigger ownership loaded with a scenario.
Scenario terrain dataStores a scenario's terrain cells in the Base64-encoded IsoMapPack sections.
Scenario trigger recordsDefines the field layout of a scenario file's trigger, event, action and tag records.
SOUND.INIRegisters sound IDs and defines each one's samples, loudness, priority, range, and playback behavior.
Theater control filesDefines theater-wide tile-set indices and the properties of each tile set.
THEME.INIRegisters music track IDs and each track's playlist settings.
TUTORIAL.INIHolds the numbered lines a text trigger prints, which a scenario may replace or add to.
UI.INISets how a selected object's order lines, a firing vehicle's sighting laser and a control group number are drawn.
Registry
Lists that register IDs and their definition sections.
Rules registration listsLists in the rules files that register each kind of rules type and assign countries to sides.
Team typesRegisters team definitions that link an owner, TaskForce, Script, waypoint, and behavior flags.
Record
Comma-separated records with positional fields.
AI triggersDefines the weighted records from which a house draws its next one or two teams.
Crate powerupsSets each crate result's share of the random crate draw, the animation it plays, and the number its effect uses.
ScriptsRegisters ordered team-mission lists containing up to fifty mission and argument pairs.
Task forcesRegisters reusable team compositions containing up to six infantry, vehicle, or aircraft entries.
Binary format
Binary assets and persistence files consumed by OpenTS.
AUD audioWestwood's audio format, which holds the game's sound effects, speech and music.
MIX archivesStores named game files in CRC-indexed archive members.
Save gamesStores versioned OpenTS game state in `.SAV` and `.NET` files.
SHP imagesStores indexed two-dimensional image frames used by sprites and interface graphics.
VQA videoStores the full-motion video the engine plays full screen and in the radar pane.
VXL and HVA modelsDraws an object from a voxel model whose layers are placed by a companion motion file.