libSceContentExport: FromFile, FromFileWithThumbnail, FromFileForSf and FromFileWithContentIdList need readings from the firmware module #28498

Open
opened 2026-12-01 07:48:44 +00:00 by zaryabzip · 0 comments
zaryabzip commented 2026-12-01 07:48:44 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by zaryabzip on 2026-12-01T07:48:44Z.


What happens

Four libSceContentExport file exports still throw on every call:

  • sceContentExportFromFile
  • sceContentExportFromFileWithThumbnail
  • sceContentExportFromFileForSf
  • sceContentExportFromFileWithContentIdList

Each checks the export session with a host helper that throws for an unknown session or an uninitialized library, then calls NotImplemented_nid_no_patch. A title that exports a screenshot or a clip through any of them stops there.

What's known

  • @noisyweather's 9.20 reading on #25863 (comment) covers sceContentExportFromFileWithTitleIdList, now implemented up to the service call. Its entry point makes the init, id, null-pointer, param+0x101 and empty-slot checks, then enters a file-export worker at 0x430. That worker:
    • turns states 0 and ≥ 3 away with 0x809D3004 and 0x809D3003;
    • from SDK 5.50 checks the source and thumbnail files (0x809D3011, 0x809D301A, 0x809D301C);
    • sends the request to SceCntMgrService and ends in state 2.
  • The four exports above were outside that issue's scope, so their entry points weren't read. They probably enter the same worker with different arguments, but nothing confirms it.
  • docs/dev/debt/libSceContentExport.md says the host has no media library. The data exports (FromData, and FromDataWithThumbnail in #28141) write temporary files instead.
  • No open pull request or issue touches these four names. I searched every open PR's diff and the open and closed issues.

What would settle it

@noisyweather, from the same 9.20 libSceContentExport.sprx, or @BunnyFl from 13.42 if your dump has it, for each of the four:

  1. The argument list, and the entry-point checks in order with their codes. In particular, does an unknown or empty session return 0x809D3016 like FromFileWithTitleIdList?
  2. Whether it enters the worker at 0x430, and with which arguments and option byte. The title-id reading saw "option byte > 2: 0x809D3016; this entry always passes 0".
  3. Anything it checks that the title-id form doesn't: FromFileForSf's ContentExportSfParam, and FromFileWithContentIdList's id array and count bounds.
  4. Where the request differs from the title-id form's (a content-id list instead of a title-id list, no thumbnail for FromFile).

Disassembly is enough. A console run would settle the codes for an unknown session and a missing source file.

What was checked

main at 76d0a4a7dc; core/libs/prx/libSceContentExport; the diffs of all open PRs; open and closed issues and PRs for these names.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6715283247 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/28498). Originally posted by [zaryabzip](https://github.com/zaryabzip) on 2026-12-01T07:48:44Z. --- ### What happens Four `libSceContentExport` file exports still throw on every call: - `sceContentExportFromFile` - `sceContentExportFromFileWithThumbnail` - `sceContentExportFromFileForSf` - `sceContentExportFromFileWithContentIdList` Each checks the export session with a host helper that throws for an unknown session or an uninitialized library, then calls `NotImplemented_nid_no_patch`. A title that exports a screenshot or a clip through any of them stops there. ### What's known - @noisyweather's 9.20 reading on #25863 ([comment](https://github.com/boykopovar/AnyPS5/issues/25863#issuecomment-7136157911)) covers `sceContentExportFromFileWithTitleIdList`, now implemented up to the service call. Its entry point makes the init, id, null-pointer, `param+0x101` and empty-slot checks, then enters a file-export worker at `0x430`. That worker: - turns states 0 and ≥ 3 away with `0x809D3004` and `0x809D3003`; - from SDK 5.50 checks the source and thumbnail files (`0x809D3011`, `0x809D301A`, `0x809D301C`); - sends the request to `SceCntMgrService` and ends in state 2. - The four exports above were outside that issue's scope, so their entry points weren't read. They probably enter the same worker with different arguments, but nothing confirms it. - `docs/dev/debt/libSceContentExport.md` says the host has no media library. The data exports (`FromData`, and `FromDataWithThumbnail` in #28141) write temporary files instead. - No open pull request or issue touches these four names. I searched every open PR's diff and the open and closed issues. ### What would settle it @noisyweather, from the same 9.20 `libSceContentExport.sprx`, or @BunnyFl from 13.42 if your dump has it, for each of the four: 1. The argument list, and the entry-point checks in order with their codes. In particular, does an unknown or empty session return `0x809D3016` like `FromFileWithTitleIdList`? 2. Whether it enters the worker at `0x430`, and with which arguments and option byte. The title-id reading saw "option byte > 2: `0x809D3016`; this entry always passes 0". 3. Anything it checks that the title-id form doesn't: `FromFileForSf`'s `ContentExportSfParam`, and `FromFileWithContentIdList`'s id array and count bounds. 4. Where the request differs from the title-id form's (a content-id list instead of a title-id list, no thumbnail for `FromFile`). Disassembly is enough. A console run would settle the codes for an unknown session and a missing source file. ### What was checked `main` at 76d0a4a7dc; `core/libs/prx/libSceContentExport`; the diffs of all open PRs; open and closed issues and PRs for these names. 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#28498
No description provided.