feat(libs): declare sceGameLiveStreamingEnableLiveStreaming and sceKernelPrintBacktraceWithModuleInfo #8114

Merged
savvaniss merged 1 commit from upstream-pr/8114 into main 2026-10-20 17:19:08 +00:00
savvaniss commented 2026-10-19 22:12:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by savvaniss on 2026-10-19T22:12:40Z.


What

On Windows a PS4 executable does not load unless every import resolves (unresolved ELF import, GetLastError: 127). Risk and Monopoly Plus from CUSA03312 (Hasbro Family Fun Pack) import two functions that neither main nor an open PR exports:

  • sceGameLiveStreamingEnableLiveStreaming;
  • sceKernelPrintBacktraceWithModuleInfo.

This PR only declares them. Each throws NotImplemented_nid_no_patch, and each library's debt file lists it under Unknown function info. Neither was called while either title started, or while Risk played a match. If a title does call one, it stops with a clear message, and that function gets its own PR.

The same titles also import the libScePadTracker and libSceNpProfileDialog functions. #7907 already declares those, so they are left to it. The imports from libraries that only #6977 adds go to a PR on that branch.

Tested

Windows 11 Pro 26300, WinLibs GCC 15.2.0, Release.

  • Both libraries build, and the NID patcher accepts them.
  • Risk and Monopoly Plus (CUSA03312): run through the PS4 path of #6977 with the same declarations, on an RX 9070 XT. Both load. Risk plays a local match, and Monopoly Plus reaches its loading screen; neither calls these two functions.
  • tools/check_conventions.py --base origin/main passes. tools/pr_overlap.py --branch feat/declare-ps4-hasbro-imports reports no other open PR with these exports or lines.

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 under Silent stubs in their library's technical debt file
  • 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
  • Fixes: none
  • Unblocks: CUSA03312 #7198
  • GPUs tested: n/a
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4928119254 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8114). Originally posted by [savvaniss](https://github.com/savvaniss) on 2026-10-19T22:12:40Z. --- ### What On Windows a PS4 executable does not load unless every import resolves (`unresolved ELF import`, `GetLastError: 127`). Risk and Monopoly Plus from CUSA03312 (Hasbro Family Fun Pack) import two functions that neither `main` nor an open PR exports: - `sceGameLiveStreamingEnableLiveStreaming`; - `sceKernelPrintBacktraceWithModuleInfo`. This PR only declares them. Each throws `NotImplemented_nid_no_patch`, and each library's debt file lists it under Unknown function info. Neither was called while either title started, or while Risk played a match. If a title does call one, it stops with a clear message, and that function gets its own PR. The same titles also import the `libScePadTracker` and `libSceNpProfileDialog` functions. #7907 already declares those, so they are left to it. The imports from libraries that only #6977 adds go to a PR on that branch. ### Tested Windows 11 Pro 26300, WinLibs GCC 15.2.0, Release. - Both libraries build, and the NID patcher accepts them. - **Risk and Monopoly Plus (CUSA03312):** run through the PS4 path of #6977 with the same declarations, on an RX 9070 XT. Both load. Risk plays a local match, and Monopoly Plus reaches its loading screen; neither calls these two functions. - `tools/check_conventions.py --base origin/main` passes. `tools/pr_overlap.py --branch feat/declare-ps4-hasbro-imports` reports no other open PR with these exports or lines. ### 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 under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [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] Fixes: none - [x] Unblocks: CUSA03312 #7198 - [x] GPUs tested: n/a - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-actions[bot] commented 2026-10-19 22:13:26 +00:00 (Migrated from github.com)

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


Progress report (0929be5 → 1027bfb)

📉 System libraries: 79.93% (-0.04%, +2 declared functions)

🆕 2 declared as stubs
Library Name
libSceGameLiveStreaming sceGameLiveStreamingEnableLiveStreaming
libkernel sceKernelPrintBacktraceWithModuleInfo
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6278528933 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8114#issuecomment-6278528933). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-19T22:13:26Z. --- <!-- progress-report --> ### Progress report (0929be5 → 1027bfb) 📉 **System libraries**: 79.93% (-0.04%, +2 declared functions) <details> <summary>🆕 2 declared as stubs</summary> | Library | Name | | - | - | | libSceGameLiveStreaming | `sceGameLiveStreamingEnableLiveStreaming` | | libkernel | `sceKernelPrintBacktraceWithModuleInfo` | </details>
github-actions[bot] commented 2026-10-19 22:28:16 +00:00 (Migrated from github.com)

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


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
PR 8255 core/libs/prx/libkernel/Unimplemented.cpp L123
PR 8333 core/libs/prx/libSceGameLiveStreaming/Export.cpp L42

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 4630 docs/dev/debt/libkernel.md
PR 5021 docs/dev/debt/libkernel.md
PR 6149 docs/dev/debt/libkernel.md
PR 6469 docs/dev/debt/libkernel.md
PR 6519 docs/dev/debt/libkernel.md
PR 6586 docs/dev/debt/libkernel.md
PR 6658 docs/dev/debt/libkernel.md
PR 6740 docs/dev/debt/libkernel.md
PR 6893 docs/dev/debt/libkernel.md
PR 6936 docs/dev/debt/libkernel.md
PR 6977 core/libs/prx/libkernel/Unimplemented.cpp
docs/dev/debt/libkernel.md
PR 7049 docs/dev/debt/libkernel.md
PR 7088 docs/dev/debt/libkernel.md
PR 7105 docs/dev/debt/libkernel.md
PR 7121 docs/dev/debt/libkernel.md
PR 7149 docs/dev/debt/libkernel.md
PR 7464 docs/dev/debt/libkernel.md
PR 7509 docs/dev/debt/libkernel.md
PR 7530 docs/dev/debt/libkernel.md
PR 7653 docs/dev/debt/libkernel.md
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6278763736 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8114#issuecomment-6278763736). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-19T22:28:16Z. --- <!-- 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 | |---|---|---|---| | [PR 8255](https://www.github.com/boykopovar/AnyPS5/pull/8255) | `core/libs/prx/libkernel/Unimplemented.cpp` [L123](https://github.com/boykopovar/AnyPS5/blob/2fee39f1b34417debedd46d5896f891261b8c412/core/libs/prx/libkernel/Unimplemented.cpp#L123) | | | | [PR 8333](https://www.github.com/boykopovar/AnyPS5/pull/8333) | `core/libs/prx/libSceGameLiveStreaming/Export.cpp` [L42](https://github.com/boykopovar/AnyPS5/blob/2fee39f1b34417debedd46d5896f891261b8c412/core/libs/prx/libSceGameLiveStreaming/Export.cpp#L42) | | | Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 4630](https://www.github.com/boykopovar/AnyPS5/pull/4630) | `docs/dev/debt/libkernel.md` | | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `docs/dev/debt/libkernel.md` | | [PR 6149](https://www.github.com/boykopovar/AnyPS5/pull/6149) | `docs/dev/debt/libkernel.md` | | [PR 6469](https://www.github.com/boykopovar/AnyPS5/pull/6469) | `docs/dev/debt/libkernel.md` | | [PR 6519](https://www.github.com/boykopovar/AnyPS5/pull/6519) | `docs/dev/debt/libkernel.md` | | [PR 6586](https://www.github.com/boykopovar/AnyPS5/pull/6586) | `docs/dev/debt/libkernel.md` | | [PR 6658](https://www.github.com/boykopovar/AnyPS5/pull/6658) | `docs/dev/debt/libkernel.md` | | [PR 6740](https://www.github.com/boykopovar/AnyPS5/pull/6740) | `docs/dev/debt/libkernel.md` | | [PR 6893](https://www.github.com/boykopovar/AnyPS5/pull/6893) | `docs/dev/debt/libkernel.md` | | [PR 6936](https://www.github.com/boykopovar/AnyPS5/pull/6936) | `docs/dev/debt/libkernel.md` | | [PR 6977](https://www.github.com/boykopovar/AnyPS5/pull/6977) | `core/libs/prx/libkernel/Unimplemented.cpp`<br>`docs/dev/debt/libkernel.md` | | [PR 7049](https://www.github.com/boykopovar/AnyPS5/pull/7049) | `docs/dev/debt/libkernel.md` | | [PR 7088](https://www.github.com/boykopovar/AnyPS5/pull/7088) | `docs/dev/debt/libkernel.md` | | [PR 7105](https://www.github.com/boykopovar/AnyPS5/pull/7105) | `docs/dev/debt/libkernel.md` | | [PR 7121](https://www.github.com/boykopovar/AnyPS5/pull/7121) | `docs/dev/debt/libkernel.md` | | [PR 7149](https://www.github.com/boykopovar/AnyPS5/pull/7149) | `docs/dev/debt/libkernel.md` | | [PR 7464](https://www.github.com/boykopovar/AnyPS5/pull/7464) | `docs/dev/debt/libkernel.md` | | [PR 7509](https://www.github.com/boykopovar/AnyPS5/pull/7509) | `docs/dev/debt/libkernel.md` | | [PR 7530](https://www.github.com/boykopovar/AnyPS5/pull/7530) | `docs/dev/debt/libkernel.md` | | [PR 7653](https://www.github.com/boykopovar/AnyPS5/pull/7653) | `docs/dev/debt/libkernel.md` |
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!8114
No description provided.