feat(libSceContentExport): implement export sessions #3721

Merged
MarcZX10 merged 1 commit from upstream-pr/3721 into main 2026-10-11 22:35:54 +00:00
MarcZX10 commented 2026-10-11 15:59:11 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-11T15:59:11Z.


What

Implements the ContentExport session calls with tracked session ids and explicit errors where no host media export is available. Adds a guest test and documents the remaining behavior that is not confirmed on console.

Carried David's ready commit unchanged, preserving its author metadata. The TechnicalDebt change was rebased with the existing current-main entry retained.

Tested

Independent Linux Release verification on the rebased change: guest_content_export, guest_content_unimplemented, and the full suite (522/522) passed; conventions and git diff --check passed. The original Windows Release report records both focused tests passing and full suite 520/520. Verification details are in issue #3374.

Checklist

  • Based on current main; no other open PR implements these functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw
  • No notes or investigation files added
  • Generic behavior
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4820359584 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3721). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-11T15:59:11Z. --- ### What Implements the ContentExport session calls with tracked session ids and explicit errors where no host media export is available. Adds a guest test and documents the remaining behavior that is not confirmed on console. Carried David's ready commit unchanged, preserving its author metadata. The TechnicalDebt change was rebased with the existing current-main entry retained. ### Tested Independent Linux Release verification on the rebased change: `guest_content_export`, `guest_content_unimplemented`, and the full suite (522/522) passed; conventions and `git diff --check` passed. The original Windows Release report records both focused tests passing and full suite 520/520. Verification details are in issue #3374. ### Checklist - [x] Based on current `main`; no other open PR implements these 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 - [x] No notes or investigation files added - [x] Generic behavior - [x] Depends on: none - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-11 15:59:33 +00:00 (Migrated from github.com)

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


Progress report (b18d4fe → 6ce1240)

📈 System libraries: 86.31% (+0.14%, +5 implemented functions)

✅ 5 implemented
Library Name
libSceContentExport sceContentExportCancel
libSceContentExport sceContentExportFinish
libSceContentExport sceContentExportFromDataWithThumbnail
libSceContentExport sceContentExportGetProgress
libSceContentExport sceContentExportStart
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6110880647 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3721#issuecomment-6110880647). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T15:59:33Z. --- <!-- progress-report --> ### Progress report (b18d4fe → 6ce1240) 📈 **System libraries**: 86.31% (+0.14%, +5 implemented functions) <details> <summary>✅ 5 implemented</summary> | Library | Name | | - | - | | libSceContentExport | `sceContentExportCancel` | | libSceContentExport | `sceContentExportFinish` | | libSceContentExport | `sceContentExportFromDataWithThumbnail` | | libSceContentExport | `sceContentExportGetProgress` | | libSceContentExport | `sceContentExportStart` | </details>
adriadam10 commented 2026-10-11 22:11:19 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T22:11:19Z.


Rebased onto current main (only TechnicalDebt.md conflicted: the unknown-signatures line no longer lists the three ContentExport functions; your Functional entry is kept). After the rebase guest_content_export, guest_content_unimplemented and the neighbouring guest tests pass on Linux. Layouts and MaxExecution still match SharpProspero and shadPS4; unconfirmed behaviour is in TechnicalDebt and throws. Merging.

Note: #3724 touches the same lines in GuestContentUnimplemented.cpp, the CMakeLists and TechnicalDebt, so it will need a rebase after this lands.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6114419124 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3721#issuecomment-6114419124). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-11T22:11:19Z. --- Rebased onto current `main` (only `TechnicalDebt.md` conflicted: the unknown-signatures line no longer lists the three ContentExport functions; your Functional entry is kept). After the rebase `guest_content_export`, `guest_content_unimplemented` and the neighbouring guest tests pass on Linux. Layouts and `MaxExecution` still match SharpProspero and shadPS4; unconfirmed behaviour is in TechnicalDebt and throws. Merging. Note: #3724 touches the same lines in `GuestContentUnimplemented.cpp`, the CMakeLists and TechnicalDebt, so it will need a rebase after this lands.
github-actions[bot] commented 2026-10-11 22:26:23 +00:00 (Migrated from github.com)

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


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
#3626 docs/dev/TechnicalDebt.md L141-142
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6114581388 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3721#issuecomment-6114581388). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T22:26:23Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | #3626 | `docs/dev/TechnicalDebt.md` [L141-142](https://github.com/boykopovar/AnyPS5/blob/5aaf26bd325607f65bde28741a4e82ceaaf586c0/docs/dev/TechnicalDebt.md#L141-L142) | | |
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!3721
No description provided.