A static recompilation of The Darkness (2009, Xbox 360, Title ID 545407EE) to native Windows/Linux x86-64, built on the ReXGlue SDK.
Fully playable: video, audio, gameplay, achievements, and progression all work. Performance and framerate look very sad.
- CMake 3.25+, Ninja, Clang/LLVM (clang-cl works too)
- ReXGlue SDK — see
rexglue/README.md - extract-xiso and your own legally-owned copy of TheDarkness game
- SDK — download the
win-amd64release and extract intorexglue/win-amd64. - Licence copy of game Title ID:
545407EE(XA-2498), Media ID:0F213645, Module hash =29362A3C8309E1AC. - Game data — extract the Xbox 360 ISO with
extract-xiso.exe -x TheDarkness.iso, then copy the contents intoassets/:assets/ default.xex Content/ Conent_Eng/ Conent_Fre/ Conent_Ger/ Conent_Ita/ Conent_Spa/ ExtraContent/ System/
cmake --preset win-amd64-release
cmake --build out\build\win-amd64-releasecmake --preset linux-amd64-release
cmake --build out/build/linux-amd64-releasecd out\build\win-amd64-release
.\TheDarknessRecomp.exeLogs land in out\build\<preset>\logs\*.log.
settings/hardware.toml (rendering/perf) and settings/mapping.toml (input) load automatically. CLI flags and REX_* env vars override them. See settings/README.md for the reference.