Skip to content

CommandLineOptions

bolrog edited this page May 26, 2021 · 9 revisions

To start the game with D2DX enabled

Game.exe -3dfx

Windowed/fullscreen mode

This can be switched at any time by pressing ALT-ENTER, and specifying -w will start the game in windowed mode.

Unlock the mouse cursor

-dxnoclipcursor

Specifying -dxnoclipcursor will allow the mouse cursor to go outside the game window while it's active.

Hide the "D2DX" logo on the title screen

-dxnologo

Specifying -dxnologo will hide the D2DX logo normally displayed on the title screen.

Disable "widescreen" mode

-dxnowide 

By default, D2DX uses an adapted in-game resolution that fills out the screen (to the native aspect ratio, e.g. 16:9 or 5:4). Specifying -dxnowide will instead use a ~4:3 resolution, keeping the original aspect ratio of the game.

Disable built-in resolution mod entirely

-dxnoresmod

Specifying -dxnoresmod will turn off the use of adapted resolutions, instead using 640x480 or 800x600 depending on the option selected in game. This also disables the "size" option in the config file.

Disable v-sync

-dxnovsync

Specifying -dxnovsync will render as fast as possible, but "tearing" might be visible. This should be especially useful on G-Sync/FreeSync displays.

Disable anti-aliasing

-dxnoaa

Specifying -dxnoaa will turn off the default AA. Note that this barely makes a visible difference, as the AA used is very targeted at specific edges.

In windowed mode, scale the size by 2 or 3

-dxscale2
-dxscale3

Specifying one of these options will scale the window by a factor of 2 or 3 respectively in windowed mode. If there isn't sufficient room (between the top of the taskbar and the top of the screen) the scale factor will be lowered.

Allowing XP/Vista/Win7/etc compatibility modes

By default, D2DX either turns off or tells you to turn off OS compatibility modes. This is because they interfere with the modern APIs that D2DX uses for rendering, and it's usually NOT necessary to have compatibility modes enabled.

If you have a mod that requires an OS compatibility mode, specify -dxnocompatmodefix on the command-line.

Only use this option if absolutely necessary.