docs(libSceAppContent): add-content calls answer PARAMETER for padded labels #13589
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/13589"
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 MarcZX10 on 2026-10-30T18:52:35Z.
What
Corrects one statement in
docs/dev/debt/libSceAppContent.md. The "Additional content" entry saidsceAppContentAddcontMountanswersNOT_FOUNDandsceAppContentGetAddcontInfoanswersDRM_NO_ENTITLEMENTfor every label, andsceAppContentAddcontDeleteanswersPARAMETERonly for a null label.validEntitlementLabelrejects a padded label withPARAMETERwhen the process SDK version is at least 0x01500000 (Mount, GetAddcontInfo) or 0x03500000 (Delete). The entry now names that case. Docs only; the commit body gives the old claim, the code behaviour and permalinks pinned tob1b5353cfcee098ed17e3ba8a6e616bee97c9215. This entry was already longer than 1000 characters before this change; splitting it is left for a separate PR.Tested
Run on this branch (base
upstream/main=50843f45d9; the audited SHAb1b5353cfcis an ancestor, and no commit in between touches this file orcore/libs/prx/libSceAppContent):python3 tools/check_conventions.py --base upstream/main: exit 0git diff --check upstream/main HEAD: exit 0python3 tools/env_reference.py --check: exit 1 with the same single failure as on a cleanupstream/mainarchive (APS5_PAD_SPEAKER_FALLBACK_DB has a row in docs/dev/ENVIRONMENT.md but the code no longer reads it); the two outputs are identical. This is the known baseline failure, not a documentation error.Open-PR overlap:
gh pr listsearches on each touched debt file found no open PR that edits the changed entries (PR 12765 edits other AudioOut entries; PR 11620 and PR 11588 edit other AppContent entries). The fulltools/pr_overlap.py --branchrun did not finish in the time available and its result is not claimed here.Permalink lines were read at the audited SHA.
NOT RUN: build and unit tests (docs only); Windows, macOS, real devices, hardware GPU, console (not applicable to a documentation change).
test_quality_heuristics(precheck), raw failure line:{line}. The harness points attools/pr_test_quality.pyand at a.mdfile; this tool is not part of upstream trees and does not apply to docs-only PRs.pr_precheck.py(no-build, run from a scratch checkout whosetools/is a copy of/marc/AnyPS5/tools, because the candidate commits are not in that repository): every item passes excepttest_quality_heuristics, see NOT RUN.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 MarcZX10 on 2026-11-02T04:58:21Z.
Review: COMMENTED
Reviewed — reply answered, two sentences need the padded-label note
oneandonlydean's 2026-10-30 reply confirms three corrected statements and asks for the same padded-label note on two more calls, which the code at this head supports.
What I ran
Live head
4f5b8b7d75bebb121aec2f41aa7430cf08967949(matches the batch file). Read the comment withgh api repos/boykopovar/AnyPS5/issues/13589/comments, the check rollup withgh pr view 13589 --json statusCheckRollup, and the files withgit -C /marc/AnyPS5 show 4f5b8b7…:<path>. Nothing was built or run.Results
Findings
The reply (2026-10-30T19:31:28Z) asks to add the padded-label note to two sentences of
docs/dev/debt/libSceAppContent.mdline 23. The code supports this.sceAppContentAddcontEnqueueDownloadchecks padding from SDK 0x01500000 (Export.cppline 230) and returns NOT_FOUND at line 231. The doc sentence says only "PARAMETER for a null label and NOT_FOUND otherwise".sceAppContentGetAddcontDownloadProgresschecks padding from SDK 0x03500000 (Export.cppline 246) and returns NOT_FOUND at line 247. The doc sentence says only "PARAMETER for a null label or progress and NOT_FOUND otherwise".Export.cppline 94) and GetAddcontInfo (line 108) use 0x01500000, and Delete (line 238) uses 0x03500000.Suggested edit to line 23: add "and for a padded one from SDK 0x01500000" to the Enqueue sentence, and "and for a padded one from SDK 0x03500000" to the Progress sentence.
Sources
github.com/boykopovar/AnyPS5@4f5b8b7d75/docs/dev/debt/libSceAppContent.md (L23)github.com/boykopovar/AnyPS5@4f5b8b7d75/core/libs/prx/libSceAppContent/Export.cpp (L94-L108)github.com/boykopovar/AnyPS5@4f5b8b7d75/core/libs/prx/libSceAppContent/Export.cpp (L226-L247)Not verified
validEntitlementLabelwas not read, so the SDK-gate semantics are taken from its call sites.Imported from boykopovar/AnyPS5. Originally posted by gabichuuuuu on 2026-11-10T17:48:16Z.
Review: COMMENTED
Read
5b7409e4d3againstmain.Correctness. The new
libSceAppContent.md:3bullet says additional content is never installed or mounted: Mount answersNOT_FOUNDfor every unpadded label, Unmount for every mount point,GetAddcontInfoanswersDRM_NO_ENTITLEMENT, andGetAddcontInfoListreports 0 entries. The code does not do that.Export.cpp:163-181mounts any add-on found inAddonEntries()(host path alias, returns 0, orBUSYon a repeat),Export.cpp:183-196unmounts a mounted one,Export.cpp:198-211returns its info, andExport.cpp:213-228lists all configured entries. OnlyAddcontEnqueueDownload,AddcontDeleteandGetAddcontDownloadProgress(Export.cpp:346-368) always answerNOT_FOUND. The padded-labelPARAMETERrules (SDK 0x01500000 and 0x03500000 throughvalidEntitlementLabel,Export.cpp:47) are right.Defect. The entry contradicts the existing "Additional content" entry on
main(configured add-ons are mounted and listed) and duplicates it and "Additional content download and delete". The PR description says it corrects one statement; it should edit those two entries instead, adding the padded-labelPARAMETERcase (SDK 0x01500000 for Mount andGetAddcontInfo, 0x03500000 for Delete and progress), and the new bullet should be removed.Not run here; this is from reading the code.
AI-assisted: yes.