Command line arguments

From Chocolate Doom

Chocolate Doom supports the majority of Vanilla Doom's command line arguments. However, several others have also been added:

Table of contents

General options

-extraconfig <file>
Load extra configuration from the specified file, instead of chocolate-doom.cfg.
-iwad <file>
Specify an IWAD file to use.
-mb <mb>
Specify the heap size, in MiB (default 16).

Compatibility

-gameversion <version>
Emulate a specific version of Doom. Valid values are "1.9", "ultimate" and "final".
-spechit <n>
Use the specified magic value when emulating spechit overruns.

Demo options

-longtics
Record a high resolution "Doom 1.91" demo.
-netdemo
Play back a demo recorded in a netgame with a single player.

Display options

-1
Don't scale up the screen.
-2
Double up the screen to 2x its size.
-3
Double up the screen to 3x its size.
-4
Double up the screen to 4x its size.
-5
Double up the screen to 5x its size.
-fullscreen
Run in fullscreen mode.
-gdi
Use the Windows GDI driver instead of DirectX. (windows only)
-grabmouse
Grab the mouse when running in windowed mode.
-nograbmouse
Don't grab the mouse when running in windowed mode.
-nomouse
Disable the mouse.
-nonovert
Enable vertical mouse movement.
-novert
Disable vertical mouse movement.
-window
Run in a window.

Networking options

-autojoin
Automatically search the local LAN for a multiplayer server and join it.
-connect <address>
Connect to a multiplayer server running on the given address.
-dedicated
Start a dedicated server, routing packets but not participating in the game itself.
-dup <n>
Reduce the resolution of the game by a factor of n, reducing the amount of network bandwidth needed.
-extratics <n>
Send n extra tics in every packet as insurance against dropped packets.
-left
Run as the left screen in three screen mode.
-oldsync
Use original game sync code.
-port <n>
Use the specified UDP port for communications, instead of the default (2342).
-query <address>
Query the status of the server running on the given IP address.
-right
Run as the right screen in three screen mode.
-search
Search the local LAN for running servers.
-server
Start a multiplayer server, listening for connections.

Dehacked and WAD merging

-aa <files>
Equivalent to "-af <files> -as <files>".
-af <files>
Simulates the behavior of NWT's -af option, merging flats into the main IWAD directory. Multiple files may be specified.
-as <files>
Simulates the behavior of NWT's -as option, merging sprites into the main IWAD directory. Multiple files may be specified.
-deh <files>
Load the given dehacked patch(es)
-merge <files>
Simulates the behavior of deutex's -merge option, merging a PWAD into the main IWAD. Multiple files may be specified.
-nwtmerge <files>
Simulates the behavior of NWT's -merge option. Multiple files may be specified.