feat(libSceVideoRecordingP): implement the recorder as unsupported #953
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/953"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by hugodearaujo on 2026-10-06T20:20:24Z.
What
Six libSceVideoRecordingP exports threw. They now model a console whose recorder is unavailable, as the host has no recording service:
sceVideoRecordingQueryMemSize(param)returns 4 KiB, the maximum heap size in SharpProspero (MaxMemSize).sceVideoRecordingOpen(path, param, heap, heapSize)returnsSCE_VIDEO_RECORDING_ERROR_UNSUPPORTED(0x80A80008). Its signature onmainwas a placeholder(buffer, size, param); the new one follows SharpProspero and fpPS4'ssceVideoRecordingOpen2. A null path, param or heap, or a path longer than 1023 bytes (SharpProsperoMaxPathLen), throws.sceVideoRecordingGetStatusreturnsNONE(0), as no recorder is ever open.sceVideoRecordingStart,sceVideoRecordingStopandsceVideoRecordingClosereturnSCE_VIDEO_RECORDING_ERROR_INVALID_STATE(0x80A80006) without an open recorder.Error values follow shadPS4 and fpPS4. The NIDs match the PS5 symbol lists for
libSceVideoRecording.native.The anonymous export
iQS6DUtLybE(0x8904BA0D4B4BC9B1) still throws: no known name hashes to it and its ABI is unknown.Assumptions are recorded in TechnicalDebt:
INVALID_STATEfor start/stop/close.Open question for review: the Raeen HLE (
libsce_online_misc.rs) returns 0 from Stop and Close in the same disabled-recorder model.INVALID_STATEwas chosen here because no recorder is open, but neither value is verified on hardware.Tested
Linux (Arch, GCC), Release with
BUILD_TESTING=ON, rebased on currentmain. Newguest_video_recordingtest:QueryMemSizereturns 4096, and a null param throws.Openthrows for a null path, param or heap and for a 1024-byte path. With a 1023-byte path or a normal path it returnsUNSUPPORTED.INVALID_STATE.GetStatusreturnsNONEbefore and after.Four mutations each make the test fail:
Openreturning 0, an off-by-one path limit, the null heap check removed, andGetStatusreturning 1. Fullctest: 360/360 passed. Not tested with a title.tools/progress.py --compareagainstmain: System libraries 87.21% (+0.21%, +6 implemented functions).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-06T21:20:41Z.
Thanks for fixing the
sceVideoRecordingOpensignature. I'm closing this one. It turns six throwing functions into fixed returns, and no title is shown to need them (PPSA21564 imports none of them). They aren't UI either, so they don't fall under the "Silent stubs" exception. The project keeps unimplemented functions throwing, so that a title that reaches one stops with a clear message.If a title stops at one of these throws, please reopen with its ID and the first call it reaches, and limit the changes to what it calls. The
Opensignature fix can also go in as its own PR.Pull request closed