Repository navigation
v0.2 — HDR support
One-file payloads that inject frame generation into a running game on a jailbroken PS5. Send the ELF, launch the game
within two minutes, play.
| Asset | Console | HDR | What it does | Needs |
|---|---|---|---|---|
| mvfg120.elf | PS5 Pro | yes | 40 → 120 fps with motion-vector frame generation; HDR is detected from the game's own buffer | the 40 fps patch + 120 Hz; your own Lossless Scaling 3.2.2.0 Lossless.dll |
| baseps5.elf | base PS5 | yes | same, built for the base console's memory (no 1.25 GiB device-memory pool) | the "GPU memory -1 GiB (base PS5)" game patch, the 40 fps patch + 120 Hz, your own Lossless.dll |
| lsfg60.elf | PS5 Pro | no | 30 → 60 fps with Lossless Scaling's frame generation | no fps patch, HDR off; your own Lossless.dll |
The builds carry no Lossless.dll (it is a paid application). Put your own file at /data/ps5-lsfg/Lossless.dll;
every build checks its version before doing anything.
What changed since v0.1
- HDR works with the motion-vector generator. The display buffers are packed
2:10:10:10words; the resolve now
unpacks them and writes plain 8-bit, because the driver converts on present. v0.1 packed the output as well, so
generated frames came out hue-scrambled in HDR. HDR selects the motion-vector generator by itself (Lossless Scaling
cannot do 10-bit), and the 10-bit format is detected from the game's own buffer. - No more stale buffers. Until the format detector has voted, and whenever generation is off, the resolve writes
the real frame into our display buffers. Previously those buffers could keep an old generated frame on screen. - The same re-registration fix as v0.1 (the game registers its display buffers a second time; ours are re-appended
with the game's attribute struct, no more0x8029000A). - 30 → 60 stays SDR-only. The Lossless Scaling chain blends the packed 10-bit words as four bytes; with HDR on its
generated frames are wrong. Usemvfg120.elfwhen HDR is on,lsfg60.elfwith HDR off.
Tested environments
- PS5 Pro, 13.00 — the development console. HDR verified 2026-11-30: 10-bit detected, 37.2 real + 72.3 generated
fps, correct colours and HUD. SDR verified too. - PS5 Pro, 11.60 — frame generation runs (firmware row in the build); flicker and fps drops are still open.
- Base PS5, 11.40 — measured by a contributor: 2560 × 1440, HDR auto-detected, 28.9 real + 28.6 generated fps over
228.6 s (details indocs/base-ps5-11.40). Needs the game patch below andbaseps5.elf. - Base PS5, 13.60 — not supported: without the memory patch the game's start-up runs out of direct memory.
Base PS5: the two extra steps
- Apply "GPU memory -1 GiB (base PS5 frame generation)" from
patches/PPSA38500.xml(PS Patch System): the game
reserves its GPU memory as one 6236 MiB block, leaving ~76 MiB on a base PS5 — too little for the four display
buffers. The patch makes the block 1 GiB smaller at the ten places the size is written. - Send
baseps5.elf(it leaves the driver to map its own device memory).
If your backport leaves the PSSR check alone, the game check stops the payload: apply "PSSR off" from the same XML
file first (it writes 31 c0 c3 at eboot+0x8f67550), or regenerate fingerprint.h with
native/tools/eboot_fingerprint.py from your eboot.
What is in this release
- Launch hook: RegisterBuffers2 ride-along that appends the display buffers, second-allocator hook, per-firmware
memory profiles (13.00, 11.60, 11.40 base), and re-registration of our buffers on later registrations. - In-process loader: resolves the module's imports and starts it inside the game.
- Frame generation: the motion-vector generator (fixed HUD rectangles for minimap/compass, the menu/stale rule,
camera-cut handling, 10-bit HDR output) and the Lossless Scaling chain for 30 → 60. - Checks: the game's code fingerprint is verified before anything is written (a different build is refused), the
DLL is version-checked, and the binaries carry no user paths. - Build tooling: a reproducible local toolchain (
toolchain/), diagnostics (CONTROL,DIAG), the driver source
and the LSFG backend source in the tree (GPL-3.0).
Known limits
- Menus and HUD overlays are shown from the nearer real frame; camera cuts reset interpolation.
- Water, smoke and particles have no motion vectors.
lsfg60.elfis SDR-only (see above).- Closing the game with the module resident can end in the console's suspend timeout (harmless on quit; avoid rest
mode).
SHA-256
mvfg120.elf 99e7ce4c5735f2555e640d6ba8beae1cb5e9d94c520992953049e76f038673f7
baseps5.elf 3ae0f6fd8365401c4219da18319c978dd964a50e82d7e88cf337bb4505c9531a
lsfg60.elf 9833de502428b107187e5478cae49b1e8bf9d6caabdcd4112f1d9de203d33c48
Full engineering log and build instructions: BUILD.md and README.md in the repository.