feat: GTA V in game, Story Mode renders (follows #153) #167
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/167"
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-09-29T21:56:59Z.
What
This builds on @STL1te's #153 (and #144 before it), which does the heavy lifting. It boots GTA V with its own
sce_modulethrough the intro, the menus and into the Story Mode load, with depth/stencil and mip-chain targets, AJM MP3, direct memory and the console services. None of this would exist without that work; thank you.This PR takes it from the Story Mode load into the world. The prologue renders and plays, with audio and UI:
Tested on PPSA04264, the US version (01.005). Rebased onto current
main: the draw-cache and out-of-memory changes are ported onto the split driver (Execution/src/Driver/**). The fixes that were split out and merged (#162–#165, #186, #188) are no longer part of this branch.What was missing between the Story Mode load and a rendered frame:
sceKernelMtypeprotectchanges the protection; the APR ForEach resolvers. The only silent stub is the PS Store icon show/hide (UI), listed under TechnicalDebt.VK_ERROR_OUT_OF_DEVICE_MEMORY. Now:gl_SampleIDandgl_Layer;gl_Layerthrough the Geometry capability;Story Mode is an add-on entitlement. The game hashes each owned label (joaat) against three constants;
GTAVSTORYMODE001matches one of them. Listing it inanyps5-entitlements.ini(the #153 mechanism) enables "Resume Story".Not done yet
Related
pread failed, errno=5.shared mapping outside the guest arena.main.main.Tested
Windows 11 Pro, AMD Ryzen 5 7600 (6-core), NVIDIA GeForce RTX 5080 (driver 32.0.16.1074), 32 GB DDR5-5600, MinGW-w64 GCC 15.2.0.
sce_module(libc, libSceJobManager, libSceNpCppWebApi).mainat75434ee4. Tested with this branch, #231, #232, #249, #256 and #261.ctest: all tests pass.Checklist
main; no other open PR implements the same functions.mdfiles or images added to the repository (the screenshot is hosted outside it)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-09-30T19:57:56Z.
Progress report (
75434ee→a2804a4)📈 System libraries: 78.19% (+1.19%, +36 implemented functions)
✅ 36 implemented
sceMsgDialogGetResultsceMsgDialogOpensceNpAuthAbortRequestsceNpAuthCreateAsyncRequestsceNpAuthDeleteRequestsceNpAuthGetAuthorizationCodeV3sceNpAuthPollAsyncsceNpCommerceHidePsStoreIconsceNpCommerceShowPsStoreIconsceNpEntitlementAccessAbortRequestsceNpEntitlementAccessDeleteRequestsceNpEntitlementAccessGenerateTransactionIdsceNpEntitlementAccessPollConsumeEntitlementsceNpEntitlementAccessRequestConsumeUnifiedEntitlementsceNpCheckNpReachabilitysceNpGetAccountAgesceNpBandwidthTestAbortsceNpBandwidthTestGetStatussceNpBandwidthTestInitStartDownloadsceNpBandwidthTestInitStartUploadsceNpBandwidthTestShutdownscePlayerSelectionDialogTerminatesceSigninDialogInitializesceSigninDialogOpensceSigninDialogTerminatesceSigninDialogUpdateStatussceSystemServiceInitializePlayerDialogParamsceSystemServiceLaunchPlayerDialogsceWebBrowserDialogClosesceWebBrowserDialogGetResultsceWebBrowserDialogOpensceKernelAprResolveFilepathsToIdsAndFileSizesForEachsceKernelAprResolveFilepathsToIdsForEachsceKernelAprResolveFilepathsWithPrefixToIdsAndFileSizesForEachsceKernelAprResolveFilepathsWithPrefixToIdsForEachsceKernelMtypeprotectImported from boykopovar/AnyPS5. Originally posted by boykopovar on 2026-10-01T20:49:52Z.
I tried running it on Dreaming Sarah. After these changes, a strange bug appeared where the text menu buttons weren't visible until you clicked them. The rendering process also started flickering constantly.
The only suspicious message in the console:
[gpu] host import budget 30699 MiB (system memory heap 32747 MiB; APS5_HOST_IMPORT_MIB overrides)This wasn't a problem before. I think it's best to split this PR into several smaller ones that can be merged without causing regression.
Imported from boykopovar/AnyPS5. Originally posted by MichonGoddijn231849 on 2026-10-01T21:59:02Z.
Thanks for testing it on Dreaming Sarah. I reproduced the missing menu text and bisected it to the draw-cache commit. A new key of a shape replaced that shape's previous entry and took over its compiled variants. Those were compiled under the previous entry's user words, and a variant only validates the memory it captured, so each text draw drew with the previous one's data. The superseding entry now starts without those variants.
Split into independent PRs as you suggested. Each was checked on Dreaming Sarah's title menu (text shows) and with ctest:
host import budget … (system memory heap …)line is gone.GTA V also needs #231, #232, #249 and #261. Closing this one in favour of those.
Pull request closed