docs(libSceSaveData): survey the pending exports across citable reimplementations #15077
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15077"
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 xecedemon on 2026-11-02T14:26:07Z.
What
Surveys the 73 pending libSceSaveData exports against every citable reimplementation. Four grouped entries under a new
### Unknown function infosection indocs/dev/debt/libSceSaveData.mdcover the PSN/cloud, system/database, query and backup-check/dialog families: shadPS4 0614ce3 holds only return-success templates for the PS4 names and nothing for the PS5-only ones; fpPS4 04cefd4, KytyPS5 569ec04 carry no real bodies; RPS5E d540c46 registers only five of the query exports (GetEventInfo/SetEventInfoplain success;GetSaveDataCount/GetAllSize/IsMountedwriting through a second argument) — shapes #14150 already rejected as invented success. Nothing was implemented: no stub was silenced.sceSaveDataGetProgress, the only pending export with a real citable body (shadPS4savedata.cppL1124-L1136 at 0614ce324be:NOT_INITIALIZEDbefore initialization checked first,PARAMETERfor a nullfloat*, else the last backup's progress, reset by ClearProgress), stays throwing: a faithful mapping needs one line insceSaveDataBackup, which open PR #15042 rewrites (guest-pointer validation there, aGuestCopyOutwrite-out insceSaveDataGetConvertProgress). Its full semantics, the dependency and RPS5E's constant-1.0fdissent are recorded in the canonical entry indocs/dev/debt/libSceSaveData.native.md, which this PR enriches.Tested
Documentation-only change; code is identical to
main. Ubuntu 24.04 (GCC 13.3, Release,BUILD_TESTING=ON):ctest -R savedatapasses 15 of 15 at this branch head. AsceSaveDataGetProgressimplementation was written, run red (sceSaveDataGetProgress not implemented) then green with the same 15 of 15, and withdrawn for the #15042 overlap documented above; it is not part of this branch.python3 tools/check_conventions.py --base origin/mainpasses.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 repositoryImported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-11-02T14:54:55Z.
Review: COMMENTED
One firmware note for the
sceSaveDataGetProgressentry. The PS5 module settles some of what the entry leaves to the reimplementations, and its shape differs from shadPS4's.Firmware 13.42's
libSceSaveData.sprx(sha2561d214285f188f1c0821a611a08345833dd379cee547d5834e64228cde906a567) at0x39af0(ANmSWUiyyGQ), read from disassembly only, not measured on a console:So, for the entry:
float*parameter is confirmed by the module, not just by the OpenOrbis and shadPS4 headers.0x809f0001), a state gate (0x809f0000), then nullprogress(0x809f8004).sceSaveDataBackup's copy, as the entry plans, would be a host model rather than a port.I haven't traced
0x1d480or what the service reports, so I can't say what an idle query returns.For the four grouped entries, the same dump has every one of those NIDs in
libSceSaveData.sprx. "PS5 signatures and behaviour are unknown" could say "not yet read from the 13.42 module" instead, so it doesn't look unobtainable. Not a blocker either way.