-
Notifications
You must be signed in to change notification settings - Fork 48
Configuration File
bolrog edited this page May 26, 2021
·
6 revisions
Rather than give command-line options, many of the D2DX options can be given in a config file instead.
The release zip contains an example config file (d2dx_defaults.cfg). To use it, copy it to the game folder and rename it to "d2dx.cfg".
The example config file itself contains general documentation of the available options:
#
# This is an example config file for D2DX.
#
# If you don't like the default settings, you can edit this file, rename it to "d2dx.cfg"
# and place it in the game folder.
#
[window]
scale=1 # range 1-3, an integer scale factor for the window
position=[-1,-1] # if [-1,-1] the window will be centered, otherwise placed at the explicit position given here
frameless=false # if true, the window frame (caption bar etc) will be removed
[game]
size=[-1,-1] # if [-1,-1] d2dx will decide a suitable game size, otherwise will use the size given here
#
# Opt-outs from default D2DX behavior
#
[optouts]
noclipcursor=false # if true, will not lock the mouse cursor to the game window
nofpsfix=false # if true, will not apply the basic fps fix (precludes high fps support)
noresmod=false # if true, will not apply the built-in D2HD resolution mod (precludes widescreen support)
nowide=false # if true, will not choose a widescreen resolution (if noresmod is true, this does nothing)
nologo=false # if true, will not display the D2DX logo on the title screen
novsync=false # if true, will not use vertical sync
noaa=false # if true, will not apply anti-aliasing to jagged edges
nocompatmodefix=false # if true, will not block the use of "Windows XP compatibility mode"
notitlechange=false # if true, will not change the window title text
nomotionprediction=false # if true, will not run the game graphics at high fps