XboxValve, 2005
Xbox Experimental

Half-Life 2 (sp00nznet)

Game: Half-Life 2 → (Windows, 2004)

XBX

A static recompilation of the Xbox version of Half-Life 2 (2005) into a native Windows executable with xboxrecomp: the x86 code in hl2_xbox.xbe is translated to C (49,487 of 49,498 functions, 13.4 million lines) and linked against its runtime, which stands in for the Xbox kernel and turns Direct3D 8 into Direct3D 11, plus DirectSound and input. The executable keeps MSVC’s RTTI, which the author used to recover 2,336 classes and 12,288 named virtual methods, most of them found in Valve’s public Source SDK 2013. The disc’s loader is recompiled too, and its own decompressor turns the disc’s archives into the format the game reads. It isn’t playable yet: it boots on its own to its main menu, drawing the background but not the options, and with xboxrecomp v0.14.0 plus a pending patch the title screen draws in full; the controller doesn’t work yet. Forcing a map, it loads 22.3 MB of the first level and shows the loading screen, but never hands off to the world. There are no prebuilt executables: the translated code is generated on your PC. All 74 of its commits list Claude as a co-author.

You needYour own copy of Half-Life 2 for Xbox, with the disc’s files extracted. To build it, Windows with Visual Studio 2022, CMake 3.20 or later, Python 3.10 or later with capstone, and an xboxrecomp checkout (v0.14.0 with change #224 for the title screen); the Source SDK 2013 is optional.

How it gets to PC
Static recompilation
Console
Xbox
Architecture
x86
Author
sp00nznet
Original studio
Valve
Year
2005
Stars
7
Last activity
2026-10-17 · 25 days ago
License
MIT
Language
C
View repository ↗
x86first-person shooterai-assisted
README badge

If this is your project, you can add it to its README: it shows its status on Recompendium and updates itself when the status changes.

README badge
[![Recompendium](https://recompendium.com/insignias/recomp/half-life-2-sp00nznet.svg)](https://recompendium.com/en/recomp/half-life-2-sp00nznet/)

Other projects for Half-Life 2 2