D2GL is a Diablo 2 LoD Glide/DDraw to OpenGL wrapper that translates glide/ddraw calls to OpenGL calls. This makes D2 run better on modern hardware/OS and easier to switch between fullscreen and windowed modes, and resolves certain window and cursor-related issues. Additionally, it includes several libretro shaders for upscaling to higher resolutions, and allows for in-game text to be displayed in high-definition, D2DX's motion prediction, other QOL features.
Please don't just say it crashes. I can't do anything without additional information!
If you want to report bug or crash please include details about your system (OS, hardware), what you doing when crash occured, are other mods included (like plugy, basemod etc), is crashing on both wrappers (glide, ddraw).
Also run game.exe with -3dfx -log
it will create d2gl.log
and attach this along with diablo2's log file like this D2230410.txt
. It helps investigation.
- In-Game Option Menu(
Ctrl+O
) to change settings on fly. - Upscale to higher resolution using RetroArch's slang shaders.
- Switch some parts in game to high-definition (all text, cursor etc.).
- Unlocked FPS (menu screen 45fps / ingame unlocked).
- Modified version of "D2DX's Unit/Weather Motion Predictor" feature (better with v-sync on).
- Few graphic post processing effects (Lut, sharpen, FXAA etc.).
- Fast switching windowed to fullscreen with
Alt+Enter
key.
- Diablo 2 LoD:
1.09d
,1.10f
,1.11
,1.11b
,1.12a
,1.13c
,1.13d
,1.14d
. - Windows 7/8/10/11, Linux with Wine (Proton, Lutris etc), MacOS with Wine (Crossover).
- GPU with minimum OpenGL 3.3 support.
- Open the launcher and click the settings icon (gear icon, next to the big red button)
- Hover over the warning symbol next to "Unofficial Graphics Drivers", read and acknowledge this notice.
- Check/Enable Glide3x.dll if you wish to use Glide as your rendering backend or Ddraw.dll for DDraw
- Close the launcher
- Download from Releases
- Extract the files from the Release.zip into the folder MXL is using (this is C:\Games\median-xl by default if you did not specify during installation)
- Open the launcher and launch your game if everything is up to date.
See Installation for instructions .
See Configuration.
See Compatibility.
Development was tested on: VS 2022 17.0.4 (failed to compile due to linker errors), VS 2022 17.7.4 (failed to compile). VS 2022 17.9.7 (success)
Diablo II modding community (The Phrozen Keep) and Everyone who makes d2 mod and their source codes available.
- SGD2FreeRes D2 Custom Resolution (Mir Drualga).
- D2DX's Unit/Weather Motion Predictor (Bolrog).
- Libretro's slang shaders (RetroArch).
- The OpenGL Extension Wrangler Library (Brian Paul).
- OpenGL Mathematics (GLM) (G-Truc Creation).
- FXAA implementation by Timothy Lottes (NVIDIA).
- Dear ImGui (Omar Cornut).
- stb_image, stb_image_write (Sean Barrett).
- MurmurHash3 (Austin Appleby).
- MSDF Atlas Generator (Chlumsky).
- Shader Minifier (laurentlb).
- SPIRV-Cross, glslang (KhronosGroup).
- Detours (Microsoft).
- MXL pre-1.0 D2GL changes (Pooquer)