Menu

I've been rebuilding Diablo II 1.13c as open source C++
📰

I've been rebuilding Diablo II 1.13c as open source C++

DEV Community: cpp·Virtastic·17 days ago
#8UVrGeE1
#devtocpp#devto#dev#game#browser
Reading 0:00
15s threshold

For the last while I've been working on D2-Web, an open source reimplementation of Diablo II: Lord of Destruction at patch 1.13c. It's C++20, MIT licensed, and the code is on GitHub: https://github.com/Virtastic/d2-web

Right now it builds to WebAssembly and runs in desktop Chrome, so you can try it at https://diablo2.virtastic.app with your own copy of the game. There's a short video of it running here:

Why I care about the source more than the browser

Diablo II has been a closed binary for 25 years. Everything the community built on top of it, and they built a lot, had to work around that: offset tables, memory patches, injected DLLs, all tied to one exact patch. I wanted a version of the game where you could open a file and see how a monster decides where to walk, or how an item picks its affixes, and then change it and send a pull request.

The browser build is just the first place it runs.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.