feat(libs): add sceAudioInAsyncOpen and sceHttp2SetMinSslVersion #910

Merged
Pacuka merged 2 commits from upstream-pr/910 into main 2026-10-07 20:23:15 +00:00
Pacuka commented 2026-10-06 16:07:50 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Pacuka on 2026-10-06T16:07:50Z.


What

The Smurfs Dreams (PPSA21607, Unreal Engine) imports two functions that no library exports and no open pull request adds, so eager binding stops it before main:

Library Export Behaviour
libSceAudioIn sceAudioInAsyncOpen throws, like sceAudioInHqOpen (signature unknown, covered by the existing AudioIn TechnicalDebt line)
libSceHttp2 sceHttp2SetMinSslVersion returns success like sceHttp2SslEnableOption: no request reaches the network, so there is no TLS connection to restrict (silent stub, listed in TechnicalDebt)

sceAudioInAsyncOpen is imported by the bundled libfmod.prx, sceHttp2SetMinSslVersion by the eboot. The title's other missing imports are added by #734, #518 and #369.

Tested

  • CachyOS, Linux 7.2, GCC, Release, based on 5895ea72. Both NIDs (3YQ1qY5ePUk, 09tk+kIA1Ns) are exported by the built libraries (nm -D). Full ctest: 359/359.
  • The Smurfs Dreams on a local branch with this, #734, #518, #369 and the fixes it hits next (#722, #899, #890): all imports resolve and the title runs past engine start-up.
  • Windows not built or tested.

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

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4761464308 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/910). Originally posted by [Pacuka](https://github.com/Pacuka) on 2026-10-06T16:07:50Z. --- ### What The Smurfs Dreams (PPSA21607, Unreal Engine) imports two functions that no library exports and no open pull request adds, so eager binding stops it before `main`: | Library | Export | Behaviour | |---|---|---| | libSceAudioIn | `sceAudioInAsyncOpen` | throws, like `sceAudioInHqOpen` (signature unknown, covered by the existing AudioIn TechnicalDebt line) | | libSceHttp2 | `sceHttp2SetMinSslVersion` | returns success like `sceHttp2SslEnableOption`: no request reaches the network, so there is no TLS connection to restrict (silent stub, listed in TechnicalDebt) | `sceAudioInAsyncOpen` is imported by the bundled `libfmod.prx`, `sceHttp2SetMinSslVersion` by the eboot. The title's other missing imports are added by #734, #518 and #369. ### Tested - CachyOS, Linux 7.2, GCC, Release, based on `5895ea72`. Both NIDs (`3YQ1qY5ePUk`, `09tk+kIA1Ns`) are exported by the built libraries (`nm -D`). Full ctest: 359/359. - The Smurfs Dreams on a local branch with this, #734, #518, #369 and the fixes it hits next (#722, #899, #890): all imports resolve and the title runs past engine start-up. - Windows not built or tested. ### 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 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-actions[bot] commented 2026-10-06 16:08:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-06T16:08:21Z.


Progress report (c5e1018 → 5b28b82)

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

✅ 1 implemented
Library Name
libSceHttp2 sceHttp2SetMinSslVersion
🆕 1 declared as stubs
Library Name
libSceAudioIn sceAudioInAsyncOpen
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6020381102 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/910#issuecomment-6020381102). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-06T16:08:21Z. --- <!-- progress-report --> ### Progress report (c5e1018 → 5b28b82) 📉 **System libraries**: 86.03% (-0.02%, +1 implemented, +1 declared functions) <details> <summary>✅ 1 implemented</summary> | Library | Name | | - | - | | libSceHttp2 | `sceHttp2SetMinSslVersion` | </details> <details> <summary>🆕 1 declared as stubs</summary> | Library | Name | | - | - | | libSceAudioIn | `sceAudioInAsyncOpen` | </details>
github-actions[bot] commented 2026-10-06 22:05:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-06T22:05:00Z.


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
#1160 docs/dev/TechnicalDebt.md L30
#1206 docs/dev/TechnicalDebt.md L30
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6026300924 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/910#issuecomment-6026300924). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-06T22:05:00Z. --- <!-- 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 | |---|---|---|---| | #1160 | `docs/dev/TechnicalDebt.md` [L30](https://github.com/boykopovar/AnyPS5/blob/4764e59c37b1fc6c89284fdecaef5a5718b6119e/docs/dev/TechnicalDebt.md#L30) | | | | #1206 | `docs/dev/TechnicalDebt.md` [L30](https://github.com/boykopovar/AnyPS5/blob/4764e59c37b1fc6c89284fdecaef5a5718b6119e/docs/dev/TechnicalDebt.md#L30) | | |
adriadam10 commented 2026-10-07 20:10:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-07T20:10:14Z.


Checked the build and full ctest (400/400) on current main, plus both NIDs exported from the built .prx. CI is green. We added one commit on top:

  • sceAudioInAsyncOpen now has its signature: SharpProspero (Interop/Audio/AudioIn.cs) declares it as (int userId, int type, int index, uint timeLen, uint freq, uint param), the same as sceAudioInHqOpen. It still throws.
  • The libSceHttp2 TechnicalDebt line moved off the end of "Silent stubs", where it conflicted with #1160 and #1206. It also says now that any id is accepted (prosper returns the invalid-id error for an unknown one).

Merging once CI is green.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6045937018 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/910#issuecomment-6045937018). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-07T20:10:14Z. --- Checked the build and full ctest (400/400) on current main, plus both NIDs exported from the built `.prx`. CI is green. We added one commit on top: - `sceAudioInAsyncOpen` now has its signature: SharpProspero (`Interop/Audio/AudioIn.cs`) declares it as `(int userId, int type, int index, uint timeLen, uint freq, uint param)`, the same as `sceAudioInHqOpen`. It still throws. - The `libSceHttp2` TechnicalDebt line moved off the end of "Silent stubs", where it conflicted with #1160 and #1206. It also says now that any `id` is accepted (prosper returns the invalid-id error for an unknown one). Merging once CI is green.
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!910
No description provided.