Skip to main content
ReXGlue Banner

Welcome to ReXGlue SDK

ReXGlue converts Xbox 360 PowerPC code into portable C++ that runs natively on modern platforms.
Early Development Notice: This project is in early development. Expect significant changes and breaking API updates as development progresses. Contributions and feedback are welcome!

What is ReXGlue?

ReXGlue is a static recompilation toolkit for Xbox 360 executables. Rather than interpreting or JIT-compiling PowerPC instructions at runtime like traditional emulators, ReXGlue generates C++ source code ahead of time that can be compiled and run natively on Windows and Linux. ReXGlue is heavily rooted on the foundations of Xenia, the Xbox 360 emulator. It takes a different path inspired by XenonRecomp and rexdex’s recompiler by generating C++ source code that can be compiled with standard toolchains.

Key Features

Static Recompilation

Generate portable C++ code from Xbox 360 XEX executables that compiles with standard toolchains

Cross-Platform

Run recompiled games natively on Windows (D3D12) and Linux (Vulkan) with x64 architecture

Modern C++23

Built with modern C++23, requires Clang 18+ for optimal performance and compatibility

Complete Runtime

Includes kernel emulation, graphics backends, filesystem virtualization, and input handling

How It Works

The ReXGlue workflow consists of three main phases:
1

Analysis

ReXGlue analyzes the Xbox 360 executable (XEX format) to identify functions, data regions, and control flow patterns
2

Code Generation

PowerPC instructions are translated to equivalent C++ code with full support for register state, condition flags, and exception handling
3

Compilation

The generated C++ is compiled with your project using CMake and Clang 18+, linking against the ReXGlue runtime libraries

Example Projects

See ReXGlue in action with these example projects:

Platform Support

PlatformArchitectureGraphics BackendStatus
Windowsx64D3D12✅ Supported
Linuxx64Vulkan✅ Supported
macOSARM64/x64Metal❌ Not supported

Requirements

  • Compiler: Clang 18 or newer
  • C++ Standard: C++23
  • CMake: 3.25 or newer
  • Architecture: x64 (64-bit) only
  • Graphics: D3D12 (Windows) or Vulkan (Linux)

Next Steps

Architecture Overview

Understand the recompilation system architecture and runtime components

Installation

Install the ReXGlue SDK and set up your development environment

Quick Start

Create your first recompiled project in minutes

Join Discord

Get help, share your projects, and stay updated on development

Community & Support

Disclaimer

ReXGlue is not affiliated with nor endorsed by Microsoft or Xbox. It is an independent project created for educational and development purposes. All trademarks and copyrights belong to their respective owners. This project is not intended to promote piracy nor unauthorized use of copyrighted material. Any misuse of this software to endorse or enable this type of activity is strictly prohibited.

Build docs developers (and LLMs) love