Skip to content

Pooquer/d2gl-mxl

 
 

Repository files navigation

IF YOU HERE BECAUSE YOU WANT IT FOR MEDIAN XL

DOWNLOAD Release.zip FROM HERE D2GL-MXL

  • Make a backup of glide3x.dll and ddraw.dll of your current video modes
  • Drop downloaded files into Diablo II folder (where D2Sigma.dll is located)
  • Choose one of the methods below 👇

Glide mode if you using mxl launcher:

  • Hit launcher settings
  • Hit Run Video Test
  • Choose Glide
  • In launcher settings in Video Mode choose: 3DFX Glide
  • Uncheck Run the game in windowed mode

Glide mode if you using shortcut of Game.exe:

  • Run Video Test (it's in D2 folder called D2VidTst.exe)
  • Choose Glide
  • Add to your shortcut -3dfx
  • Remove from your shortcut -w, example of shortcut: "D:\Games\Diablo II\Game.exe" -3dfx -skiptobnet -nosound

DDraw mode if you using mxl launcher:

  • It only starts vanilla ddraw(coz it adds -w by default), so you need to run through shortcut 👇

DDraw mode if you using shortcut of Game.exe:

  • Run Video Test (it's in D2 folder called D2VidTst.exe)
  • Choose DDraw(D2GL)
  • Remove/don't add -3dfx to your shortcut
  • Remove from your shortcut -w, example of shortcut: "D:\Games\Diablo II\Game.exe" -skiptobnet -nosound

If you having troubles like black screen, nothing appears on screen, but i can hear sound from main menu, etc:

  • Video Test is your friend
  • Maybe you missed one of the steps

Diablo 2 LoD Glide/DDraw to OpenGL Wrapper (D2GL)

Github All Releases License: GPL v3

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.

🚩 Bug/Crash Report (Important!)

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.

Features

  • 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.

Requirements

  • 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.

Installation

See Installation. MXL installation above 👆

Configuration

See Configuration.

Compatibility

See Compatibility.

Credits

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).

Some Screenshots

Screenshot010 Screenshot012 Screenshot013 Screenshot002

About

Diablo 2 LoD Glide/DDraw to OpenGL Wrapper

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 90.7%
  • GLSL 5.6%
  • C 3.7%