fix(appcontent): report no download data space without a declared area #842
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/842"
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 merwie on 2026-10-06T08:52:59Z.
What
sceAppContentDownloadDataGetAvailableSpaceKbthrew when param.json declares no download data area. It now reports 0 KB, because a title without the area has no space there.Unity's player (PPSA12544) queries this at startup. It treats an error or 0 as no space and logs:
Tested
Windows 11, Radeon RX 9070 XT, PPSA12544 (Hollow Knight: Silksong; bring-up: #726): the title logs the message above and continues. Non-GPU
ctestpasses. There is no new unit test.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 (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-07T16:10:52Z.
Review: CHANGES_REQUESTED
Thanks for the fix. A few things before this can merge:
core/libs/prx/libSceAppContent/Export.cpp:60: returning 0 KB is a choice no reference backs (KytyPS5 doesn't special-case it, shadPS4 stubs 1048576 KB). Add a line to TechnicalDebt under "Unknown function info" saying that the console's behaviour for a title without a download data area is unverified.downloadDataSize0 and checks the call returns OK with*available_space_kb == 0.Imported from boykopovar/AnyPS5. Originally posted by merwie on 2026-10-07T19:07:35Z.
Thanks. Pushed (on top of a merge of
main):GuestAppContentwrites anapp0/sce_sys/param.jsonwithdownloadDataSize0 and checks that the call returns OK with*available_space_kb == 0for/download0, and PARAMETER for a null result. It is registered asguest_appcontentand fails without the change (the call threw). The non-GPU tests pass.Imported from boykopovar/AnyPS5. Originally posted by TideOPL on 2026-10-07T19:24:18Z.
Good stuff! LGTM
Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-07T20:06:12Z.
Review: APPROVED
Thanks, both points addressed. Checked: build + full ctest on Linux,
guest_appcontentfails with theExport.cppchange reverted, and the TechnicalDebt line's references (KytyPS5 has no special case, shadPS4 stubs 1048576 KB).What we added: rebased onto current
mainto drop the merge commit from the history (no merge commits, CONTRIBUTING); no code changes. Merging once CI is green.