sp00nznet /xboxrecomp
Turn any Xbox game binary into a native Windows executable. No emulation. No interpreter. Just raw, recompiled C.
★ 411⑂ 135👁 14⑃ 319● 17▤ 10
+5
日增长
411
stars
135
forks
14
watchers
319
prs
17
issues
10
releases
README
xboxrecomp
Static Recompilation Toolkit for Original Xbox Games
Turn any Xbox game binary into a native executable for Windows, Linux or macOS. No emulation. No interpreter. Just raw, recompiled C.
Join the sp00nznet recomp Discord — the
community hub for sp00nznet's recomp projects, where ps3recomp development
happens in the open. Good place to ask questions, show a port you are working
on, or find out what people are stuck on before you duplicate the effort.
Title-agnostic. The runtime, kernel layer, D3D8 abstraction, NV2A translator, and the Python pipeline (parser → disasm → func_id → abi_analysis → recomp) all derive per-title layout and behavior from the XBE itself. Burnout 3: Takedown was the reference title the toolkit was built against, so many docs use its metrics as examples — see docs/technical/candidate-games.md for ports in progress.
Recent Changes
Current version: v0.17.0 — _"Empty Promises"_ (November 2026).
See the Changelog for what landed and when.
---
What Is This?
This is a complete toolkit for statically recompiling original Xbox (2001-2005) games from their retail XBE executables into native programs: Windows first, with Linux and macOS (x86-64 and arm64) hosts too.
Static recompilation takes the raw x86 machine code from an Xbox binary and translates every function — every mov, every jmp, every call — into equivalent C source code. That C code compiles with MSVC into a native x86-64 .exe that runs on modern Windows; the runtime libraries also build on Linux and macOS, x86-64 or arm64, with SDL2 and OpenGL standing in for Win32 and D3D11. The game's original logic executes directly on your CPU, not through an interpreter or JIT compiler.
This is the first public static recompilation toolkit for the original Xbox.
Microsoft got here first: their internal Ficl/Fission recompiler shipped Xbox
back-compat on the 360. We have since studied it — see
Microsoft's Own Recompiler.
The technique has been proven on other platforms — N64Recomp showed MIPS-to-C was viable, XenonRecomp brought it to Xbox 360's PowerPC — but nobody had tackled the OG Xbox until now. Its x86 architecture makes it both easier (same instruction set family as the host) and harder (variable-length instructions, complex addressing modes, x87 FPU stack) than MIPS or PPC targets.
Why Not Just Use an Emulator?
Emulators are great. Cxbx-Reloaded and xemu do incredible work. But static recomp offers some unique advantages:
- Native performance — recompiled code runs at full speed, no interpretation overhead
- Moddability — the output is human-readable C code; you can patch, extend, and improve the game
- Portability — the C output can target any platform Top issues
#127Black stalls before first valid D3D Present in native recompilation — guidance on the runtime boundary?10 comments · 2026-09-25#306Design: define the NV2A renderer backend contract3 comments · 2026-10-31#259apu: XAudio2 at 4 x 512 crackles in borderless fullscreen; the device-paced render-ahead overtakes the title's stream3 comments · 2026-10-24#225Add lower input lag / audio latency to the "Why Not Just Use an Emulator?" section3 comments · 2026-10-17#240Burnout 3 stops before its first draw on main since afeb69f2 comments · 2026-10-20#12Possibility of porting Half-Life 22 comments · 2026-09-01#223Proposal: xboxrecomp-cli, a shared build, package and player-wizard front end for titles1 comments · 2026-10-16#318div and idiv lift as 32-bit at every operand width0 comments · 2026-11-07
Latest release
v0.17.0 — "Empty Promises" v0.17.0 2026-11-06Fifty-five PRs, and the thread through most of them is a call that said yes and did nothing. NtSetTimerEx returned success without arming a timer, so SSX On Tour's 60 Hz frame clock never ticked. KeSetBasePriorityThread handed a guest address to the host as a thread handle, so no title's thread priority was ever applied. RECOMP_RASTER_THREADS was documented and did nothing on POSIX, and XC_VIDEO promised widescreen and HDTV in a half-word XAPI never reads, so every title saw 0. Each one reported success, which is why none of them was found by looking for errors. Contributed: lifter - Flags n