The dxwnd.ini configuration file holds an almost complete configuration for DxWnd (some registry tricks need to be stored in the dxwnd.reg file instead), but needs no manual editing since almost all of its contained information comes from the DxWnd GUI.

There are a few important exceptions for settings that you might want to edit manually.



Language

lang=<specification>

Sets the DxWnd GUI language with a selector for the localization DLL. "default" will load the embedded English text. "automatic" will load the language pack corresponding to the system locale. Any "XYZ" string will load the corresponding "Resources_XYZ.dll" language port. Currently unsupported (available translation packages are no longer up to date).

For older versions, the following languages are supported:

  • EN – English (default language)

  • CN – Chinese

  • IT – Italian

When you set a lang=<specification> specification, DxWnd looks for and loads the resources in the Resources_<specification>.dll file, so anyone can build and use a custom language pack.

lang=default disables resource loading, and the program will use the default and built-in English pack.

lang=automatic makes DxWnd search for the current UI language and try to map it to the available language packs. If no corresponding pack is available, it switches to the default (English) behavior.

This setting is always overridden by a /lang=<specification> command line argument.

debug=<mode>

Boolean, defaulting to false. debug=1 activates the configuration debug tab. Warning: debug options, when set, are kept even if debug is cleared and the debug is no longer visible.

multiprocesshook=<mode>

Boolean, defaulting to false. multiprocesshook=1 allows multiple programs to run simultaneously on different windows. Beware that not all programs can work this way and it's likely to cause problems with resources that can't be shared, such as the mouse.

checkadmin=<mode>

Boolean, defaulting to false. checkadmin=1 causes DxWnd to autodetect its own administrator permissions at startup and propose a self-elevation if missing.



Position

The DxWnd window position and size. Whenever you move or stretch the GUI, the new coordinates are stored here. The format is as follows:

posx=<x0>

Initial x (horizontal) position of the DxWnd GUI. When DxWnd is terminated and is not in fullscreen mode, this flag is updated to store the most recent x position, to be used next time you start the program.

posy=<y0>

Same as posx, for the y (vertical) coordinate

sizx=<width>

Same as posx, but recording the window's width. The initial width is forced to a minimum of 320 pixels.

sizy=<height>

Same as posx, but recording the window's height. The initial height is forced to a minimum of 200 pixels.



Texture

MinTexX=<value>

Minimum texture width for texture processing (dump, hack).

MaxTexX=<value>

Maximum texture width for texture processing (dump, hack). Zero value means infinite.

MinTexY=<value>

Minimum texture height for texture processing (dump, hack).

MaxTexY=<value>

Maximum texture height for texture processing (dump, hack). Zero value means infinite.



Keymapping

Sets the DxWnd hot key mapping. The format is as follows:

<function>=0x<keycode>

The available values represent the hex key code and range from 0x70 (Alt-F1) to 0x7C (Alt-F12).

These are the available hot keys:

timetoggle

Toggle time stretching.

altf4

Terminate the program, such as by typing Alt-F4.

timeslow

Decrease time speed.

timefast

Increase time speed.

cliptoggle

Toggle cursor clipping.

refresh

Refresh the screen.

logtoggle

Toggle logging.

fpstoggle

Show or hide the FPS.

plocktoggle

Lock or unlock the window position.