# GitHub decompiles Resident Evil 4

> GitHub reveals complete byte-identical C/C++ source for GameCube Resident Evil 4 debug build.
- Title: GitHub decompiles Resident Evil 4 · GitHub | Shortify
- Summary: GitHub reveals complete byte-identical C/C++ source for GameCube Resident Evil 4 debug build.
- Keywords: resident evil 4, gamecube, capcom, decompilation, g4be08, sn systems, codewarrior, nintendo sdk, GitHub
- URL: https://shortify.news/GitHub/github-decompiles-resident-evil-4
- Source: GitHub — https://github.com/adonis-singh/re4
- Read time: 1 min
- Topics: resident evil 4, gamecube, capcom, decompilation, g4be08, sn systems, codewarrior, nintendo sdk, technology, startups
## Resident Evil 4 decompilation
This is a complete byte-identical decompilation of Resident Evil 4's GameCube debug build G4BE08.
## Debug build details
G4BE08 shipped with Bio4.sym symbol files naming every function.
## Source structure
570,000 lines of C/C++ in src/ and 44,000 headers in include/.
## Build tools
Requires Linux, Python 3 and ninja to compile the debug build.
## Code origins
Built with SN Systems ProDG 3.9.3, GCC 2.95.3 and Metrowerks CodeWarrior 2.4.7.
## Source organization
src/game/ contains game code, src/em* enemies, src/wep* weapons and src/pl* player characters.
## Compiler differences
526 compiler differences marked with // COMPILER-DIFF comments.
## What's next
Project aims to reduce compiler differences while preserving exact byte output.
## Key takeaway

Adonis Singh decompiled Resident Evil 4's G4BE08 debug build into 570,000 lines of C/C++ code matching original bytes.

---

Summary: Shortify — https://shortify.news/GitHub/github-decompiles-resident-evil-4
Reporting: GitHub — https://github.com/adonis-singh/re4

When you use this summary, link the Shortify URL for the summary and credit the reporting to its newsroom.