libSceShare: sceShareCaptureVideoClipExtended is a stub (Silksong PPSA12544 Share plugin); fix branch ready #3333

Closed
opened 2026-10-11 08:03:04 +00:00 by screamm · 4 comments
screamm commented 2026-10-11 08:03:04 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by screamm on 2026-10-11T08:03:04Z.


sceShareCaptureVideoClipExtended (libSceShare, Export.cpp) is a NotImplemented_nid_no_patch stub while its sibling sceShareCaptureScreenshotExtended is implemented. Hollow Knight: Silksong (PPSA12544) imports it through its Share plugin (#1024, #989).

Fix branch ready: screamm:feat/share-capture-clip-extended (a99123da, one commit on main 2bb78d2c). I cannot open it as a PR because of the intake check; anyone eligible is welcome to carry it, keeping the commit as is.

  • (const void* extendedParam, int32_t* reqId): behaves exactly like the merged screenshot sibling, as KytyPS5 src/libs/libShare.cpp (147188b1) does for both: nothing is captured, reqId gets -1 when not null, the result is NOT_SUPPORTED (0x81960007), the extended parameter is not read. The NID AcDNpEpoT9U computed from the name matches KytyPS5's registration. TechnicalDebt records that the signature and answer follow KytyPS5, are not confirmed on a title, and that the extended parameter layout is unknown. Like the sibling there is no initialisation check, because neither the sibling nor the sources have one.
  • guest_share now runs the extended cases over both functions: valid and null parameter with reqId == -1, null reqId, both null.

Tested on Windows 11 Pro 26220, WinLibs MinGW-w64 GCC 15.2.0 r7, Ninja, Release, BUILD_TESTING=ON, full build including libs: guest_share 3/3; ctest -j8 -E "^agc_driver_|^video_out_flip" 507/507 (with the #3329 test fix applied locally so the tree builds); with main's Export.cpp the extended test fails; tools/check_conventions.py --base main and git diff --check pass. Not run on Linux. The libSceShare.native copy still lacks the export (unit V7 in the map); if the plugin resolves through .native, that is a separate change.

Written with Claude Code assistance (implementation by a subagent, reviewed and validated in this session).

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5799231975 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3333). Originally posted by [screamm](https://github.com/screamm) on 2026-10-11T08:03:04Z. --- `sceShareCaptureVideoClipExtended` (libSceShare, [Export.cpp](https://github.com/boykopovar/AnyPS5/blob/main/core/libs/prx/libSceShare/Export.cpp)) is a `NotImplemented_nid_no_patch` stub while its sibling `sceShareCaptureScreenshotExtended` is implemented. Hollow Knight: Silksong (PPSA12544) imports it through its Share plugin (#1024, #989). **Fix branch ready:** [`screamm:feat/share-capture-clip-extended`](https://github.com/screamm/AnyPS5/tree/feat/share-capture-clip-extended) (`a99123da`, one commit on `main` `2bb78d2c`). I cannot open it as a PR because of the intake check; anyone eligible is welcome to carry it, keeping the commit as is. - `(const void* extendedParam, int32_t* reqId)`: behaves exactly like the merged screenshot sibling, as KytyPS5 `src/libs/libShare.cpp` (`147188b1`) does for both: nothing is captured, `reqId` gets -1 when not null, the result is `NOT_SUPPORTED` (0x81960007), the extended parameter is not read. The NID `AcDNpEpoT9U` computed from the name matches KytyPS5's registration. TechnicalDebt records that the signature and answer follow KytyPS5, are not confirmed on a title, and that the extended parameter layout is unknown. Like the sibling there is no initialisation check, because neither the sibling nor the sources have one. - `guest_share` now runs the extended cases over both functions: valid and null parameter with `reqId == -1`, null `reqId`, both null. **Tested** on Windows 11 Pro 26220, WinLibs MinGW-w64 GCC 15.2.0 r7, Ninja, Release, `BUILD_TESTING=ON`, full build including `libs`: `guest_share` 3/3; `ctest -j8 -E "^agc_driver_|^video_out_flip"` 507/507 (with the #3329 test fix applied locally so the tree builds); with `main`'s `Export.cpp` the extended test fails; `tools/check_conventions.py --base main` and `git diff --check` pass. Not run on Linux. The `libSceShare.native` copy still lacks the export (unit V7 in the map); if the plugin resolves through `.native`, that is a separate change. Written with Claude Code assistance (implementation by a subagent, reviewed and validated in this session).
blawesom commented 2026-10-11 09:52:49 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by blawesom on 2026-10-11T09:52:49Z.


Independent verification on Linux (the gap noted in the report): CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release, BUILD_TESTING=ON.

  • Rebased a99123da onto current main (the branch was 239 commits behind): one conflict in docs/dev/TechnicalDebt.md, resolved by keeping both this entry and main's newer entries; no code conflicts.
  • tools/check_conventions.py --base origin/main and git diff --check pass.
  • guest_share passes.
  • Full suite mirroring the Windows run (ctest -j8 -E "^agc_driver_|^video_out_flip"): 520/520 passed.

The rebased branch is available at blawesom:verify/3333 for anyone carrying — the commit is otherwise unchanged.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6107769180 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3333#issuecomment-6107769180). Originally posted by [blawesom](https://github.com/blawesom) on 2026-10-11T09:52:49Z. --- Independent verification on **Linux** (the gap noted in the report): CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release, `BUILD_TESTING=ON`. - Rebased `a99123da` onto current `main` (the branch was 239 commits behind): one conflict in `docs/dev/TechnicalDebt.md`, resolved by keeping both this entry and main's newer entries; no code conflicts. - `tools/check_conventions.py --base origin/main` and `git diff --check` pass. - `guest_share` passes. - Full suite mirroring the Windows run (`ctest -j8 -E "^agc_driver_|^video_out_flip"`): **520/520 passed**. The rebased branch is available at [`blawesom:verify/3333`](https://github.com/blawesom/AnyPS5/tree/verify/3333) for anyone carrying — the commit is otherwise unchanged.
MarcZX10 commented 2026-10-11 15:57:51 +00:00 (Migrated from github.com)
Author
Contributor

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


Carried David’s ready commit unchanged into #3720, preserving its author metadata. The change is based on current main; independent Linux verification is summarized in the PR description.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6110865571 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3333#issuecomment-6110865571). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-11T15:57:51Z. --- Carried David’s ready commit unchanged into #3720, preserving its author metadata. The change is based on current main; independent Linux verification is summarized in the PR description.
adriadam10 commented 2026-10-12 20:07:27 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-12T20:07:27Z.


#3720 implements sceShareCaptureVideoClipExtended with the same unsupported-capture answer as its screenshot sibling, covered by guest_share; whether Silksong runs further is not verified.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6131753469 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3333#issuecomment-6131753469). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-12T20:07:27Z. --- #3720 implements `sceShareCaptureVideoClipExtended` with the same unsupported-capture answer as its screenshot sibling, covered by `guest_share`; whether Silksong runs further is not verified.
oneandonlydean commented 2026-10-13 02:07:48 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-13T02:07:48Z.


Closing: fixed by #3720.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6136613186 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3333#issuecomment-6136613186). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-13T02:07:48Z. --- Closing: fixed by #3720.
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#3333
No description provided.