feat(libs): implement sceGameLiveStreamingGetCurrentStatus2 #2205

Merged
XairRrR merged 1 commit from upstream-pr/2205 into main 2026-10-09 22:55:17 +00:00
XairRrR commented 2026-10-09 11:29:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-10-09T11:29:52Z.


What

Uncharted: Legacy of Thieves Collection (PPSA05684) stops on main with:

sceGameLiveStreamingGetCurrentStatus2 not implemented

(#1545 was closed because no title was shown stopping at it.)

The status layout is shadPS4's OrbisGameLiveStreamingStatus2 (72 bytes). Live streaming is not supported, so the call reports that no stream is on air, with an invalid user id; a null status throws. TechnicalDebt records the layout's source.

Tested

Arch Linux, GCC 16.2.1, NVIDIA GeForce RTX 4070 Ti SUPER (driver 615.71.09).

  • The branch alone on current main (d70b8998): tools/check_conventions.py passes; of the 513 ctest tests all pass except agc_driver_dcc_keys_first_write, which fails the same way on main (an unchanged pending image was uploaded again). agc_driver_storage_cache_budget passes run alone; under ctest -j8 a local 3 GB RSS limit stopped it.
  • Uncharted: Legacy of Thieves Collection (PPSA05684): with this and the other changes of its bring-up, the title boots past the stop quoted above and reaches its main menu.

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 in TechnicalDebt
  • 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
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4799799127 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2205). Originally posted by [XairRrR](https://github.com/XairRrR) on 2026-10-09T11:29:52Z. --- ### What Uncharted: Legacy of Thieves Collection (PPSA05684) stops on `main` with: ``` sceGameLiveStreamingGetCurrentStatus2 not implemented ``` (#1545 was closed because no title was shown stopping at it.) The status layout is shadPS4's `OrbisGameLiveStreamingStatus2` (72 bytes). Live streaming is not supported, so the call reports that no stream is on air, with an invalid user id; a null status throws. TechnicalDebt records the layout's source. ### Tested Arch Linux, GCC 16.2.1, NVIDIA GeForce RTX 4070 Ti SUPER (driver 615.71.09). - The branch alone on current `main` (d70b8998): `tools/check_conventions.py` passes; of the 513 ctest tests all pass except `agc_driver_dcc_keys_first_write`, which fails the same way on `main` (`an unchanged pending image was uploaded again`). `agc_driver_storage_cache_budget` passes run alone; under `ctest -j8` a local 3 GB RSS limit stopped it. - Uncharted: Legacy of Thieves Collection (PPSA05684): with this and the other changes of its bring-up, the title boots past the stop quoted above and reaches its main menu. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [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 in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [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] AI-assisted: yes
popcoder565 commented 2026-10-09 15:47:04 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by popcoder565 on 2026-10-09T15:47:04Z.


Native Windows run, since no Windows results were posted. Setup: Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Head 88187f95, merged onto main d70b8998 in one build with 38 other PRs that had no Windows run.

  • This PR has no test of its own. It builds, and the full suite passes.
  • Full ctest in that build: 519 of 519. That needed local fixes to three other PRs in the batch that don't build or pass on Windows: #1611, #1796 and #1824 (reported there).

No title was run.

🤖 Addressed by Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6084282029 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2205#issuecomment-6084282029). Originally posted by [popcoder565](https://github.com/popcoder565) on 2026-10-09T15:47:04Z. --- Native Windows run, since no Windows results were posted. Setup: Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Head `88187f95`, merged onto `main` d70b8998 in one build with 38 other PRs that had no Windows run. - This PR has no test of its own. It builds, and the full suite passes. - Full ctest in that build: 519 of 519. That needed local fixes to three other PRs in the batch that don't build or pass on Windows: #1611, #1796 and #1824 (reported there). No title was run. _🤖 Addressed by [Claude Code](https://claude.com/claude-code)_
adriadam10 commented 2026-10-09 22:04:49 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-09T22:04:49Z.


Checked the OrbisGameLiveStreamingStatus2 layout (72 bytes, offsets) against shadPS4 and KytyPS5; both match. Rebased onto current main (only a TechnicalDebt.md adjacency conflict with the Vdecsw line); build and ctest green on the rebase apart from patched_libraries, which fails on missing libkernel.prx unrelated to this change. Merging once CI is green.

Note: KytyPS5 returns an error code for a null status where this PR throws; fine for exact-or-throw.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6090024041 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2205#issuecomment-6090024041). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-09T22:04:49Z. --- Checked the `OrbisGameLiveStreamingStatus2` layout (72 bytes, offsets) against shadPS4 and KytyPS5; both match. Rebased onto current `main` (only a TechnicalDebt.md adjacency conflict with the Vdecsw line); build and ctest green on the rebase apart from `patched_libraries`, which fails on missing `libkernel.prx` unrelated to this change. Merging once CI is green. Note: KytyPS5 returns an error code for a null status where this PR throws; fine for exact-or-throw.
github-actions[bot] commented 2026-10-09 22:48:28 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-09T22:48:28Z.


Progress report (0ccdf15 → c642428)

📈 System libraries: 85.61% (+0.03%, +1 implemented functions)

✅ 1 implemented
Library Name
libSceGameLiveStreaming sceGameLiveStreamingGetCurrentStatus2
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6090575509 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2205#issuecomment-6090575509). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-09T22:48:28Z. --- <!-- progress-report --> ### Progress report (0ccdf15 → c642428) 📈 **System libraries**: 85.61% (+0.03%, +1 implemented functions) <details> <summary>✅ 1 implemented</summary> | Library | Name | | - | - | | libSceGameLiveStreaming | `sceGameLiveStreamingGetCurrentStatus2` | </details>
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!2205
No description provided.