Repository navigation
DevilutionX diablo.ini configuration guide
The config folder path may differ depending on OS version and security settings, but will normally be as follows:
- macOS
~/Library/Application Support/diasurgical/devilx - Linux
~/.local/share/diasurgical/devilx/ - Windows
%AppData%\diasurgical\devilx
You can specify the location by setting the --config-dir argument when starting the program.
By changing diablo.ini, you can configure the game to your liking. The options are divided into sections, where each adjustment comes with an individual description. Setting a value outside the allowed parameters will cause the game to ignore the setting and use the built-in defaults. The values next to the configuration entry are the defaults as the game generates the file.
[Diablo] [Graphics] [Audio] [Network] [GameUI] [NetMsg] [Controller] [Controls] [Gamepad]
0=disabled, 1=enabled; Enable/disable Intro cinematic.
0=disabled, 1=enabled; When enabled game assets can be loaded from the game folder instead of the mpq file.
25=Min, 25=Default, 50=Max; Adjust the rate at which game events take place. Besides the max, this will also be caped by your fps. Beware! It affects not only the player but also the monsters.
0=disabled, 1=enabled; When enabled mouse is locked to the game window.
0=Windowed, 1=Fullscreen; This sets the game to run in Windowed or Fullscreen.
0=disabled, 1=vsync, 2=fps limiter; When enabled the CPU load is reduced by either using VSync (requires SDL2) or an built-in FPS limiter.
Min=100, Max=30; Adjust game brightness setting the lower the number the brighter the screen.
0=disabled, 1=enabled; Enable color cycling effect used for water, lava, and acid animation.
0=disabled, 1=enabled; Enable image scaling from the game's internal resolution to your monitor resolution, this also allowing for window resizing. If disabled the game will instead change your monitor resolution to match the internal Width and Height.
0=nearest neighbor, 1=bilinear, 2=anisotropic; Enables optional filters to the output image when upscaling.
0=Max Volume, -1600=No Sound; Adjust sound volume.
0=Max Volume, -1600=No Music; Adjust music volume.
Sets the network address of hosted games.
Default port of hosted games.
Expected average latency of hosted games. Only used if game was not compiled with ADAPTIVE_NETUPDATE.
Set top left corner of the belt.
Set top left corner of the inventory.
Set top left corner of the character sheet.
Set top left corner of the skill book.
Set top left corner of the teams list.
Set top left corner of the quests list.
Sets the message sent when the quick-message button (F5 by default) is pressed.
Sets the message sent when the quick-message button (F6 by default) is pressed.
Sets the message sent when the quick-message button (F7 by default) is pressed.
Sets the message sent when the quick-message button (F8 by default) is pressed.
If you have a specific SDL_CONTROLLERCONFIG mapping, you can set it here.
Enable Dpad hotkeys.
Swap shoulder button mode.
Enable rear touchpad.
Map left-mouse click to the primary action (attack, move, etc...).
Map right-mouse click to the secondary action (attack, move, etc...).
...
Sample configurations for buttons in the menu and in the game:
menu.00.size=67
menu.00.x=0
menu.00.y=137
menu.00.key=37
menu.00.frame=2
menu.00.label=76
game.00.size=67
game.00.x=0
game.00.y=137
game.00.key=30
game.00.frame=10
game.00.label=76
Prefix is either menu or game.
The index is a number which is always two characters long (must be 00..15)
Suffixes:
size: must be 67 unless a special TouchBtn.CEL is provided. If it is zero the remaining entries (buttons with higher indices) are ignored.
x, y: the (lower left) screen-coordinates of the button.
key: the virtual keycode of the button (see https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes)
frame: frame index in TouchBtn.CEL . It must be 1..10 unless a special TouchBtn.CEL is provided.
label: character overlay for the button (optional)
See details in diablo.ini