GitHub - rrika/cdcEngineDXHR: Decompilation of Deus Ex: Human Revolution
source link: https://github.com/rrika/cdcEngineDXHR
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Welcome
How to build (Linux 32-bit binary on Linux)
This build uses DirectX 11 through the dxvk-native project. CMake will automatically download and build the sources.
Note: Looking around using the mouse is not supported right now.
git clone https://github.com/rrika/cdcEngineDXHR.git
cd cdcEngineDXHR
mkdir native_build
cd native_build
cmake .. -DNATIVE_BUILD=ON
make
How to build (Windows 32-bit binary on Linux)
This build requires the Windows SDK. There exists a Rust tool named xwin that can download it on non-windows systems. See the rustup instructions for how to install Rust. Once that is done you can build and run xwin.
cargo install xwin --locked
xwin --accept-license --arch x86 splat
mv .xwin-cache/splat winsdk # need this specific folder name
# rm -rf .xwin-cache # if you want
The CMake build of this project expects to be in a directory adjacent to winsdk
.
git clone https://github.com/rrika/cdcEngineDXHR.git
cd cdcEngineDXHR
mkdir build
cd build
cmake ..
make
How to build (Windows 32-bit binary on Windows)
In Visual Studio 2019 choose "Open a local folder" on start-up. VS should detect the CMakeLists.txt file and set up the build for you. Be sure to select x86, not x64.
How to run
This project requires a copy of Deus Ex: Human Revolution Director's Cut to run. In the installation location you will find a number of files:
BIGFILE.000
BIGFILE.001
BIGFILE.002
...
DXHRDC.exe
Run the binary as follows:
export BIGFILE=path/to/game/BIGFILE.000
./dxhr # for linux build
./dxhr.exe # for windows build
In Visual Studio you can set the environment to BIGFILE=C:/path/to/game/BIGFILE.000
in the project properties.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK