ReIGlue: a fork of ReXGlue for Forza recompilations, starting with Forza Horizon 1: ReImagined.
ReXGlue turns Xbox 360 PowerPC code into portable C++ and runs it on a runtime and a Xenos GPU emulation that come from Xenia. ReIGlue is that SDK plus the fixes and features the Forza Horizon 1 port needed: made for Forza games, with the general fixes kept apart so any ReXGlue game (and upstream) can take them.
This is not an official ReXGlue project, and it is not affiliated with or endorsed by Microsoft, Xbox, Playground Games or Turn 10. It contains no game code or data.
main is a ReXGlue nightly commit with one commit per change on top. The base is ReXGlue nightly
0.10.0.24, commit bd833a2 (nightly-20261002-bd833a2a). Each commit's subject starts with its
number in the patch series the game repository used to carry (patches/rexglue-sdk/), and its
message says what changes and why.
docs/reiglue/commits.md lists every commit and marks it:
- General (130): Xenos GPU accuracy (most are Xenia fixes the SDK did not have), performance of the GPU emulation and the runtime, input (racing wheels, controller remapping, keyboard and mouse, impulse triggers), runtime and platform fixes (Windows, macOS, audio, file system), diagnostics, codegen and build.
- Forza (38): the scene/HUD split and what builds on it (DLSS, FSR 3, MetalFX, SMAA, live graphics settings, ultrawide, HDR with HUD coverage, VR through OpenXR with true stereo), texture packs, shader-hash effects such as world ambient occlusion, car thumbnails and FH1's wheel layouts. They rely on Forza Horizon 1's shaders, render targets or controls; another game needs its own hooks for them. Change 0399 adds the optional active physical controller-disconnect sequence for FH1 auto-pause; its actual SDK fixture distinguishes that event from merged keyboard input and idle spare devices. It requires a new maintainer revision tag before a client can pin it; the production r2 tag is unchanged.
Issue numbers (#45) in commit messages are Forza Horizon 1: ReImagined's issues.
A release is a tag: fh1-<ReXGlue version>-r<n>, for example fh1-0.10.0.24-r1 (ReXGlue nightly
0.10.0.24, first ReIGlue revision on it). A game pins a tag; old tags stay, so old game releases still
build. The SDK's own version (rexglue --version) follows upstream's scheme and counts the commits
since upstream's v0.10.0 tag, so it reads 0.10.0.<n>-dev.g<sha>; the floor that codegen stamps
into a project (0.10.0) is the upstream one.
As upstream, plus one step each for the SDL and FFmpeg submodules:
git clone --branch fh1-0.10.0.24-r1 https://github.com/FH1-ReImagined/ReIGlue
cd ReIGlue
git submodule update --init --recursive --depth 1
git -C thirdparty/sdl3 apply "$PWD"/patches/sdl3/*.patch
git -C thirdparty/FFmpeg apply "$PWD"/patches/ffmpeg/*.patch
cmake --preset linux-amd64
cmake --build out/build/linux-amd64 --config Releasepatches/sdl3/ holds the one change to SDL (0147: endless haptic effects stay endless on Windows
and macOS), and patches/ffmpeg/ the one change to FFmpeg (0413: the XMA decoder reports each
frame's skip fields), each applied to the submodule commit the SDK records. Forza Horizon 1: ReImagined's
tools/build_rexglue_sdk.sh does all of this, builds only the GPU plugin (rexgpu-xenos), the
runtime (rexruntime) and the code generator (rexglue), and installs them over an installed
ReXGlue nightly of the same commit, which keeps them ABI-compatible with it.
Some features download pinned, hash-checked files at configure time: the NVIDIA DLSS SDK headers and
loader (cmake/ForzaDlssSdk.cmake), AMD FidelityFX FSR 3.1 shaders (cmake/ForzaFsr3Sdk.cmake)
and SMAA (cmake/ForzaSmaa.cmake). Their licenses are installed with the GPU plugin.
ReIGlue stays a fork: upstream's history is kept as it is, and upstream is the remote for
https://github.com/rexglue/rexglue-sdk.
- A new ReXGlue nightly: rebase the series onto the nightly's commit, one commit at a time, keeping
one commit per change (
git rebase --onto <new nightly> <old base> main). A change upstream has taken is dropped; a conflict is fixed in the commit that owns it. Build and test the game on the result, then tagfh1-<new version>-r1.mainis rewritten by a rebase; tags are not. - A new change: one commit on
mainwith the next free number, a subjectNNNN Area: whatand a message that says what changes and why; then a new revision tag (-r2,-r3, ...) and the game moves its pin. - Upstream: general commits are written so they can go to rexglue/rexglue-sdk as they are.
ReXGlue's LICENSE (BSD 3-Clause, with Xenia's notice) is unchanged and covers this fork. NOTICE credits the projects ReIGlue builds on: ReXGlue, Xenia and Pinyon Shift, whose BSD 3-Clause code (ultrawide presentation, the HDR presenter) is adapted here under LICENSE-Pinyon-Shift. Thanks to the ReXGlue team and community for the SDK this is built on: see upstream's credits.