GTA V: the prologue plays (testing branch of the PRs it needs) #426
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/426"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MichonGoddijn231849 on 2026-10-03T00:00:31Z.
What
GTA V (PPSA04264) now plays its North Yankton prologue at about 10 fps, with music, speech, sound effects and the HUD:
This builds on @STL1te's #153 (and #144 before it), which boots the game with its own
sce_moduleinto the Story Mode load. @oneandonlydean's #276, #277, #303, #408 and #415 are a large part of the speed and correctness here. Thank you both.This PR is for testing, not for merging. Every change in it is its own PR below, each with its own description and tests. This branch is current
mainwith all of them merged, plus the merge resolutions between them. Once they land, this PR closes.What it takes
Rendering:
image_sample_cdv_writelane_b32ignores EXEC (merged)v_mov_b32SDWA byte destinations (an intermittent abort during boot)Audio:
Memory:
Performance, from 1.5 to about 10 fps in the prologue:
Story Mode is an add-on entitlement. Listing
GTAVSTORYMODE001inanyps5-entitlements.ini(the #153 mechanism) enables "Resume Story".Not done yet
Tested
Windows 11 Pro, AMD Ryzen 5 7600, NVIDIA GeForce RTX 5080 (driver 32.0.16.1074), 32 GB DDR5-5600, MinGW-w64 GCC 15.2.0.
sce_module. On this exact branch: Main menu → Resume Story → the prologue plays at about 10 fps. Rendering, reflections, music, speech and sound effects are correct. No draws are refused.ctest: all tests pass.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (the screenshot is hosted outside it)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-03T00:34:36Z.
Nice work! I have more performance fixes coming real soon!
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-03T05:20:14Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/libs/tests/PixelAncillary.cppcore/libs/prx/libSceAgcDriver/Graphics/include/MultisampleTarget.hppcore/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cppcore/libs/tests/PixelAncillary.cppcore/libs/prx/libSceAgcDriver/tests/execution/QuadPixelMask.cppcore/libs/tests/PixelAncillary.cppImported from boykopovar/AnyPS5. Originally posted by RomainROCH on 2026-10-04T03:39:26Z.
Hi! I’m preparing to reproduce your GTA V prologue results with PPSA04264 v01.005. Could you share the exact app/content version and a reference manifest with file paths, sizes and SHA-256 hashes, particularly for eboot.bin, sce_sys/param.json and the bundled sce_module files?
It would also help to know which integration commit you tested and whether any game files or modules were modified. I’m only asking for metadata and hashes, not game files, so I can check that my input matches your test setup. Thanks!
Imported from boykopovar/AnyPS5. Originally posted by MichonGoddijn231849 on 2026-10-04T08:13:07Z.
Sure. This is the dump I tested with: PPSA04264,
contentIdUP1004-PPSA04264_00-GTAVFULLGAMEDISC,contentVersion01.005.000,masterVersion01.00.60d394626ac62acd1b20d205599b104bb51756d468d3878ad14c230bfe305c11eboot.bin630cb5995d8665b0b970d45d6ed651806b0d1b47cefa6f2f9315c0b7ef1ac4fcsce_sys/param.jsonbe3b3847848b9f65a4ba880aea3dfdb0ab3b068036d187f4b63aa965000b8323sce_module/libc.prxd1e448d45fe3b36127430e642d85a2e0d6528b554123c913a2655d014668b1a0sce_module/libc.prx.esbak09a3c5f4d3f7a50eda117891ebd12973e57df38c24a896a339a691c7177f5f5fsce_module/libSceJobManager.prx59d52fbef8ade025ef2531159d69124239e9299e7bcf51eab1294ccf43d00206sce_module/libSceJobManager.prx.esbak12e445a98b441989626489412e6adb0ba21e8b00cbbc94b117a92267f4a16ebfsce_module/libSceNpCppWebApi.prx8e05d2c11c2c3519d8e0b6f2f4195878baf9c6897c91da3b5e51cf8e1df16f49sce_module/libSceNpCppWebApi.prx.esbakThe
.prxfiles are the dump's decrypted ELFs, and the.esbakfiles are the originals that came with it. Nothing in the dump is modified. The run directory'sapp0is a folder of junctions and hard links into the dump, and the relinker writes its outputs (eboot.exe,sce_module/*.guest.prx) into the run directory only.The prologue result was on this branch's head at the time, b14c340f. I'm rebasing it today after yesterday's merges and will post the new head here. The branch is a testing integration of the PRs listed in the description on top of
main, without other local changes.Imported from boykopovar/AnyPS5. Originally posted by MichonGoddijn231849 on 2026-10-04T09:21:52Z.
Rebuilt this branch from current
main: the new head is 5a36dc70. It merges the current versions of every open PR in the list, now with #493/#494 in place of #291, and drops the six that merged yesterday sincemainhas them. Build and ctest are clean apart from the failuresmainhas locally. I haven't re-run GTA V's prologue on this exact head yet, only on b14c340f. I'll post here once I have. @RomainROCH, b14c340f is the head my earlier result is from, if you'd rather compare against that first.Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-04T10:39:03Z.
@MichonGoddijn231849 since this is a testing branch rather than a change to merge, would a Discussions thread work better for it (like #357 does for PPSA21564), with a link to the branch and the PR list? It would keep the PR list and the overlap checks to changes meant for review, and testers like @RomainROCH could follow it there. Marking it as a draft would also help in the meantime. @boykopovar your call on whether testing branches like this should live in Discussions.
Imported from boykopovar/AnyPS5. Originally posted by MichonGoddijn231849 on 2026-10-04T10:39:41Z.
Update on the rebuilt head (now
21ffa4f8, after today's second round of merges). It builds and passes ctest apart from the failuresmainhas locally, but I couldn't confirm the prologue on it today: GTA V's boot sometimes dispatches an eboot compute shader that this branch can't run. I fixed the first two gaps it hit: #499 (v_mov_b32SDWA byte destinations), andds_write_b8_d16_hi, whichmaingained in the meantime. The third isCOMPUTE_PGM_RSRC2.SCRATCH_EN(scratch memory), which the driver doesn't support at all. On boots where that shader isn't dispatched, the game gets further. One other boot hit the known intermittent[RAGE] Main Threadaccess violation. @RomainROCH, until I've got past this, b14c340f is still the head the prologue result is from.Imported from boykopovar/AnyPS5. Originally posted by MichonGoddijn231849 on 2026-10-04T11:10:33Z.
@oneandonlydean Makes sense, it's a draft now. Once @boykopovar decides, I'll move it to a Discussions thread with the branch link and the PR list, or keep it here as a draft.
Pull request closed