Halo 2 Decompilation
Work-in-progress effort to recreate the retail Halo 2 executable for the original Xbox as readable C and C++, checking each function against the shipped binary. Long-term goal is native PC, Linux and handheld builds.
Matching decomp Not stated wip · 83.11%007: Agent Under Fire - XBE Recomp · 007: Everything or Nothing - XBE Recomp · 007: From Russia with Love - XBE Recomp
About Halo 2 Decompilation
Halo 2 Decompilation is a community project to recreate the program logic of the original Xbox Halo 2 as readable C and C++. It is a matching decompilation: each rewritten function is compiled with the same Visual C++ compiler the game shipped with and must produce exactly the same bytes as the retail executable, which gives every function an automatic pass or fail. Besides the game's own code it also decompiles the Havok physics library linked into the game, so that vehicles, ragdolls and projectiles can behave as they did on the Xbox. Other libraries, such as the Xbox SDK and Bink video, are left for a future port to replace.
There is nothing to play yet. Building or checking the code needs the default.xbe from your own retail disc, and byte-for-byte checking currently also needs the original Xbox development compiler, which the project does not supply or help obtain; analysis, documentation and review can be done without it. The repository holds no game assets, executable, SDK files or leaked source.
The project says 10,609 of 11,326 game functions now match, about 73 percent of the game code by size, along with 1,345 of 1,436 Havok functions, covering areas such as the script engine, AI, damage and shields, networking, UI, sound and maths. It notes that matching is harder than for Halo: Combat Evolved because the retail build used link-time code generation, which inlines code across files and gives functions non-standard calling conventions. A native PC, Linux and handheld port is the final planned stage, and an open issue tracks an Apple Silicon macOS port. Contributors claim address ranges, and many, the maintainer included, work with AI coding agents.
On the site, the Halo: Combat Evolved decompilation and the OpenCE port are the closest relatives, covering the first game.
Decomp progress
Facts
- Original
- Halo 2 (2004)
- Platform
- Xbox
- Method
- Matching decomp
- Provenance
- Not stated what this means
- Status
- wip · 83.11% matched
- Licence
- CC0-1.0
- Team
- kirklandsig
- Started
- 2026-10
- Needs the original
- Yes: you supply your own legally obtained copy
How to get it legally
This project ships code only. Build or download it from the official repository, then supply data from a copy of Halo 2 you own. Recomp never links to ROMs, discs or game data.
This project was decompiled by kirklandsig. Facts last checked 2026-10-14. Suggest a correction
Sources
Related
All games →007: Agent Under Fire - XBE Recomp
007: Agent Under Fire
PC port of the original Xbox version built with TGP482's XBE recompiler, supporting both the USA and PAL discs. A small launcher fetches the runtime and a bundled Clang, then compiles the game's code from the player's own disc on first setup; it adds a PC settings page, keyboard and mouse play and post-processing options.
007: Everything or Nothing - XBE Recomp
007: Everything or Nothing
Windows port of the Xbox Everything or Nothing, recompiling both the on-foot default.xbe and the separate driving.xbe with TGP482's Xbox XBE Recomp and switching between them seamlessly. Supports the European and USA discs; the launcher builds from the player's image and adds anti-aliasing, anisotropic filtering, free aim and other PC options.
007: From Russia with Love - XBE Recomp
007: From Russia with Love
Native PC port of the original Xbox version of the Bond game, with wide FOV, keyboard and mouse, rebindable controls and other options; the release ships the recompiler and toolchain so the port is built from the player's own default.xbe.
3S Decomp
Street Fighter III: 3rd Strike (PS2)
Decompilation of Street Fighter III: 3rd Strike for PlayStation 2, aiming to recreate source that could allow ports.
Advance Wars 2: Black Hole Rising decompilation
Advance Wars 2: Black Hole Rising
Work-in-progress matching decompilation of Advance Wars 2: Black Hole Rising for GBA; builds still need the original as a base.
Advance Wars decompilation
Advance Wars
Archived decompilation of the US Advance Wars for GBA that builds a byte-identical copy of the original.