ReXGlue fork adds a PS5 homebrew target for Xbox 360 recomps
A fork of the ReXGlue Xbox 360 recompilation toolkit now targets jailbroken PS5 consoles, with re:Blue PS5 as the first title.
A fork of ReXGlue now has a PS5 target. ReXGlue turns Xbox 360 PowerPC code into C++ ahead of time, and this fork runs the resulting titles natively on a jailbroken PS5, rendering through Vulkan on Mesa’s RADV. The fork is unofficial, and the ReXGlue team does not support it.
The first game on it is re:Blue PS5, a build of Blue Dragon that plays through its first disc. The code generator never runs on the console. A cross build imports a host-built rexglue through REXGLUE_HOST_TOOL, so the console only gets the finished executable.
Most of the work makes the console behave like the platforms ReXGlue already supports. The console’s getcontext() writes more than the SDK’s ucontext_t declares, which corrupted the heap at boot, so fibers on PS5 now switch with a small custom routine. A physical-heap offset bug also made XMA contexts read back as null in re:Blue. The fix changes the codegen template, so every game has to be regenerated.
To try it, you need a jailbroken PS5 and a host build of the toolchain. The README’s section on building a title points to mihawk-99’s PS5_PayloadSDK, but the text cuts off there, so read the branch’s build docs before you start. SDL3 and FFmpeg need the patches in tools/patches applied to their submodules first.
