0xreversed/with.ai
Reverse engineering frameworkLGPL-2.1+

xboxrecomp

Static Recompilation Toolkit for Original Xbox Games, translating XBE binaries into native C source code for modern platforms.

Updated · 4 projects

About xboxrecomp

xboxrecomp is a static recompilation toolkit designed to convert original Xbox (2001-2005) retail XBE executables into native programs for Windows, Linux, and macOS. Unlike emulation or JIT compilation, it translates x86 machine code from the Xbox binary into equivalent C source code, which is then compiled into a native x86-64 or arm64 executable. The toolkit includes a Python-based pipeline for parsing XBE headers, disassembling machine code, identifying library functions (such as CRT or D3D), and lifting instructions to C. It provides a suite of runtime libraries that act as compatibility layers, including a kernel shim routing 371 ordinals, a D3D8 to D3D11/OpenGL abstraction, and audio mixing via xemu-derived APU code. The resulting binaries run directly on the host CPU, supporting native performance and moddability.

Summarised from the official page linked above.

4 projects

Projects using xboxrecomp

Prince of Persia: The Sands of Time (Xbox): The Sands of Time Xbox code, running as native Windows at 120 fps and 16:9.
Partial
GitHub · Games and mods

Recompiled Prince of Persia: The Sands of Time (Xbox) for Windows, with AI agents

The Sands of Time Xbox code, running as native Windows at 120 fps and 16:9.

Blinx 2 (Xbox, 2005): Own disc in, native Blinx 2 Windows build out.
Works
GitHub · Games and mods

Automated the Blinx 2 static recompilation build: your own Xbox disc image becomes a native Windows game

Own disc in, native Blinx 2 Windows build out.

Model Claude Opus 5.5
Steel Battalion (Xbox, 2002): An Xbox mech game translated to a Windows build, not yet booting.
Research
GitHub · Games and mods

Began a static recompilation of the original Xbox game Steel Battalion for Windows, mostly with ChatGPT Codex

An Xbox mech game translated to a Windows build, not yet booting.

Model ChatGPT Codex
Jet Set Radio Future (Xbox, 2002): The Xbox game as a native Windows exe, also on Steam Deck.
Works
GitHub · Games and mods
Reproducible

Recompiled Jet Set Radio Future (Xbox) into a Windows program, with Claude writing most of the code

The Xbox game as a native Windows exe, also on Steam Deck.

Model Claude Opus 5.5
Used xboxrecomp on something?

Share the writeup or repo, and what the AI got right and wrong.

Submit a project