# 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.

- Published: 2026-11-10T08:23:22Z
- Score: 7/10
- Tags: ps5, recomp, homebrew, tool
- Web page: https://emu-radar.customfw.xyz/news/rexglue-fork-ps5-homebrew-port/
- Sources: https://github.com/dragonscales123/rexglue-sdk-PS5

A fork of [ReXGlue](https://github.com/rexglue/rexglue-sdk) 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](https://github.com/dragonscales123/rebluePS5/tree/ps5-port), 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.
