feat(libSceAppContent): export sceAppContentAddcontDelete #5514

Merged
ps54all merged 1 commit from upstream-pr/5514 into main 2026-10-14 09:57:31 +00:00
ps54all commented 2026-10-13 21:57:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ps54all on 2026-10-13T21:57:30Z.


What

sceAppContentAddcontDelete was not exported, so a title that imports it fails to load. No additional content is ever installed here (see the Additional content debt entry), so deleting one finds nothing: a null entitlement label answers PARAMETER (0x80D90002) and any other label NOT_FOUND (0x80D90005), as sceAppContentAddcontEnqueueDownload already does. The debt entry lists it with the other add-on content calls.

Tested

Windows 11, RTX 3080, WinLibs GCC 15.2.0 r7, Release.

  • guest_appcontent gains two checks (a label gives NOT_FOUND, a null label PARAMETER) and passes; without the export the test does not link.
  • check_conventions.py --base origin/main passes.
  • Metal Gear Solid 4: Guns of the Patriots, Master Collection Version (PPSA18194): its game executable (mgs4/mgs4.elf, started by the launcher with sceSystemServiceLoadExec) imports this call and fails to load without it. With it, #5411, #5425, my EUC-JP PR and an Opus change, the game starts and reaches gameplay (about 3 fps).

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw; silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: PPSA18194
  • GPUs tested: n/a
  • AI-assisted: yes (Claude Code); the runs are on my machine.

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4850002922 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5514). Originally posted by [ps54all](https://github.com/ps54all) on 2026-10-13T21:57:30Z. --- ### What `sceAppContentAddcontDelete` was not exported, so a title that imports it fails to load. No additional content is ever installed here (see the Additional content debt entry), so deleting one finds nothing: a null entitlement label answers `PARAMETER` (`0x80D90002`) and any other label `NOT_FOUND` (`0x80D90005`), as `sceAppContentAddcontEnqueueDownload` already does. The debt entry lists it with the other add-on content calls. ### Tested Windows 11, RTX 3080, WinLibs GCC 15.2.0 r7, Release. - `guest_appcontent` gains two checks (a label gives `NOT_FOUND`, a null label `PARAMETER`) and passes; without the export the test does not link. - `check_conventions.py --base origin/main` passes. - Metal Gear Solid 4: Guns of the Patriots, Master Collection Version (PPSA18194): its game executable (`mgs4/mgs4.elf`, started by the launcher with `sceSystemServiceLoadExec`) imports this call and fails to load without it. With it, #5411, #5425, my EUC-JP PR and an Opus change, the game starts and reaches gameplay (about 3 fps). ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except technical debt - [x] Unimplemented paths throw; silent stubs are listed under Silent stubs in their library's technical debt file - [x] No notes, investigation `.md` files or images added to the repository - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: PPSA18194 - [x] GPUs tested: n/a - [x] AI-assisted: yes (Claude Code); the runs are on my machine. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-actions[bot] commented 2026-10-13 21:58:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-13T21:58:23Z.


Progress report (c7601b7 → bfe78af)

➖ System libraries: 88.18% (+0.0%, +1 implemented functions)

✅ 1 implemented
Library Name
libSceAppContent sceAppContentAddcontDelete
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6156067002 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5514#issuecomment-6156067002). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-13T21:58:23Z. --- <!-- progress-report --> ### Progress report (c7601b7 → bfe78af) ➖ **System libraries**: 88.18% (+0.0%, +1 implemented functions) <details> <summary>✅ 1 implemented</summary> | Library | Name | | - | - | | libSceAppContent | `sceAppContentAddcontDelete` | </details>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!5514
No description provided.