Skip to content

Command line options

Using OpenTSCommand line options

Options accepted on the command line.

23 of 23

OptionSyntaxDescriptionDebug only
-480Sets the initial screen width to 480 pixels and leaves the height alone; the resolution branch claims the argument before the case named after it is reached.
-XHEnables accelerated recharge and construction timers.Yes
-ATTRACTEnables attract mode.
-?Prints the built-in command-line summary and exits startup.
-XCOpens the debug output console. Debug builds always open it; this option opens it in release builds.
-MESSAGESDisables network protection.
-XPEnables event and packet debug output.Yes
-EXCEPTIONTEST=<fault>Raises a chosen fault on purpose so that crash reporting can be checked without waiting for a real crash. Accepts av-read, av-write, stack, purecall, terminate, invalidparam, fatal, worker, sectionfault, wndproc, and timer.
-XIEnables inert weapons so units take no damage.Yes
FROMINSTALLMarks startup as launched by the installer.
-MPDEBUGEnables the Internet debug display.
-CD<path>Adds the path following -CD to the local file-search list.
-CHECKMAPRuns the map check every frame; the routine it calls has no body and always reports success, so no map is examined.Yes
-XMEnables the monochrome debug display.Yes
-XXEnables multiplayer recording.Yes
-STEALTHEnables network stealth mode.
PLAYTESTEnables the debug playtest flag.Yes
-XQEnables quiet mode.
-SEED<number>Selects a custom random seed; the current parser does not advance past the option name and resolves the suffix to zero.Yes
-XYEnables multiplayer recording playback.Yes
-<width>X<height>Sets the initial screen width and height.
-TIME=<minutes>Sets the tournament time limit.
-WINEnables windowed mode.