EngineConfig Type
Configuration record for a BAR engine session. Controls engine launch parameters, socket communication, game setup (map, factions, opponent), and timeout behavior.
Record fields
| Record Field |
Description
|
Full Usage:
AppImagePath
Field type: string
|
Path to the BAR AppImage used for graphical mode launches.
|
Full Usage:
AutohostPort
Field type: int option
|
Loopback UDP port the hub pre-bound for the engine's autohost interface
(feature 039, see
|
Full Usage:
DeathMode
Field type: string
|
Value rendered for the
|
Full Usage:
EngineBin
Field type: string
|
Executable name or path for the engine binary (e.g., "spring-headless").
|
Full Usage:
GameSpeed
Field type: int
|
Game speed multiplier. Higher values run the simulation faster (e.g., 100 for 100x speed).
|
Full Usage:
GameType
Field type: string
|
Game type identifier including version (e.g., "Beyond All Reason test-29840-d9b7dba").
|
Full Usage:
MapName
Field type: string
|
Name of the BAR map to load (e.g., "Red Rock Desert v2").
|
|
Whether to launch the engine in headless or graphical mode.
|
Full Usage:
OpponentAI
Field type: string
|
Name of the opponent AI to play against (e.g., "NullAI").
|
|
Key/value options forwarded to the opponent AI via the
|
Full Usage:
OpponentSide
Field type: string
|
Faction for the opponent team (e.g., "Cortex").
|
Full Usage:
OurSide
Field type: string
|
Faction for our AI team (e.g., "Armada").
|
Full Usage:
ReadTimeoutMs
Field type: int option
|
Optional override for the socket read timeout in milliseconds.
When
|
Full Usage:
SocketPath
Field type: string
|
Filesystem path for the Unix domain socket used to communicate with the HighBar V2 proxy.
|
Full Usage:
SpringDataDir
Field type: string option
|
Optional override for the Spring data directory. When
|
Full Usage:
TimeoutMs
Field type: int
|
Timeout in milliseconds for the initial socket connection accept.
|
FSBarV1_Archived