libSceAudioOut/libSceContentDelete: sceAudioOut2EnableChat and the ContentDelete calls (Palworld, Cult of the Lamb loader stops); branch ready with stated gaps #4109

Closed
opened 2026-10-11 23:29:43 +00:00 by screamm · 1 comment
screamm commented 2026-10-11 23:29:43 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by screamm on 2026-10-11T23:29:43Z.


Two loader stops with weak evidence, offered together because both are small and the open questions are stated: sceAudioOut2EnableChat (libSceAudioOut, NID oiOi7vgPfAY; Palworld PPSA25573 imports it, #2648 loader stop) and sceContentDeleteById/sceContentDeleteByPath (libSceContentDelete, NIDs pXJh3aVk8Ks/qC3QW+AltHs; Cult of the Lamb PPSA12338 imports them, #2686 loader stop). Neither call has been observed executing.

Branch ready: screamm:feat/audioout2-chat-contentdelete (two commits on main bab7b328, head 92818482). I cannot open it as a PR under the intake rule; anyone eligible is welcome to carry it, keeping the commits as they are, or to take only the commit they find justified. Expect textual conflicts with #4064 (AudioOut2Latency.cpp) and #3724 (GuestContentUnimplemented.cpp, the ContentExport CMakeLists.txt, the same TechnicalDebt line).

  • sceAudioOut2EnableChat() takes no arguments (SharpProspero AudioOut2.cs:460-464, ps5-payload-dev libSceAudioOut.c:62). The AudioOut2 model has no chat port and the host mixes no chat audio, so the call records an "allowed" flag (traced under APS5_TRACE_AUDIOOUT2) and returns 0; whether the console fails it without a chat session, on a repeat, or before sceAudioOut2Initialize is unknown and recorded in TechnicalDebt (the PPSA28416 "signature unknown" bullet is removed). This is the same footing as the existing no-effect Set3DLatency and Mastering entries; if that is not acceptable the first commit can be dropped.
  • sceContentDeleteById(std::int64_t) and sceContentDeleteByPath(const char*) (Orbital db_types.json:541-542, SharpProspero ContentDelete.cs:25-42): there is no content store on the host (libSceContentExport exports nothing, as #3724's empty-library model also assumes) and no public source gives the not-found code (SharpProspero only has NoPermission 0x809D5006), so after the initialize check and a null-path check both throw std::logic_error naming the id or path, in #3724's wording, rather than report a success that never happened. New guest_content_delete covers before init, null path, missing id/path, after terminate; sceContentDeleteById leaves guest_content_unimplemented.

Tested on Windows 11 Pro 26220, WinLibs MinGW-w64 GCC 15.2.0 r7, Ninja, Release, BUILD_TESTING=ON, full build including libs (with open #4021's one-file Socket.cpp guard applied locally, since main does not compile on MinGW without it): audio_out2_latency, guest_content_delete, guest_content_unimplemented, guest_content_export 3/3; ctest -j8 -E "^agc_driver_|^video_out_flip" under heavy host load: beyond the known Windows failures on current main (agc_write_tracking #4087, guest_kernel_stack_protect #4088, agc_driver #3171) the timeouts (conventions_function_bodies, guest_raise_exception, host_thread_local, tls_function_coverage_register_address_loads, guest_pthread_start) and guest_sce_net pass when rerun serially; with main's libSceContentDelete/Export.cpp the new test fails; tools/check_conventions.py --base main and git diff --check pass. Not run on Linux.

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

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5806251197 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/4109). Originally posted by [screamm](https://github.com/screamm) on 2026-10-11T23:29:43Z. --- Two loader stops with weak evidence, offered together because both are small and the open questions are stated: `sceAudioOut2EnableChat` (libSceAudioOut, NID `oiOi7vgPfAY`; Palworld PPSA25573 imports it, #2648 loader stop) and `sceContentDeleteById`/`sceContentDeleteByPath` (libSceContentDelete, NIDs `pXJh3aVk8Ks`/`qC3QW+AltHs`; Cult of the Lamb PPSA12338 imports them, #2686 loader stop). Neither call has been observed executing. **Branch ready:** [`screamm:feat/audioout2-chat-contentdelete`](https://github.com/screamm/AnyPS5/tree/feat/audioout2-chat-contentdelete) (two commits on `main` `bab7b328`, head `92818482`). I cannot open it as a PR under the intake rule; anyone eligible is welcome to carry it, keeping the commits as they are, or to take only the commit they find justified. Expect textual conflicts with #4064 (`AudioOut2Latency.cpp`) and #3724 (`GuestContentUnimplemented.cpp`, the ContentExport `CMakeLists.txt`, the same TechnicalDebt line). - `sceAudioOut2EnableChat()` takes no arguments (SharpProspero `AudioOut2.cs:460-464`, ps5-payload-dev `libSceAudioOut.c:62`). The AudioOut2 model has no chat port and the host mixes no chat audio, so the call records an "allowed" flag (traced under `APS5_TRACE_AUDIOOUT2`) and returns 0; whether the console fails it without a chat session, on a repeat, or before `sceAudioOut2Initialize` is unknown and recorded in TechnicalDebt (the PPSA28416 "signature unknown" bullet is removed). This is the same footing as the existing no-effect Set3DLatency and Mastering entries; if that is not acceptable the first commit can be dropped. - `sceContentDeleteById(std::int64_t)` and `sceContentDeleteByPath(const char*)` (Orbital `db_types.json:541-542`, SharpProspero `ContentDelete.cs:25-42`): there is no content store on the host (`libSceContentExport` exports nothing, as #3724's empty-library model also assumes) and no public source gives the not-found code (SharpProspero only has `NoPermission 0x809D5006`), so after the initialize check and a null-path check both throw `std::logic_error` naming the id or path, in #3724's wording, rather than report a success that never happened. New `guest_content_delete` covers before init, null path, missing id/path, after terminate; `sceContentDeleteById` leaves `guest_content_unimplemented`. **Tested** on Windows 11 Pro 26220, WinLibs MinGW-w64 GCC 15.2.0 r7, Ninja, Release, `BUILD_TESTING=ON`, full build including `libs` (with open #4021's one-file `Socket.cpp` guard applied locally, since `main` does not compile on MinGW without it): `audio_out2_latency`, `guest_content_delete`, `guest_content_unimplemented`, `guest_content_export` 3/3; `ctest -j8 -E "^agc_driver_|^video_out_flip"` under heavy host load: beyond the known Windows failures on current `main` (`agc_write_tracking` #4087, `guest_kernel_stack_protect` #4088, `agc_driver` #3171) the timeouts (`conventions_function_bodies`, `guest_raise_exception`, `host_thread_local`, `tls_function_coverage_register_address_loads`, `guest_pthread_start`) and `guest_sce_net` pass when rerun serially; with `main`'s `libSceContentDelete/Export.cpp` the new test fails; `tools/check_conventions.py --base main` and `git diff --check` pass. Not run on Linux. Written with Claude Code assistance (implementation by a subagent, reviewed and validated in this session).
oneandonlydean commented 2026-10-13 02:19:31 +00:00 (Migrated from github.com)
Author
Contributor

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


Closing: sceAudioOut2EnableChat, sceContentDeleteById and sceContentDeleteByPath are exported on main, so neither title stops at load on them; they throw when called and no run has called them. Reopen with the title ID and the log line when one does.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6136779984 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/4109#issuecomment-6136779984). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-13T02:19:31Z. --- Closing: `sceAudioOut2EnableChat`, `sceContentDeleteById` and `sceContentDeleteByPath` are exported on main, so neither title stops at load on them; they throw when called and no run has called them. Reopen with the title ID and the log line when one does.
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#4109
No description provided.