Redivivus Brings Diablo II 1.14d to C++ as a Fully Building Source Code Project
Redivivus is a new project reversing Diablo II 1.14d into a C++ source tree that builds, boots into menus, and plays single player.
A new reverse-engineering project called Redivivus brings Diablo II: Lord of Destruction 1.14d into a fully building C++ source tree. It works from the shipped Game.exe, function by function, using Ghidra databases and C++17.
The repository handles everything from the program host and main loop to renderers, sound, input, files, archives, and Blizzard’s Storm and Fog libraries. At the current commit, 5,818 out of 14,759 functions achieve identical machine code when compiled with Visual C++ 2005 SP1, covering about 16.7% of the code bytes.
The executable currently boots, reaches the menus, and lets players create characters, enter the world, and fight. Online play on Battle.net remains outside the scope of the project. The project is not finished, and some areas and features still crash. A session of any length will probably hit a crash, and each one so far has come from a wrong type or a lost value in the reconstruction.
How to Try It
- Install your own copy of Diablo II: Lord of Destruction 1.14. The repository contains no game data.
- Set up a mingw-w64 cross compiler for 32-bit Windows alongside CMake and Ninja.
- Run the configuration command:
cmake -S . -B build -G Ninja -DCMAKE_TOOLCHAIN_FILE=cmake/mingw-i686.cmake - Build the executable:
cmake --build build - Copy
build/d2.exeinto your Diablo II folder next toGame.exe, then launch it withd2.exe -w.
