feat(libSceAppContent): implement sceAppContentAddcontEnqueueDownload #946
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/946"
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 Kikoarl on 2026-10-06T19:42:11Z.
What
Identifies and implements
sceAppContentAddcontEnqueueDownload(NID7gxh+5QubhY) inlibSceAppContent, replacing the placeholdersceAppContentUnknown00.entitlement_label(returningSCE_APP_CONTENT_ERROR_PARAMETERif null).SCE_APP_CONTENT_ERROR_NOT_FOUNDas no offline DLC entitlement package is queued, consistent withsceAppContentAddcontMount.libSceAppContentto 9/9 functions (100%).docs/dev/TechnicalDebt.md.Tested
Linux x86_64, GCC Release build, ctest
guest_appcontentpasses.GuestAppContent.cpptests parameter validation with a null label pointer and verifyingSCE_APP_CONTENT_ERROR_NOT_FOUNDon a valid entitlement label.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)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-06T19:42:36Z.
Progress report (
6c48ace→a83de26)📈 System libraries: 86.18% (+0.04%, +1 implemented, -1 removed functions)
✅ 1 implemented
sceAppContentAddcontEnqueueDownload🗑️ 1 removed
sceAppContentUnknown00Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-06T21:20:58Z.
Thanks, the identification matches (
7gxh+5QubhYissceAppContentAddcontEnqueueDownload), and the null check plusNOT_FOUNDfollows the offline behaviour ofsceAppContentAddcontMount.A few points:
docs/dev/TechnicalDebt.mdlists what each add-content function answers. Could you addsceAppContentAddcontEnqueueDownloadthere (null labelPARAMETER, every other labelNOT_FOUND)?NOT_FOUNDcome from for this one? #835 answersDRM_NO_ENTITLEMENT(0x80D90007) fromsceAppContentGetAddcontInfofor the same "nothing installed" state, so it would help to say which code the console returns for an enqueue with no entitlement. If it isn't known, an "Unknown function info" line recording the inferred return value would cover it.mainand conflicts with #835 incore/libs/tests/GuestAppContent.cpp. If it really depends on #835, rebasing onto it (or ontomainafter #835 lands) would sort that out; if it doesn't, the line can go.sceAppContentAddcontEnqueueDownload? PPSA21564 doesn't import it, and the description doesn't name one.Imported from boykopovar/AnyPS5. Originally posted by Kikoarl on 2026-10-06T21:30:39Z.
@oneandonlydean Thanks for the feedback. I've updated the PR accordingly:
sceAppContentAddcontEnqueueDownloadunder Functional (Additional content) indocs/dev/TechnicalDebt.md, noting that a null label returnsPARAMETERand any other label returnsNOT_FOUND.docs/dev/TechnicalDebt.md, noting thatNOT_FOUNDfollows the offline model ofsceAppContentAddcontMountand has not been confirmed on hardware or a specific title.7gxh+5QubhY->sceAppContentAddcontEnqueueDownload) to achieve full 9/9 export coverage (100%) inlibSceAppContent, rather than from a specific title dump.Depends on: nonesince the implementation is logically independent. If #835 lands first, I will happily rebase ontomainto sequence both test blocks inGuestAppContent.cpp.Imported from boykopovar/AnyPS5. Originally posted by Kikoarl on 2026-10-07T17:13:34Z.
@oneandonlydean Rebased on latest main now that #835 has landed, sequencing the tests in
GuestAppContent.cppand resolving all conflicts cleanly. Ready for review.Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-08T02:49:33Z.
Closing:
sceAppContentAddcontEnqueueDownloadis only known from an import list, it starts a user-requested DLC download rather than a boot-time call, and no log shows a title calling it on main. If a title stops here, please comment with the title ID and the log line, and it can be reopened.Pull request closed