Deus Ex: Human Revolution Decompilation
Source code reconstructed from the original game's compiled binary, so the game can be understood, rebuilt and ported.
Based on Deus Ex: Human Revolution
Links, repository & detailsAbout
Code here is decompiled with IDA Pro, manually cleaned up, uninlined and rewritten to use templates. The README states it is not a matching decompilation and there is no workflow to merge its functions with those of the binary.
Getting started
Running it requires a copy of Deus Ex: Human Revolution Director's Cut. Build for Linux 32-bit (using dxvk-native), Windows 32-bit on Linux, or Windows 32-bit with Visual Studio, then set the BIGFILE variable to the path of BIGFILE.000 and run the binary.
History
The README says there has been no source leak, but a debug info leak for Tomb Raider (2013), a different game with a similar engine, has been used; the first commit integrating it is dated 14 July 2022.
What you need to run it
How to install
- Set BIGFILE to the path of the game's BIGFILE.000, then run dxhr on Linux or dxhr.exe on Windows.
- If the game is installed through Steam on Windows or Wine, its files will be detected automatically.
Summarised from the project's README.
FAQ
- What is Deus Ex: Human Revolution Decompilation?
- Deus Ex: Human Revolution Decompilation is an open-source decompilation of Deus Ex: Human Revolution. Source code reconstructed from the original game's compiled binary, so the game can be understood, rebuilt and ported.
- Do I need the original game files to run Deus Ex: Human Revolution Decompilation?
- Yes. The project does not include the original game's assets, so you need your own copy.