Command line parameters

From 3DGE Wiki
Jump to: navigation, search

Here are a list of current Command Line Parameters to be used with 3DGE.

Command line options:

Note that "(no)" here means that the option switch can optionally be prefixed with the word "no", e.g. -monsters OR -nomonsters. The plain option enables the feature, the one with "no" disables it.

 -version             Show version of EDGE and exit.
 
 -splitscreen         Starts the engine/mod with splitscreen support.
 
 -showsplash          Starts with pretty 3DGE logo splashscreen.
 -width  <wd>         Select video mode's width.
 -height <ht>         Select video mode's height.
 -res  <wd> <ht>      Select video mode (width AND height).
 -bpp  <depth>        Video depth: 1 for 8-bit, 2 for 16-bit.
 -lang  <language>    Language for game messages.
 -iwad  <file>        Select IWAD file (e.g. DOOM.WAD or TNT.WAD)
 -file  <file> ...    Select PWAD (add-on) wad file(s) to play.
 -home  <dir>         Home dir, can hold IWAD and EDGE.WAD.
 -game  <dir>         Game dir, for PARMS, DDF, RTS, WADs, etc.
 -ddf   <dir>         Load external DDF files from the directory.
 -script  <file>      Load external RTS script from the file.
 -deh     <file> ...  Load external DeHackEd/BEX patch file(s).
 -config  <file>      Config file (normally EDGE.CFG).
 -debug               Enable debug output to file (DEBUG.TXT).
 -nolog               Disable creating the log file (EDGE.LOG).
 -warp  <map>         Warp to map (use full name e.g. E1M1 or MAP01).
 -loadgame  <slot>    Warp, loading game from slot.
 -skill  <num>        Skill level for warp (1 to 5).
 -screenshot  <rate>  Movie mode! Takes regular screenshots.
 -turbo  <num>        Running speed, 100 is normal.
 -players  <num>      Number of real players.
 -bots  <num>         Number of bots.
 -deathmatch          Deathmatch game (otherwise COOP).
 -altdeath            Alternate deathmatch mode.
 -timer  <mins>       Time limited games, and specifies how long.
 -avg                 Andy Virtual Gaming (same as -timer 20).
 -respawn             Monster respawning.
 -newnmrespawn        Monsters respawn as if resurrected.
 -(no)itemrespawn     Item respawning.
 -videodriver <name>  Specify what SDL video driver to use.
 -directx             shortcut for "-videodriver directx"
 -gdi                 shortcut for "-videodriver gdi" (default)
 -windowed            Run inside a window.
 -fullscreen          Run fullscreen.
 -audiodriver <name>  Specify what SDL audio driver to use.
 -waveout             shortcut for "-audiodriver waveout"
 -dsound              shortcut for "-audiodriver dsound" (default)
 -sound16             Use 16-bit sound output.
 -sound8              Use 8-bit sound output.
 -(no)sound           Enable/disable sound effects.
 -(no)music           Enable/disable music output.
 -strict              Errors: be as strict as possible.
 -lax                 Errors: be as forgiving as possible.
 -(no)warn            Enable/disable all warning messages.
 -(no)smoothing       Smoothing for graphic images (mainly GL).
 -(no)mipmap          Mipmapping enable/disable.
 -(no)dlights         Dynamic lighting enable/disable.
 -(no)jumping         Whether player jumping is allowed.
 -(no)crouching       Whether player crouching is allowed.
 -(no)mlook           Whether Mouse-look up/down is allowed.
 -(no)blood           More blood which lasts longer.
 -(no)kick            Weapon kick effect.
 -(no)monsters        Enable/disable monsters within the game.
 -(no)fast            Fast monsters.
 -(no)cheats          Cheat codes enabled or disabled.
 -(no)rotatemap       Automap rotation.
 -(no)showstats       Shows on-screen statistics/info.
 -(no)hom             HOM (Hall Of Mirrors) detection.
 -(no)extras          Extra items (e.g. rain) appearing in levels.
 -(no)true3d          Objects can pass above/below other objects.
 -trilinear           Trilinear mipmapping.
 -blockmap            Force 3DGE to generate its own blockmap.
 -nograb              Don't grab the mouse cursor.