# ps5-fg — frame generation for a PS5 game on a jailbroken PS5 (tester build) Experimental. It adds generated frames between the game's own frames, so the picture moves more smoothly. Two files, pick one per session: | File | What it does | Game setting | |---|---|---| | `ps5-fg-tester.elf` | **40 → 120.** Its own frame generation from the game's motion vectors and depth (like FSR 3 / DLSS frame generation). Made for the **PS5 Pro**. | the 40 fps patch loaded, 120 Hz output | | `ps5-fg-60-tester.elf` | **30 → 60** with Lossless Scaling's frame generation. | the game's normal 30 fps (no 40 fps patch) | It changes the running game's memory only. Nothing on the console is modified except its own files in `/data` (the DLL copy, a few settings folders and its logs, all named `ps5-*`). ## What you need - A **jailbroken PS5**, with an ELF loader on port 9021 and an FTP server on port 2121. Tested only on a **PS5 Pro on firmware 13.00** with the backport setup. **11.60** is supported but not yet tested cleanly (frame generation runs; flicker and FPS drops are known, please report). On any other firmware the payload stops before touching the game. - **On 11.60** (backports that keep PSSR): the **"PSSR off"** patch, every launch: either its PS Patch System entry (`patches/PPSA38500.xml`) or `pssroff.elf` sent before the game. Without it the game check fails and the game uses an upscaler the frame generation can't read. - **Not together with** VI-Patch's Weather fix, Ultrawide, FOV or Unlock hidden settings (they use the same code area), or a PS5 Pro preset patch. - **The target game's exact build (title PPSA38500, EUR) with the same backport.** The payload checks the game's code before it writes anything; on any other build it stops and tells you, without touching the game. - **Lossless Scaling 3.2.2.0** — your own copy from Steam. Its `Lossless.dll` is in the app's Steam folder (`steamapps/common/Lossless Scaling/Lossless.dll`). It is not included here: it is a paid app. Only version 3.2.2.0 is accepted (both files need it). - A PC with **Python 3** on the same network as the console. ## One-time setup ``` python tools/setup_console.py "" ``` This checks the DLL version, copies it to `/data/ps5-lsfg/`, and sets the 40 → 120 build's settings. ## Each time you play **40 → 120** (`ps5-fg-tester.elf`): 1. Close the game if it is running. 2. Load your 40 fps patch for the game. 3. `python tools/send_payload.py ps5-fg-tester.elf` 4. Launch the game **within about 2 minutes** and play. Frame generation switches on by itself shortly after the game starts drawing its world (the title screen may already count). **30 → 60** (`ps5-fg-60-tester.elf`): 1. Close the game. Do **not** load the 40 fps patch. 2. `python tools/send_payload.py ps5-fg-60-tester.elf` 3. Launch the game within about 2 minutes and play. Frame generation switches on about a minute after the world appears (it prepares its shaders first). Rules: - **Send it before launching, once per launch.** If the game is already running it refuses and does nothing — close the game and start again. - **To stop it, quit the game.** The console may then report that the game was closed by the system; that is expected with it loaded. - **Do not use rest mode** while playing with it (untested; it will probably close the game). ## Known limits - HUD, minimap and menus are handled by rules; a little ghosting can remain in places. - Some smear can appear right behind fast-moving cars. - Water, smoke and particles have no motion vectors; how they look is not well tested yet. - Camera cuts show a real frame instead of a generated one (new, not much tested). - 40 → 120 has been measured at about 116 fps on a PS5 Pro; other hardware is untested. ## Reporting For image quality and FPS comparisons, use the [Frame generation test report](https://github.com/Swordpdf/ps5-mvfg/issues/new?template=frame-generation-report.yml). It records the display signal, the scene tested and the source of each FPS reading. After a session (good or bad): ``` python tools/collect_logs.py ``` It saves a zip in `tools/` with the logs (read-only; nothing on the console changes). Send it with: your console model and firmware, which file you used, what you saw (smoothness, any ghosting or glitches, where), and whether the game was steady. ## Settings and removal ``` python tools/setup_console.py --flags list python tools/setup_console.py --flags clear mvfg (40 → 120 build: use Lossless Scaling instead) python tools/setup_console.py --uninstall (removes everything it put in /data) ``` ## Notes - Lossless Scaling belongs to its developer; this package contains none of it and needs your own purchased copy. - Non-commercial, experimental, use at your own risk.