refactor(libSceSaveData.native): name sceSaveDataPrepareForTransferring #4906
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4906"
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 nicolasfalesy on 2026-10-13T03:22:53Z.
What
Names the libSceSaveData.native NID
RvID8BVeg+g, declared assceSaveDataUnknown_RvID8BVegfor Minecraft (PPSA17221).sceSaveDataPrepareForTransferringhashes to it:The name is not in aerolib (the pinned copy or the current one at
fe2cc2948e). It was found by hashing combinations of the words in aerolib's libSceSaveData names, and it fits beside thesceSaveDataTransferringMountPs4andsceSaveDataDirNameSearchPs4imports it sits next to. As in #1145 and #2301, behaviour is unchanged: it still throws, andNotImplemented_nid_no_patch(__func__)now names the real function. Its arguments stay unknown; the debt entry says so and records where the name came from.Tested
mainc13dc7e6b:libsbuilds, andnm -DonlibSceSaveData.native.prxshows the exportRvID8BVeg+g.tools/check_conventions.py --base upstream/mainpasses;tools/pr_overlap.pyreports no overlap.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 github-actions[bot] on 2026-10-13T03:23:17Z.
Progress report (
e154f56→31e53e5)➖ System libraries: 88.79% (+0.0%, +1 declared, -1 removed functions)
🆕 1 declared as stubs
sceSaveDataPrepareForTransferring🗑️ 1 removed
sceSaveDataUnknown_RvID8BVegImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-14T17:20:07Z.
Checked
compute_nid("sceSaveDataPrepareForTransferring")=RvID8BVeg+g, the diff (rename only, still throws, debt line updated), and build + ctest of the libSceSaveData.native tests on top of currentmain(6/6).One fix, pushed as a commit on your branch: the
APS5_EXPORT("RvID8BVeg+g", sceSaveDataPrepareForTransferring);line is removed. The real name already hashes to that NID, so keeping the alias exports it twice, which the Windows PE patcher rejects (duplicate patched export name).Merging once the full Build is green.