Skip to content

Configuration

Bayaraa edited this page Jan 13, 2024 · 11 revisions

ctrl+O (O as a letter) opens in-game option menu.
All settings except "Other" section can be changed there.
 

Screen

This section contains settings related to the game screen and window.
 

fullscreen=true

If true, the game will run in fullscreen (borderless windowed) mode. If you want bordered fullscreen, disable this and increase bottom values.
 

window_width=1200
window_height=900

The width and height of the game window in pixels.
 

centered_window=true

If true, the game window will always be centered on the current monitor.
 

window_posx=100
window_posy=100

The x/y-coordinate of the top-left corner of the game window on desktop.
 

unlock_cursor=true

If true, the cursor will not be locked within the game window.
 

auto_minimize=true

If true, full screen window automatically minimize when lose focus (aka alt-tab/hit win button etc).
 

dark_mode=true

If true, the game window will have a dark style title bar.
 

vsync=true

If true, vertical synchronization will be enabled, which will synchronize the game's frame rate with the screen's refresh rate.
 

foreground_fps=true
foreground_fps_value=60

If true, the maximum frame rate will be limited when the game window is focused. On some opengl driver disabling vsync and enable this feature brings less cpu usage. (requires vsync option disabled)
 

background_fps=true
background_fps_value=25

If true, the maximum frame rate will be limited when the game window is not focused. (recommended with value of 25 which is diablo 2's default framerate)

 

Graphic

This section contains settings related to the game's graphics.
 

shader_preset=fsr\fsr.slangp

Multi-Pass shader system using RetroArch's upscale shader preset files (.slangp).
 

lut=6

The color grading (Lookup table) to use. Valid values are 0-14. 32x32 (1024x448 = 14luts) lut texture used. If you familiar with d2 modding you can change included texture file in mpq file. Or put your file in data\assets\textures\lut.png use -direct to load. (only available in glide mode)
 

sharpen=true
sharpen_strength=1.160
sharpen_clamp=0.150
sharpen_radius=0.400

If true, luma sharpening will be applied to the game's graphics. sharpen_strength: The strength of the sharpening effect. sharpen_clamp: The amount of clamping applied to the sharpening effect. sharpen_radius: The radius of the sharpening effect.
 

fxaa=true

If true, fast approximate anti-aliasing will be enabled.
 

bloom=true
bloom_exposure=1.200
bloom_gamma=1.000

If true, a bloom effect will be applied to the post's graphics. bloom_exposure: The exposure of the bloom effect. bloom_gamma: The gamma value of the bloom effect.
 

stretched_horizontal=true
stretched_vertical=true

Stretch viewport to window size (no top/bottom or left/right black bars).

 

Feature

This section contains various game features.
 

hd_cursor=true

If true, a high-definition cursor will be used.
 

hd_text=true

If true, in-game text will be rendered in high-definition.
 

hd_orbs=true
hd_orbs_centered=true

If true, the life and mana orbs will be rendered in high-definition. hd_orbs_centered: The life and mana orbs will be centered on the screen. This feature is not implemented yet!
 

mini_map=true
mini_map_text_over=true
mini_map_width=220
mini_map_height=150

If true, a mini-map widget will be displayed on top right corner. mini_map_text_over: Text on the mini-map will be displayed over the map image. mini_map_width: The width of the mini-map widget. mini_map_height: The height of the mini-map widget. (only available in glide mode)
 

motion_prediction=true

If true, D2DX's motion prediction will be enabled. See details on D2DX's motion prediction Wiki page. If your PC cant pull constant fps motion prediction stutter. Therefore vsync=true recommended.
 

skip_intro=true

If true, the game's intro videos will be skipped.
 

no_pickup=true

If true, enable /nopickup option (can't click dropped items unless click alt key) on launch. (excluding 1.09d)
 

show_item_quantity=true

If true, Show item quantity on bottom left corner of icon.
 

show_monster_res=true

If true, Show monster resistances on above HP bar.
 

show_fps=true

If true, an FPS counter will be displayed in the bottom center of the screen.

 

Other

This section contains settings that only changed by editing d2gl.ini file directly.
 

gl_ver_major=4
gl_ver_minor=6

Preferred OpenGL version numbers (must be 3.3 or between 4.0 to 4.6). Some driver and certain versions might have bugs so chainging these values work better on some vendors.
 

use_compute_shader=false

If true, enables usage compute shader (blur of bloom effect/fxaa on compute shader might be faster on older hardware but generally recommended to disable this optoin).
 

frame_latency=1

Frame latency (how many frames the CPU generates before rendering). Valid values are 1-5. Increasing this value can reduce frame stutter, but also increases input lag. Recommended values are 3-5 if your monitor's refresh rate is more than 100, otherwise 1-2 better.
 

load_dlls_early=example1.dll,example2.dll
load_dlls_late=example1.dll,example2.dll

See Load custom DLL with D2GL wiki.

Clone this wiki locally