Last modified 4 years ago Last modified on 03/05/08 18:29:11

Working out tests

Supported Flags

General

{| class="wikitable" !Option !! Effect

| <tt>--help</tt> | <tt>--version</tt> | <tt>--savegame NAME</tt>
Show the help and exit
(output to commandline, won't help Windows users much)
Output version info and exit
Load a saved game NAME

|}

Configuration

{| class="wikitable" !Option !! Effect

| <tt>--fullscreen</tt> | <tt>--window</tt> | <tt>--resolution WIDTHxHEIGHT</tt> | <tt>--shadows/noshadows</tt> | <tt>--sound/nosound</tt>
Play in fullscreen mode
Play in windowed mode
Set the dimensions of the viewport (screen or window)
Toggle shadows
Toggle sound

|}

Debugging

{| class="wikitable" !Option !! Effect

| <tt>--cheat</tt> | <tt>--debug FLAGS</tt> | <tt>--debugfile FILE</tt>
Run in cheat mode
Show debug for FLAGS (Valid flags are: "<tt>all</tt>", "<tt>main</tt>", "<tt>sound</tt>",
"<tt>video</tt>", "<tt>wz</tt>", "<tt>3d</tt>", "<tt>texture</tt>", "<tt>net</tt>", "<tt>memory</tt>", "<tt>error</tt>", "<tt>script</tt>")
Log debug output in FILE

|}

Data

{| class="wikitable" !Option !! Effect

| <tt>--datadir DIR</tt> | <tt>--configdir DIR</tt> | <tt>--mod MOD</tt> | <tt>--mod_ca MOD</tt> | <tt>--mod_mp MOD</tt>
Set default datadir to DIR
Set the location of game settings and save games to DIR
Enable global modification MOD
Enable campaign only modification MOD
Enable multiplay only modification MOD

|}