feat(libSceContentExport): implement FromData, FromFile and FromFileWithThumbnail #5635

Closed
klosixgaming-arch wants to merge 1 commit from upstream-pr/5635 into main
klosixgaming-arch commented 2026-10-14 02:34:16 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by klosixgaming-arch on 2026-10-14T02:34:16Z.


What

Completes libSceContentExport. The three exports take the signatures SharpProspero declares and behave as sceContentExportFromDataWithThumbnail already does: the export session is checked, then they throw because the host has no media library, without reading the source file or calling the data callback. The test covers each with a live and a finished session.

Tested

Linux (Ubuntu 24.04, GCC 13.3, Release): built the library and its test target, ctest -R guest_content_export passes, tools/check_conventions.py --base origin/main passes. No title tested.

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 under Silent stubs in their library's technical debt file
  • 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
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

🤖 Generated with Claude Code

https://claude.ai/code/session_01Dh1MhYBFyzxRceoAxrepZ6

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4852134271 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5635). Originally posted by [klosixgaming-arch](https://github.com/klosixgaming-arch) on 2026-10-14T02:34:16Z. --- ### What Completes libSceContentExport. The three exports take the signatures [SharpProspero](https://github.com/SvenGDK/SharpProspero/blob/5dfdb4b0b166e83dc9ae275001afb695f12c7174/src/SharpProspero/Interop/Content/ContentExport.cs) declares and behave as `sceContentExportFromDataWithThumbnail` already does: the export session is checked, then they throw because the host has no media library, without reading the source file or calling the data callback. The test covers each with a live and a finished session. ### Tested Linux (Ubuntu 24.04, GCC 13.3, Release): built the library and its test target, `ctest -R guest_content_export` passes, `tools/check_conventions.py --base origin/main` passes. No title tested. ### 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 under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [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] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Dh1MhYBFyzxRceoAxrepZ6
github-actions[bot] commented 2026-10-14 02:35:54 +00:00 (Migrated from github.com)

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


Progress report (2ba3147 → edddd00)

📈 System libraries: 88.27% (+0.08%, +3 implemented functions)

✅ 3 implemented
Library Name
libSceContentExport sceContentExportFromData
libSceContentExport sceContentExportFromFile
libSceContentExport sceContentExportFromFileWithThumbnail
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6159622286 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5635#issuecomment-6159622286). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-14T02:35:54Z. --- <!-- progress-report --> ### Progress report (2ba3147 → edddd00) 📈 **System libraries**: 88.27% (+0.08%, +3 implemented functions) <details> <summary>✅ 3 implemented</summary> | Library | Name | | - | - | | libSceContentExport | `sceContentExportFromData` | | libSceContentExport | `sceContentExportFromFile` | | libSceContentExport | `sceContentExportFromFileWithThumbnail` | </details>
oneandonlydean commented 2026-10-14 03:21:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-14T03:21:01Z.


Closing: no title is known to reach this. With the queue at 700+ open PRs, please hold off on new PRs that don't name a title needing the change until it's down. If a title stops on this on current main, reopen with the title ID and the log line.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6160134276 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5635#issuecomment-6160134276). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-14T03:21:01Z. --- Closing: no title is known to reach this. With the queue at 700+ open PRs, please hold off on new PRs that don't name a title needing the change until it's down. If a title stops on this on current main, reopen with the title ID and the log line.

Pull request closed

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!5635
No description provided.