feat(libSceHttp2): export sceHttp2WebSocketSetPingTimeout #5771

Merged
simonbronk merged 2 commits from upstream-pr/5771 into main 2026-10-14 13:43:13 +00:00
simonbronk commented 2026-10-14 09:55:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by simonbronk on 2026-10-14T09:55:45Z.


What

Onimusha: Way of the Sword (PPSA27836 01.000.001) imports -MU9L6S3Fj4 from libSceHttp2.prx, which no built library exports, so the loader stops. tools/nid_names.py resolves it to sceHttp2WebSocketSetPingTimeout. It is exported here as a throwing stub, like its neighbour sceHttp2WebSocketSetPingInterval, with a debt entry; the title does not call it during start-up.

Tested

  • Windows 11 Pro 26200, WinLibs GCC 15.2.0 r7, Release, on main 0b97f8b9f: full ctest -j 8, 1142/1142 pass.
  • tools/import_audit.py on the title's registries: absent goes from 1 (-MU9L6S3Fj4) to 0.
  • PPSA27836 on Windows (RTX 5070), relinked with --windows-fixed-base 0x400000000: it loads and stops next at sceKernelMprotect (#5770). No call to this export was seen in the runs. The stops are listed in #5769.
  • python tools/check_conventions.py --base upstream/main: passes.

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 — not applicable
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: PPSA27836 #5769 (stop 2, the loader)
  • GPUs tested: n/a (no AGC, shader recompiler or VideoOut change)
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4856107431 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5771). Originally posted by [simonbronk](https://github.com/simonbronk) on 2026-10-14T09:55:45Z. --- ### What Onimusha: Way of the Sword (PPSA27836 01.000.001) imports `-MU9L6S3Fj4` from `libSceHttp2.prx`, which no built library exports, so the loader stops. `tools/nid_names.py` resolves it to `sceHttp2WebSocketSetPingTimeout`. It is exported here as a throwing stub, like its neighbour `sceHttp2WebSocketSetPingInterval`, with a debt entry; the title does not call it during start-up. ### Tested - Windows 11 Pro 26200, WinLibs GCC 15.2.0 r7, Release, on `main` 0b97f8b9f: full `ctest -j 8`, 1142/1142 pass. - `tools/import_audit.py` on the title's registries: `absent` goes from 1 (`-MU9L6S3Fj4`) to 0. - PPSA27836 on Windows (RTX 5070), relinked with `--windows-fixed-base 0x400000000`: it loads and stops next at `sceKernelMprotect` (#5770). No call to this export was seen in the runs. The stops are listed in #5769. - `python tools/check_conventions.py --base upstream/main`: passes. ### Checklist - [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 - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's technical 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 — not applicable - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: PPSA27836 #5769 (stop 2, the loader) - [x] GPUs tested: n/a (no AGC, shader recompiler or VideoOut change) - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-actions[bot] commented 2026-10-14 09:56:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-14T09:56:30Z.


Progress report (daf256b → ddf5e14)

📉 System libraries: 88.2% (-0.02%, +1 declared functions)

🆕 1 declared as stubs
Library Name
libSceHttp2 sceHttp2WebSocketSetPingTimeout
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6165720761 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5771#issuecomment-6165720761). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-14T09:56:30Z. --- <!-- progress-report --> ### Progress report (daf256b → ddf5e14) 📉 **System libraries**: 88.2% (-0.02%, +1 declared functions) <details> <summary>🆕 1 declared as stubs</summary> | Library | Name | | - | - | | libSceHttp2 | `sceHttp2WebSocketSetPingTimeout` | </details>
adriadam10 commented 2026-10-14 13:29:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-14T13:29:39Z.


Checked the NID (-MU9L6S3Fj4 ↔ sceHttp2WebSocketSetPingTimeout), the throwing stub matching its neighbour, the debt entry and libSceHttp2's ctest on current main; merging.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6169507107 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5771#issuecomment-6169507107). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-14T13:29:39Z. --- Checked the NID (`-MU9L6S3Fj4` ↔ `sceHttp2WebSocketSetPingTimeout`), the throwing stub matching its neighbour, the debt entry and libSceHttp2's ctest on current main; merging.
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!5771
No description provided.