Files
AnyPS5/docs/dev/debt/libSceSaveData.md

6.8 KiB

libSceSaveData technical debt

Functional

  • libSceSaveData is built from the libSceSaveData.native sources, so a title that imports save data from libSceSaveData, as PS4 titles do, gets the same functions. The separate implementation it had before kept save-data memory in _sd/sce_sdmemory/<user>/memory.dat and mount aliases in _sd/_aliases; neither is read, so memory saved through that library is not found

Additional callable exports

  • Additional callable exports - 14 entries present in both version-labelled images are import-resolution declarations only. None is listed in the pinned public 3.20 catalogue for this library. Neither label independently authenticates retail firmware provenance. Parameter lists, return types and behavior are unverified; parameterless int declarations are placeholders, not verified ABI contracts. Every entry throws through NotImplemented_nid_no_patch. Unidentified names use literal NID aliases. No runtime functionality is implemented. Data exports require separate layout and ownership analysis. Identified candidate names match their NIDs in the public symbol database or supplemental catalog.
Name NID
Unknown 0TAVrO-LgPI
Unknown 35cI-Z0nz68
Unknown AuTE0gFxZCI
Unknown IE+HJN8+Jdg
Unknown IGpkv-UOup0
sceSaveDataGetUpdatedDataCountProspero NxxouhCA12c
sceSaveDataMount5Prospero QaI8L6NzmJU
Unknown VM8qEhWh-A4
Unknown apvJPjG+6-Q
Unknown cbD93i6sy9E
sceSaveDataMountSysProspero2 fIu-ckf3n-o
Unknown g1roz3Ux+3I
Unknown q8KxzjSpPVw
Unknown yBM2vzabhEA
  • Later callable exports - the function exports of libSceSaveData listed below throw through NotImplemented_nid_no_patch on every call; their parameter lists, return types and behavior are unknown, and the parameterless int declarations only resolve imports. The PS5 13.60 export inventory lists them as function exports of the 13.60-labelled image only, not of its 3.20 reference; the label does not authenticate retail firmware. sceSaveDataGetRequiredBlocksForCdlg is not in the pinned NID database; the later aerolib gives it for wJ6oiu+TqK8, and the name hashes to that NID. Neither source names the others, so they use literal NID aliases.
Name NID
sceSaveDataGetRequiredBlocksForCdlg wJ6oiu+TqK8
Unknown KOSXhQAd7Co
Unknown VSIY1inHm0U
Unknown dBdQn-whUig
Unknown ohfDGZ8EKis

Unknown function info

  • libSceSaveData keeps PSN and cloud exports pending in libSceSaveData.native.md: sceSaveDataBindPsnAccount, sceSaveDataBindPsnAccountForSystemBackup, sceSaveDataCheckCloudData, sceSaveDataCheckPremiumMember, sceSaveDataCheckSyncStatus, sceSaveDataCreateUploadData, sceSaveDataDeleteCloudData, sceSaveDataDownload, sceSaveDataGetAllSizeProspero, sceSaveDataGetAutoSyncInfo, sceSaveDataGetAutoUploadConditions, sceSaveDataGetAutoUploadRequestInfo, sceSaveDataGetAutoUploadSetting, sceSaveDataGetCloudInfo, sceSaveDataGetCloudQuotaInfo, sceSaveDataManualDownload, sceSaveDataManualUpload, sceSaveDataNotifySaveDataDownload, sceSaveDataSetAutoSyncSettings, sceSaveDataSetAutoUploadSetting, sceSaveDataSyncCloudList, sceSaveDataUpload. shadPS4 0614ce3 has return-success templates for the PS4 names only; fpPS4 04cefd4, KytyPS5 569ec04 none. PS5 signatures and no-PSN host behaviour unknown.
  • libSceSaveData keeps the system and database exports listed as pending in libSceSaveData.native.md: sceSaveDataChangeDatabase, sceSaveDataChangeInternal, sceSaveDataDeleteAllUser, sceSaveDataDeleteBackupData, sceSaveDataDeleteProspero, sceSaveDataDeleteTitle, sceSaveDataDeleteUser, sceSaveDataDirNameSearchInternal, sceSaveDataIsDeletingUsbDb, sceSaveDataManualDelete, sceSaveDataMount5, sceSaveDataMountInternal, sceSaveDataMountSys, sceSaveDataRebuildDatabase, sceSaveDataRestoreLoadSaveDataMemory, sceSaveDataShutdownStart, sceSaveDataSupportedFakeBrokenStatus, sceSaveDataUmountSys. shadPS4 0614ce3 has return-success templates only for the PS4 names and none for the rest, and fpPS4 04cefd4 and KytyPS5 569ec04 carry none; RPS5E d540c46f wires sceSaveDataMount5 to its mount3 handler, unmeasured. PS5 signatures and behaviour are unknown.
  • libSceSaveData keeps the query exports listed as pending in libSceSaveData.native.md: sceSaveDataGetAllSize, sceSaveDataGetAppLaunchedUser, sceSaveDataGetBoundPsnAccountCount, sceSaveDataGetEventInfo, sceSaveDataGetSaveDataCount, sceSaveDataGetSaveDataRootDir, sceSaveDataGetSaveDataRootPath, sceSaveDataGetSaveDataRootUsbPath, sceSaveDataGetUpdatedDataCount, sceSaveDataInitializeForCdlg, sceSaveDataIsMounted, sceSaveDataSetEventInfo, sceSaveDataSetSaveDataLibraryUser. shadPS4 0614ce3 has only return-success templates, and fpPS4 04cefd4 and KytyPS5 569ec04 none. RPS5E d540c46 answers sceSaveDataGetEventInfo and sceSaveDataSetEventInfo with plain success and writes through a second argument for sceSaveDataGetSaveDataCount, sceSaveDataGetAllSize and sceSaveDataIsMounted; the other eight have no RPS5E registration — shapes #14150 rejected as invented success; none is measured on a console.
  • libSceSaveData keeps the backup-check and dialog-variant exports listed as pending in libSceSaveData.native.md: sceSaveDataCheckBackupDataForCdlg, sceSaveDataCheckBackupDataInternal, sceSaveDataCheckBackupDataLight, sceSaveDataCheckSaveDataBroken, sceSaveDataCheckSaveDataVersion, sceSaveDataCheckSaveDataVersionLatest, sceSaveDataRestoreBackupDataForCdlg. shadPS4 0614ce3 has return-success templates only for the PS4 names and none for the rest, and fpPS4 04cefd4 and KytyPS5 569ec04 carry none; #12748 implements the PS4-shaped sceSaveDataCheckBackupData and sceSaveDataRestoreBackupData from shadPS4, which does not bind the ForCdlg, Internal or Light NIDs, so whether the PS5 variants share that behaviour, and their signatures, are unknown.