libSceContentExport: ValidateContents, GetProgress and the two remaining export calls need readings from the firmware module #25863

Open
opened 2026-11-22 19:33:48 +00:00 by zaryabzip · 0 comments
zaryabzip commented 2026-11-22 19:33:48 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by zaryabzip on 2026-11-22T19:33:48Z.


What happens

Four libSceContentExport exports still throw through NotImplemented_nid_no_patch:

  • sceContentExportValidateContents throws on every call;
  • sceContentExportGetProgress, sceContentExportFromFileWithTitleIdList and sceContentExportFromDataWithThumbnail check the export session first, then throw.

What's known

  • docs/dev/debt/libSceContentExport.md says the host has no media library, so the file export entry points throw after validating the session. It also says GetProgress throws because an idle session answers either zero or an error, and which isn't known.
  • sceContentExportFromData, Init, Start, Cancel and Term are implemented.
  • No open pull request or issue touches these four names. I searched every open PR's diff and the open issues for them.

What would settle it

@BunnyFl, if your 13.42 dump has it, from firmware 13.42's libSceContentExport.sprx, for each export:

  1. The argument list, and the checks in order with their codes.
  2. GetProgress: what it returns for a session with no export running, for one in progress, and for an unknown id.
  3. ValidateContents(contentIds, count): the bounds on count, and whether it decides locally or asks a service.
  4. FromFileWithTitleIdList and FromDataWithThumbnail: the checks past the session lookup (paths, the title id list's format, the thumbnail type), before the export itself starts.

Calls on a console with no network, camera or extra devices are enough. Anything that needs real hardware can stay unsupported.

What was checked

main at 07336cc200; core/libs/prx/libSceContentExport; the diffs of all open PRs; open and closed issues.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6546783050 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/25863). Originally posted by [zaryabzip](https://github.com/zaryabzip) on 2026-11-22T19:33:48Z. --- ### What happens Four `libSceContentExport` exports still throw through `NotImplemented_nid_no_patch`: - `sceContentExportValidateContents` throws on every call; - `sceContentExportGetProgress`, `sceContentExportFromFileWithTitleIdList` and `sceContentExportFromDataWithThumbnail` check the export session first, then throw. ### What's known - `docs/dev/debt/libSceContentExport.md` says the host has no media library, so the file export entry points throw after validating the session. It also says `GetProgress` throws because an idle session answers either zero or an error, and which isn't known. - `sceContentExportFromData`, `Init`, `Start`, `Cancel` and `Term` are implemented. - No open pull request or issue touches these four names. I searched every open PR's diff and the open issues for them. ### What would settle it @BunnyFl, if your 13.42 dump has it, from firmware 13.42's `libSceContentExport.sprx`, for each export: 1. The argument list, and the checks in order with their codes. 2. `GetProgress`: what it returns for a session with no export running, for one in progress, and for an unknown id. 3. `ValidateContents(contentIds, count)`: the bounds on `count`, and whether it decides locally or asks a service. 4. `FromFileWithTitleIdList` and `FromDataWithThumbnail`: the checks past the session lookup (paths, the title id list's format, the thumbnail type), before the export itself starts. Calls on a console with no network, camera or extra devices are enough. Anything that needs real hardware can stay unsupported. ### What was checked `main` at 07336cc200; `core/libs/prx/libSceContentExport`; the diffs of all open PRs; open and closed issues. AI-assisted: yes (Claude Code)
Sign in to join this conversation.
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#25863
No description provided.