fix(content): export the content calls PPSA06465 imports #2740

Merged
Yousef13710 merged 1 commit from upstream-pr/2740 into main 2026-10-11 07:53:27 +00:00
Yousef13710 commented 2026-10-10 12:34:55 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Yousef13710 on 2026-10-10T12:34:55Z.


What

Exports the eight content-library functions imported by PPSA06465:

  • sceContentDeleteById
  • sceContentExportGetProgress, sceContentExportCancel, and sceContentExportFromDataWithThumbnail
  • sceContentSearchGetContentLastUpdateId, sceContentSearchOpenMetadataByContentId, sceContentSearchGetTotalContentSize, and sceContentSearchGetNumOfContent

Each throws NotImplemented_nid_no_patch when called because its signature is unknown, but the loader and relinker can resolve the imports. Adds a regression test and a TechnicalDebt record.

This PR applies commit fc928e55 from @xXPBSXx's fix/content-libs-export-cult-of-the-lamb branch; its original author is preserved in the commit.

Tested

  • guest_content_unimplemented (new, registered in ctest) checks that each of the eight exports throws <name> not implemented.
  • python3 tools/check_conventions.py --base HEAD~1
  • Not run on a title; the OS and the line where PPSA06465 stops on main were not provided by the author.

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 (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4811226423 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2740). Originally posted by [Yousef13710](https://github.com/Yousef13710) on 2026-10-10T12:34:55Z. --- ### What Exports the eight content-library functions imported by PPSA06465: - `sceContentDeleteById` - `sceContentExportGetProgress`, `sceContentExportCancel`, and `sceContentExportFromDataWithThumbnail` - `sceContentSearchGetContentLastUpdateId`, `sceContentSearchOpenMetadataByContentId`, `sceContentSearchGetTotalContentSize`, and `sceContentSearchGetNumOfContent` Each throws `NotImplemented_nid_no_patch` when called because its signature is unknown, but the loader and relinker can resolve the imports. Adds a regression test and a TechnicalDebt record. This PR applies commit `fc928e55` from @xXPBSXx's `fix/content-libs-export-cult-of-the-lamb` branch; its original author is preserved in the commit. ### Tested - `guest_content_unimplemented` (new, registered in ctest) checks that each of the eight exports throws `<name> not implemented`. - `python3 tools/check_conventions.py --base HEAD~1` - Not run on a title; the OS and the line where PPSA06465 stops on main were not provided by the author. ### 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](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-10 12:35:06 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T12:35:06Z.


Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6097547467 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2740#issuecomment-6097547467). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-10T12:35:06Z. --- Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.
oneandonlydean commented 2026-10-11 05:09:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-11T05:09:17Z.


Reopened. Conflict in docs/dev/TechnicalDebt.md; can you rebase? Please also fill the template: the OS, and the line where PPSA06465 stops on main.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6105706821 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2740#issuecomment-6105706821). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-11T05:09:17Z. --- Reopened. Conflict in `docs/dev/TechnicalDebt.md`; can you rebase? Please also fill the template: the OS, and the line where PPSA06465 stops on main.
github-actions[bot] commented 2026-10-11 05:41:11 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T05:41:11Z.


Progress report (51b5f52 → 1fb359b)

📉 System libraries: 85.6% (-0.21%, +8 declared functions)

🆕 8 declared as stubs
Library Name
libSceContentDelete sceContentDeleteById
libSceContentExport sceContentExportCancel
libSceContentExport sceContentExportFromDataWithThumbnail
libSceContentExport sceContentExportGetProgress
libSceContentSearch sceContentSearchGetContentLastUpdateId
libSceContentSearch sceContentSearchGetNumOfContent
libSceContentSearch sceContentSearchGetTotalContentSize
libSceContentSearch sceContentSearchOpenMetadataByContentId
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6105920883 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2740#issuecomment-6105920883). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T05:41:11Z. --- <!-- progress-report --> ### Progress report (51b5f52 → 1fb359b) 📉 **System libraries**: 85.6% (-0.21%, +8 declared functions) <details> <summary>🆕 8 declared as stubs</summary> | Library | Name | | - | - | | libSceContentDelete | `sceContentDeleteById` | | libSceContentExport | `sceContentExportCancel` | | libSceContentExport | `sceContentExportFromDataWithThumbnail` | | libSceContentExport | `sceContentExportGetProgress` | | libSceContentSearch | `sceContentSearchGetContentLastUpdateId` | | libSceContentSearch | `sceContentSearchGetNumOfContent` | | libSceContentSearch | `sceContentSearchGetTotalContentSize` | | libSceContentSearch | `sceContentSearchOpenMetadataByContentId` | </details>
adriadam10 commented 2026-10-11 07:21:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T07:21:08Z.


Rebased onto current main (only the TechnicalDebt.md adjacency conflicted; both lines kept) and moved the description under the template headings (What / Tested / Checklist).

  • The new guest_content_unimplemented test builds and passes on the rebased head, and the scoped ctest is green (15/15). Without the exports the test does not link.
  • The OS and the line where PPSA06465 stops on main are still missing from "Tested"; I wrote "not run on a title". Please add them if you have them.

Merging once CI is green.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6106624560 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2740#issuecomment-6106624560). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-11T07:21:08Z. --- Rebased onto current `main` (only the `TechnicalDebt.md` adjacency conflicted; both lines kept) and moved the description under the template headings (What / Tested / Checklist). - The new `guest_content_unimplemented` test builds and passes on the rebased head, and the scoped ctest is green (15/15). Without the exports the test does not link. - The OS and the line where PPSA06465 stops on main are still missing from "Tested"; I wrote "not run on a title". Please add them if you have them. Merging once CI is green.
Mouhand-Kaddo commented 2026-10-11 07:31:43 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Mouhand-Kaddo on 2026-10-11T07:31:43Z.


Additional platform validation of standalone PR head dd7ccc620315d34fdf2d1aee36f8ca25bda58ab9 (2026-10-11):

Windows: passed — Windows 11, WinLibs GCC 15.2.0 UCRT/POSIX/SEH r7; CMake 4.3.1 / Ninja; Release, BUILD_TESTING=ON.

1 checks, 0 failures, 0 CTest skips. Built the selected targets and dependencies; this is focused validation, not a full build or full-suite run.

Checks: guest_content_unimplemented.

Command after building: ctest --test-dir <build> --verbose --no-tests=error --timeout 30 -R "^guest_content_unimplemented$".

No title/gameplay validation. These results cover the standalone head, not a merge with current main.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6106703779 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2740#issuecomment-6106703779). Originally posted by [Mouhand-Kaddo](https://github.com/Mouhand-Kaddo) on 2026-10-11T07:31:43Z. --- <!-- anyps5-platform-validation:dd7ccc620315d34fdf2d1aee36f8ca25bda58ab9 --> Additional platform validation of standalone PR head `dd7ccc620315d34fdf2d1aee36f8ca25bda58ab9` (2026-10-11): **Windows: passed** — Windows 11, WinLibs GCC 15.2.0 UCRT/POSIX/SEH r7; CMake 4.3.1 / Ninja; Release, `BUILD_TESTING=ON`. 1 checks, 0 failures, 0 CTest skips. Built the selected targets and dependencies; this is focused validation, not a full build or full-suite run. Checks: `guest_content_unimplemented`. Command after building: `ctest --test-dir <build> --verbose --no-tests=error --timeout 30 -R "^guest_content_unimplemented$"`. No title/gameplay validation. These results cover the standalone head, not a merge with current main.
adriadam10 commented 2026-10-11 07:50:24 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T07:50:24Z.


Rebased again onto current main (only the TechnicalDebt.md adjacency conflicted; both lines kept) after another PR landed next to it.

  • guest_content_unimplemented builds and passes on the rebased head.
  • The OS and the line where PPSA06465 stops on main are still missing from "Tested"; please add them if you have them.

Merging once CI is green.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6106845825 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2740#issuecomment-6106845825). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-11T07:50:24Z. --- Rebased again onto current `main` (only the `TechnicalDebt.md` adjacency conflicted; both lines kept) after another PR landed next to it. - `guest_content_unimplemented` builds and passes on the rebased head. - The OS and the line where PPSA06465 stops on main are still missing from "Tested"; please add them if you have them. Merging once CI is green.
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!2740
No description provided.