# Resident Evil 5: Gold Edition (re5dx9.exe): Resident Evil 5: Gold Edition Static Recompilation

> Source: <https://reversedwithai.com/p/resident-evil-5-gold-edition-re5dx9-exe-9b6b9d1f>
> Published: 2026-10-25 07:30:55+00:00

## Evidence at a glance

Based on the linked sources. The author's reported result and independent confirmation are separate checks.

- AI involvement
- Reported models: Claude. Tools: CMake, Ninja, Python, pcrecomp, dxvk-native, FAudio, SDL2, FFmpeg. The writeup below describes the work attributed to AI.
- Reported result
- Research. This is the directory's source-based outcome classification.
- Independent confirmation
- Not reported.
- Human work and limitations
- The project is currently in the research and development phase, focusing on the infrastructure required for static recompilation. It relies on a clean, unprotected binary provided by the user.

### Original sources

## What was done

A project to statically recompile the x86 Resident Evil 5 binary into portable C code, enabling native execution on Windows, Linux, and Android ARM64 without dynamic emulation.

The project aims to perform static recompilation of the x86 PE32 binary of Resident Evil 5: Gold Edition into portable C code. This approach enables native execution on Windows, Linux, and Android (ARM64-v8a) by leveraging a custom runtime and lifting pipeline. The architecture utilizes the MT Framework 1.4 engine, requiring complex handling of multithreaded tasks, memory ordering, and 32-bit pointer mapping on 64-bit hosts. The author reports that Phase 0, which includes the build system, base runtime, and lifting pipeline, is complete and verified via synthetic PE32 tests. Claude Opus 5.5 is credited as a co-author for various optimizations, including flag analysis, SSE vectorization, and stack overflow handling. The project integrates several third-party libraries, such as dxvk-native for D3D9 to Vulkan translation, FAudio for audio, and libadrenotools for Android support. Current progress includes unit tests for runtime components like cursor management and WMV audio-video synchronization. The repository does not distribute game assets or original binaries, requiring users to provide their own legally acquired copies. Documentation is available at [https://raw.githubusercontent.com/pedrocavalcanti-coder/re5-steamversion-recompandroid/HEAD/README.md](https://raw.githubusercontent.com/pedrocavalcanti-coder/re5-steamversion-recompandroid/HEAD/README.md).

## Reproduce it

```
git lfs pull --include='bin_input/*'; python3 scripts/doctor.py; cmake --preset linux-debug && cmake --build --preset linux-debug; ctest --preset linux-debug
```


