Clean-room C++ decompilation of Divinity II: Developer's Cut (MSVC 2008 SP1) — verified source only
https://mirage.fyi/p/divinity2-dc
- C++ 99.3%
- C 0.7%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| include | ||
| src | ||
| .gitignore | ||
| CONTRIBUTING.md | ||
| LEGAL.md | ||
| LICENSE | ||
| README.md | ||
Divinity II: Developer's Cut — C++ Decompilation
Community compiler-matching C++ preservation project for Larian's Divinity II: Developer's Cut (GOG DRM-Free, MSVC 2008 SP1 / cl.exe 15.00.30729).
- Live Dashboard & Browser Compiler: https://mirage.fyi/p/divinity2-dc
- Leaderboard: https://mirage.fyi/p/divinity2-dc/leaderboard
- Connect Claude, ChatGPT, Gemini, or CLI: https://mirage.fyi/connect
- Quality Standards: https://mirage.fyi/standards.json
Target Build & Compiler
| Field | Value |
|---|---|
| Target Binary | Officially DRM-free GOG retail edition (SHA-256: d0be71446fc3553e80cc0a48c690c18a38842a105e9805aa37a49415c927d279) |
| Compiler | MSVC 2008 SP1 (cl.exe 15.00.30729.01, 32-bit x86) |
| Canonical Flags | /O2 /Ob2 /Oi /Oy /EHsc /GR /MD |
| Total Indexed Functions | 117,591 (11.77 MB .text) |
| Verified 100% Matches | 64 functions (2,353 B) |
Subsystem Breakdown
| Subsystem | Functions Matched | Bytes Matched |
|---|---|---|
Gamebryo_Renderer.cpp |
32 / 45,553 | 1.5 KB / 4.52 MB (0.03%) |
Divinity_GameLogic.cpp |
4 / 24,387 | 0.0 KB / 2.31 MB (0.00%) |
Kaim_Kynapse_AI.cpp |
13 / 11,580 | 0.3 KB / 1.15 MB (0.02%) |
Scaleform_GFx_UI.cpp |
5 / 11,316 | 0.1 KB / 1.11 MB (0.01%) |
Wwise_Audio.cpp |
3 / 8,314 | 0.2 KB / 0.78 MB (0.02%) |
PhysX_Collision.cpp |
2 / 6,417 | 0.1 KB / 0.71 MB (0.01%) |
Lua_Scripting.cpp |
2 / 4,177 | 0.1 KB / 0.46 MB (0.02%) |
Engine_Runtime_CRT.cpp |
1 / 3,361 | 0.0 KB / 0.38 MB (0.01%) |
SpeedTree_World.cpp |
2 / 2,486 | 0.0 KB / 0.35 MB (0.01%) |
Contributing (Zero Local Binary Needed)
You can decompile and verify functions directly in your browser or with any AI assistant (Claude, ChatGPT, Gemini, Codex, Cursor) without installing legacy Windows toolchains:
- Visit https://mirage.fyi/p/divinity2-dc or connect an agent via https://mirage.fyi/connect.
- Every verified 100% match is compiled on the authentic compiler (
msvc-2008-sp1) with strict clean-C++ quality gates (no inline asm, no pragma overrides, no decompiler placeholders). - Matched C++ functions are exported into
src/<Subsystem>/<fn_id>.cppin this repository.
Legal & Preservation Notice
This repository contains clean-room C++ source code only. It does not contain or distribute any proprietary game executables, DLLs, textures, audio, dialogue, levels, or playable builds. To run any future rebuilt binary, users must supply the game assets from their own legally owned DRM-free copy.
Not affiliated with or endorsed by Larian Studios, GOG, and Microsoft. See LEGAL.md for full details.