hells-gate-recomp README

The project's README from github.com/florinp93/hells-gate-recomp. As one markdown file: README.md.

Hell's Gate

Dante's Inferno (Xbox 360), statically recompiled to run natively on PC.

Dante's Inferno fan artwork
Fan artwork by POOTERMAN (#12)

Latest release Ko-fi Discord Other Projects


Hell's Gate is a PC port of Dante's Inferno built with the ReXGlue SDK. The game's Xbox 360 PowerPC executable is translated ahead of time into portable C++ and compiled into a native program. There is no emulator and no JIT at runtime.

On top of the recompiled game, Hell's Gate ships its own renderer: the game's Direct3D layer is replaced by a project-owned implementation on DiligentCore (Vulkan), so the game draws at any resolution and aspect ratio without emulating the Xenos GPU.

You need your own copy of the game. Hell's Gate contains no game files. The installer asks for an Xbox 360 ISO of Dante's Inferno that you dumped yourself.

✨ Features

Playability

Graphics (native renderer, default since 0.8.0)

Input

Launcher

🎮 Getting started

Windows

  1. Download the latest package from Releases.
  2. Run DantesInfernoInstaller.exe, choose an install folder and point it at your Dante's Inferno Xbox 360 ISO.
  3. Launch from the desktop shortcut, adjust settings if you like, and press PLAY.

The launcher writes dantes_inferno.toml next to the game and checks for updates when it opens.

Linux

A working Vulkan driver is required on every platform.

DLC

Open the launcher's DLC tab, click Open DLC Folder, copy your DLC STFS package files in, then start the game. They are installed automatically on startup.

⚙️ Settings

Everything below is exposed in the launcher. Advanced users can pass the same options as command-line flags.

Setting Flag Notes
Resolution --dante_resolution=WIDTHxHEIGHT Defaults to your display's native resolution
Frame rate --video_mode_refresh_rate=60 60 / 120 / 180 / 240. Use multiples of 60
SMAA --dante_smaa=true On by default
Shadow quality --dante_shadow_scale=2 Shadow map scale, 1–4
Renderer --renderer=dante xenos is the D3D12 fallback (see below)

If the native renderer misbehaves on your machine, set renderer_override in dantes_inferno.toml to fall back to the emulated Xenos/D3D12 path.

🛠️ Building from source

You need your own default.xex and game files in game/ (see game/README.md). Requirements: Git, CMake 3.25+, Ninja, Clang 18+ (Clang 22 on Linux), Python 3 and PowerShell 7 (pwsh). Windows also needs Visual Studio 2022 with the Windows SDK.

The native renderer needs DiligentCore. Clone it before running setup so the project's patches are applied to it:

git clone --depth 1 --recurse-submodules https://github.com/DiligentGraphics/DiligentCore.git thirdparty/diligent-core
pwsh ./setup.ps1   # clones ReXGlue SDK v0.10.0 and applies the patches in patches/

On Linux, ./setup.sh does the same without PowerShell and also clones DiligentCore.

Windows

cmake --preset win-amd64-release -DREXSDK_DIR=thirdparty\rexglue-sdk
cmake --build out\build\win-amd64-release --target dantes_inferno_codegen
python patches\generated\apply_generated_patches.py
cmake --build out\build\win-amd64-release --target dantes_inferno

To package the launcher, installer and game into a release folder, run launcher\package-release.ps1 (details in launcher/README.md).

You can also cross-compile the Windows build from Linux with clang-cl and xwin; see docs/linux-cross-compile.md.

Linux (Ubuntu, Vulkan)

Step-by-step native Linux build

1. Install dependencies (keeps a backup of the manifest, which later steps overwrite):

cp dantes_inferno_manifest.toml dantes_inferno_manifest.toml.back
chmod +x ./scripts/install_dantes_min.sh
./scripts/install_dantes_min.sh

2. Set up the SDK (after cloning DiligentCore as above):

pwsh ./setup.ps1

3. Configure and build the ReXGlue CLI. The same configure command is reused below, so it is kept in a variable:

CONFIGURE=(cmake -B out/build/linux-release -G Ninja
  -DCMAKE_C_COMPILER=/usr/bin/clang-22
  -DCMAKE_CXX_COMPILER=/usr/bin/clang++-22
  "-DCMAKE_CXX_FLAGS=-stdlib=libstdc++ -I$(pwd)/thirdparty/rexglue-sdk/thirdparty/imgui -mssse3 -mavx2"
  -DREXSDK_DIR=thirdparty/rexglue-sdk)

"${CONFIGURE[@]}"
cmake --build out/build/linux-release --target rexglue

4. Build the Xenos GPU plugin:

cmake --build out/build/linux-release --target rexgpu-xenos
cp thirdparty/rexglue-sdk/out/linux-amd64/lib*.so ./out/build/linux-release/

5. Regenerate the SDK-managed project files (game/default.xex must be present):

thirdparty/rexglue-sdk/out/linux-amd64/rexglue init \
  --force \
  --project-name dantes_inferno \
  --project-root . \
  --xex-path game/default.xex \
  --game-root game

6. Generate the recompiled C++:

"${CONFIGURE[@]}"
cp dantes_inferno_manifest.toml.back dantes_inferno_manifest.toml
cmake --build out/build/linux-release --target dantes_inferno_codegen

7. Apply the generated-code patches:

python3 patches/generated/apply_generated_patches.py

8. Build the game:

"${CONFIGURE[@]}"
cp dantes_inferno_manifest.toml.back dantes_inferno_manifest.toml
cmake --build out/build/linux-release --target dantes_inferno
rm dantes_inferno_manifest.toml.back

The executable is out/build/linux-release/dantes_inferno.

9. Run it from the repository root:

./scripts/dantes_inferno_exe.sh

Linux (openSUSE Tumbleweed)

Differences from the Ubuntu steps

Steps 1 to 4 were tested on Tumbleweed with Clang 23; steps 5 to 9 need game/default.xex and are not yet tested on openSUSE. Clone the repository to a path with no apostrophe (') in it: parts of the build pass the path to the shell unquoted.

1. Install dependencies (also installs shaderc and wine, which FidelityFX needs to generate its shader permutations):

cp dantes_inferno_manifest.toml dantes_inferno_manifest.toml.back
./scripts/install_opensuse.sh

2. Set up the SDK without PowerShell. setup.sh does what setup.ps1 does and also clones DiligentCore and applies its patch:

./setup.sh

3 to 9. Follow the Ubuntu steps, but use the system Clang in CONFIGURE:

  -DCMAKE_C_COMPILER=clang
  -DCMAKE_CXX_COMPILER=clang++

🗺️ Status and roadmap

Current release: 0.8.0-beta

Area Status
Recompiled game: boots, saves, fully playable ✅ Done
FMV (VP6) playback fixes ✅ Done
Mouse & keyboard, SDL controller support ✅ Done
Ultrawide and 4:3 ✅ Done
DLC auto-install ✅ Done
High refresh rate (up to 240 FPS) ✅ Done
Native renderer (--renderer=dante) ✅ Default; still being refined
SMAA, higher-resolution shadows ✅ Done
Button glyphs (Xbox / PlayStation / keyboard) ✅ Done
Trials of Saint Lucia online server 🔬 In development (research)

📚 Documentation

Document Topic
Native renderer design How the D3D layer is replaced, milestones
Native D3D map The game's Direct3D entry points
Frame rate How high refresh rates are made to work
VP6 FMV fix Video corruption root cause and fix
Linux cross-compile Building on Linux, running under Proton
ReXGlue notes SDK notes and patches
Trials online emulator DLC online research

🤝 Contributing

Bug reports, pull requests and translations are welcome. The Italian launcher translation came from the community (#63), and the ARM64 launcher and AppImage from #11. Come say hi on Discord.

🤖 AI usage disclosure

AI tools were used as an assistant for documentation drafts, research into APIs and references, and routine Git work such as commit messages. Core architecture, problem-solving, implementation and final review are done by the project's human developers.

Credits

Hell's Gate is an unofficial fan project and is not affiliated with or endorsed by Electronic Arts, Visceral Games or Microsoft. Dante's Inferno is a trademark of its respective owners. This repository contains no game code or assets; you must provide your own legally obtained copy of the game.

hells-gate-recomp (florinp93/hells-gate-recomp)

Searching Database…

What is this?It is a static recompilation port that brings the Xbox 360 version of Dante's Inferno to native PC, using the ReXGlue SDK to translate the original PowerPC XEX executable directly into C++ code that runs natively on Windows (D3D12) and Linux (Vulkan).
Is this an emulator, or does it actually convert the game's code?It is not an emulator - ReXGlue performs static recompilation, turning the Xbox 360 PowerPC XEX executable into portable C++ that compiles into a real native executable, with no emulation layer or JIT at runtime.
How do I build and run the port?Clone the pinned ReXGlue SDK (v0.10.0) into thirdparty/rexglue-sdk, build the SDK CLI once, drop your own ripped Xbox 360 ISO into game/ (entrypoint at game/default.xex), regenerate the SDK-managed scaffolding, then configure and build - the build runs rexglue codegen automatically to translate the XEX into C++ and produces out\win-amd64\Release\dantesinferno.exe.
What do I need installed before building?Windows 10/11 x64, Clang 18+ (LLVM/Clang), CMake 3.25+, the Ninja build system, and Visual Studio 2022 for the Windows SDK and D3D12 headers.
Do I need to own the game to use this?Yes - you must extract your own legally ripped Xbox 360 Dante's Inferno ISO into game/, since no game files or assets are included in the repo and copyrighted content must never be committed.
Can the finished port run on Linux too, not just Windows?Yes - once recompiled, the port runs natively on Linux through Vulkan as well as on Windows through D3D12, even though the documented build prerequisites focus on the Windows/D3D12 toolchain.
What's the licensing situation for the code and game assets?This repo only contains port scaffolding and configuration; the ReXGlue SDK it depends on is BSD 3-Clause licensed, while Dante's Inferno and its game assets remain the property of their rights holders and are not distributed here.
Why use static recompilation instead of an emulator like Xenia?Static recompilation converts the original Xbox 360 machine code into native C++ ahead of time, avoiding runtime JIT/emulation overhead and allowing deeper, native-level customization of the port.
Can I customize how the port behaves?Yes - you can override virtual hooks like OnPostSetup, OnCreateDialogs, and OnConfigurePaths in src/dantesinfernoapp.h, a user-owned file that survives SDK regeneration via rexglue init/migrate.
What exactly is ReXGlue?ReXGlue is the underlying SDK that performs the static recompilation, translating Xbox 360 XEX executables into portable C++; it's a separate BSD 3-Clause licensed project pinned at v0.10.0 for this port.
Did AI write the game's recompiled code?No - AI was only used for documentation drafts, research, and routine git workflow tasks, while all core architecture, implementation, and problem-solving were done entirely by humans.
Creator
florinp93
Size
7.1 MB
Stars
924
Age
3mo
Commits · 90 Days