feat(playgo): accept a chunk id list for dumps without metadata #11899
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/11899"
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 edubox on 2026-10-27T12:20:56Z.
What
Accept a comma-separated list of installed chunk ids in
APS5_PLAYGO_UNLISTED_CHUNKSfor dumps withoutplaygo-chunk.datorplaygo-scenario.json. The list plus chunk 0 becomes the chunk table and every other id is absent. This stops the linear id walk of a title such as The Medium (PPSA03718) at the first absent id instead of answering every id as installed, which made UE4 reserve 5,565,054,976 bytes and abort withPS5 Out of Memory.Tested
Linux (CachyOS), GCC 16.2.1, Release.
ctest --test-dir build -R '^guest_playgo$' --output-on-failurepasses. Addedguest_playgomodes for the list (0,1and1), invalid values (0,,65536,0,x), a chunk table with the list set (the manifest wins) and a scenario with the list set (the list does not extend the scenario). The Medium PPSA03718 withAPS5_PLAYGO_UNLISTED_CHUNKS=0,1no longer stops with the OOM at startup. The run that reached New Game, wrote its save and ran at about 27 FPS also needed the later TYPE 2 fix; a black frame remains a separate issue.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-27T12:40:39Z.
Review: APPROVED
I reviewed the parser, the precedence with
playgo-chunk.dat/playgo-scenario.json, the chunk-0 default, and the tests for valid, malformed, and metadata-present configurations. The explicit list is applied only when both metadata sources are absent, and the tests exercise the documented behavior. Hosted Windows and policy checks pass; Linux product CI is skipped by repository policy, while the PR reports three focused Linux runs. I did not run this locally or on a PS5. I found no actionable issue in the diff.