# d2-dedicated-server: reconstructing a Diablo II realm and game-server stack

> d2-dedicated-server rebuilds a self-hosted Diablo II realm and headless game-server stack. Its Zig services handle Battle.net-style login, character and game operations, while an ingress reads the game's GAMELOGON token to route connections. A separate native variant maps the 1.14d macOS Mach-O game image onto i386 Linux.

- Type: Case study
- Targets: Game · Protocol
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/jaenster/d2-dedicated-server>
- Primary source: <https://github.com/jaenster/d2-dedicated-server/blob/b661cace6e861b16211310312b55273ccfa753d2/README.md>
- Catalog page: <https://awesomerea.org/resources/d2-dedicated-server-case/>
- Record JSON: <https://awesomerea.org/resources/d2-dedicated-server-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/d2-dedicated-server-case/index.md)

## Requirements & limits

- **Prerequisites:** Linux is the stated deployment platform; the native 1.14d variant requires i386 Linux and the game's macOS Mach-O image.
- **Prerequisites:** Redis and PostgreSQL provide runtime coordination and persistent realm storage.
- **Limits:** The native variant's dry run can inspect its load path on other hosts, but execution requires i386 Linux.
- **License:** MIT license.

## Primary sources

1. <https://github.com/jaenster/d2-dedicated-server/blob/b661cace6e861b16211310312b55273ccfa753d2/README.md>
2. <https://github.com/jaenster/d2-dedicated-server/blob/b661cace6e861b16211310312b55273ccfa753d2/apps/d2gs-native/README.md>
3. <https://github.com/jaenster/d2-dedicated-server/blob/b661cace6e861b16211310312b55273ccfa753d2/apps/d2ingress/README.md>
4. <https://github.com/jaenster/d2-dedicated-server/blob/b661cace6e861b16211310312b55273ccfa753d2/LICENSE>

## More in Games

- [D2R Mobile: rehosting Diablo II: Resurrected’s Switch program on Apple devices](https://awesomerea.org/resources/d2r-mobile-switch-rehost-case/index.md) · Case study
- [d3b-emu: reconstructing a Diablo III Beta server](https://awesomerea.org/resources/d3b-emu-diablo-iii-beta-case/index.md) · Case study
- [DARK: reconstructing the video plugin path for Proton cutscenes](https://awesomerea.org/resources/dark-render-re-case/index.md) · Case study
- [Darkflame Universe: LEGO Universe server reconstruction](https://awesomerea.org/resources/darkflame-universe-case/index.md) · Case study
- [darling-lol: running the macOS League of Legends client on Linux through Darling](https://awesomerea.org/resources/darling-lol-league-linux-case/index.md) · Case study
- [Deathchase: annotated game disassembly](https://awesomerea.org/resources/deathchase-disassembly-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
