Command line options
Options accepted on the command line.
26 of 26
| Option | Syntax | Description | Debug only |
|---|---|---|---|
-480 | Sets 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. | ||
-XH | Enables accelerated recharge and construction timers. | Yes | |
-ATTRACT | Enables attract mode. | ||
-SPAWN | Launches the game SPAWN.INI describes, in place of the startup movies and the menu. | ||
-? | Prints the built-in command-line summary and exits startup. | ||
-XC | Opens the debug output console. Debug builds always open it; this option opens it in release builds. | ||
-XP | Enables 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. | ||
-DATADIR=<path> | Reads the game's data from the directory named, which the game never writes to. | ||
-XI | Enables inert weapons so units take no damage. | Yes | |
FROMINSTALL | Marks startup as launched by the installer. | ||
-MPDEBUG | Enables the Internet debug display. | ||
-CHECKMAP | Runs the map check every frame; the routine it calls has no body and always reports success, so no map is examined. | Yes | |
-XM | Enables the monochrome debug display. | Yes | |
-XX | Enables multiplayer recording. | Yes | |
-MULTIINSTANCE | Lets this copy start while another copy of the game is running. Without it, a second copy brings the running copy's window to the front and exits. | ||
-STEALTH | Enables network stealth mode. | ||
-DESYNCTEST=<frame> | Corrupts this machine's own game checksum once, on the first frame at or after the one given, so that the out-of-sync report can be checked without waiting for a real divergence. The corruption waits for the checksum comparison to start, so a frame inside the first 256 fires as soon as it does. | ||
PLAYTEST | Enables the debug playtest flag. | Yes | |
-XQ | Enables quiet mode. | ||
-SEED<number> | Seeds the random number generator with the number given, for a campaign mission or skirmish started from the menu, so it repeats the same random draws each time. 0 draws a new seed. | Yes | |
-XY | Enables multiplayer recording playback. | Yes | |
-<width>X<height> | Sets the initial screen width and height. | ||
-TIME=<minutes> | Sets the tournament time limit. | ||
-USERDIR=<path> | Keeps the settings, saved games and other files the game writes in the directory named, creating it when it is not there. | ||
-WIN | Enables windowed mode. |
No options match these filters.