Netherhold is an open-source, work-in-progress Dungeon Keeper 2 remake and reimplementation in C#/.NET, with a Godot presentation layer. The project aims to reproduce the original 1999 game's observable behavior while keeping its deterministic simulation independent of the renderer.
Unlike a finished, standalone game, Netherhold is a research and development project focused on gameplay fidelity and compatibility with the original game. It requires your own Dungeon Keeper 2 installation for original game content; original game files are not distributed with this repository.
This is a development and research project, not a finished replacement for the original game. Campaign compatibility, gameplay fidelity and the Godot presentation are still being verified. See the current state and remaining work and the implementation plan.
Install the .NET SDK selected by global.json (.NET 10 or a newer SDK allowed by its roll-forward policy), then run these commands from the repository root:
dotnet restore DK2.slnx
dotnet build DK2.slnx --no-restore --configuration Release
dotnet test DK2.slnx --no-build --configuration ReleaseThe solution builds without the Godot editor or an original DK2 installation. Tests that need the original game report as skipped when its data is unavailable; a green run with skips does not verify those integration paths. CI builds and tests on Linux and Windows without a DK2 installation.
Playing campaign content in Godot and running scenarios with the headless
harness require your own original game files. Set DK2_DIR to the installation
directory containing DKII.EXE and Data/:
$env:DK2_DIR = 'C:\Games\Dungeon Keeper 2'On a POSIX shell, use export DK2_DIR='/path/to/Dungeon Keeper 2' instead.
The setting is authoritative: an invalid path disables install discovery rather
than falling back to another installation. To require install-dependent tests
to fail instead of skip when data is missing, also set DK2_REQUIRE_INSTALL=1.
Original game assets, converted assets and fonts are not bundled. Keep the game installation outside this checkout; see reference material and third-party notices.
After building, list the available scenarios or run the synthetic determinism smoke scenario:
dotnet run --project src/DK2.Harness -c Release --no-build -- list
dotnet run --project src/DK2.Harness -c Release --no-build -- run scenarios/smoke/determinism_flat_map.yamlThe run command currently loads the original game database even for a
synthetic map, so it requires DK2_DIR. Reports, events and per-tick hashes go
under build/scenario-runs/. The scenario guide describes
the format and what each experiment can establish.
Use the .NET editor pinned by godot-version.json. On Windows, set up
the editor and open the project:
powershell -File godot/setup.ps1
powershell -File godot/editor.ps1The launcher accepts your original DK2 install. The Godot guide covers controls, exports and the optional local replacement font.
- Architecture: simulation, data, assets, AI and presentation boundaries.
- Research status and experiments: evidence and fidelity coverage.
- Decisions: architectural and behavioral choices.
- Godot project: the Godot adapter's toolchain, its front-end menu and in-game HUD, and the level's terrain.
- Command-line tools: data inspection, conversion and repository checks.
- Contributor instructions: research rules, documentation budgets and evidence storage.
- Art direction and asset pipeline: visual fidelity and asset work.
Before changing behavior, research the original binary and shipped data rather
than guessing. Keep gameplay deterministic and integer-based, route asset access
through the asset abstraction, and record confirmed facts separately from
inferences and unknowns. Install the local documentation hook once per clone
with git config core.hooksPath .githooks.
Project source is licensed under GPL-3.0-or-later. Dependencies and referenced projects retain their own terms; see THIRD-PARTY-NOTICES.md. The project license does not grant redistribution rights to original DK2 files.
This repository contains no original DK2 game files. Everything the game needs
is read at run time from your own installation (DK2_DIR). Dungeon Keeper is
a trademark of its owner; this project is not affiliated with or endorsed by
Electronic Arts or Bullfrog Productions.