Files
AnyPS5/docs/dev/debt/libSceSaveData.md
T
Savvanis SpyrosandClaude Opus 5.5 4e8bd1609c fix(savedata): build libSceSaveData and libSceSaveDataDialog from the native sources
PS4 titles import save data from libSceSaveData and libSceSaveDataDialog,
and a converted title loads exactly the modules its DT_NEEDED names. Those
two libraries were separate, older implementations that export only 9 and 8
functions, while libSceSaveData.native and libSceSaveDataDialog.native carry
sceSaveDataDelete, sceSaveDataDirNameSearch, sceSaveDataSetParam,
sceSaveDataSaveIcon, sceSaveDataDialogUpdateStatus and the rest. A PS4 title
importing any of those failed at startup with unresolved imports.

Both plain libraries are now built from the native sources, the way
libSceNgs2 is built from libSceNgs2.native, and the old implementation and
its test variant are removed. The earlier implementation's save-data memory
and mount alias files are not read; that is recorded in the debt file.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-19 10:10:50 +03:00

479 B

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