Skip to content

feat(libSceRudp): declare the calls PPSA06888 imports - #3853

Merged
adriadam10 merged 1 commit into
boykopovar:mainfrom
billythemenace2:feat/rudp-ppsa06888-imports
Oct 11, 2026
Merged

adriadam10 merged 1 commit into
boykopovar:mainfrom
billythemenace2:feat/rudp-ppsa06888-imports

Conversation

@billythemenace2

Copy link
Copy Markdown

What

PPSA06888 (Unity) stops on main at start-up, because its bundled Media/Plugins/SceRudp.prx imports three libSceRudp calls that no library exports:

FAIL: unresolved ELF import fJ51weR1WAI from libSceRudp.prx

The three calls are sceRudpEnableInternalIOThread2 (fJ51weR1WAI), sceRudpGetOption (mCQIhSmCP6o) and sceRudpGetRemoteInfo (Qignjmfgha0). Their signatures are unknown, so they are declared without parameters and throw through NotImplemented_nid_no_patch, like the other imports in Unknown function info. The names hash to the imported NIDs and match shadPS4's NID table, which also declares them without parameters. The title does not call them during start-up.

The plugin also imports sceRudpProcessEvents and sceRudpNetReceived. #3823 adds those, so they are left out here.

Tested

Windows 11, RX 5700 XT (AMD proprietary driver), MinGW-w64 GCC 15.2.0, Release.

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

PPSA06888 stops on main at start-up because its bundled
Media/Plugins/SceRudp.prx imports sceRudpEnableInternalIOThread2,
sceRudpGetOption and sceRudpGetRemoteInfo, which no library exports.

The signatures are unknown, so they are declared without parameters and
throw. The title does not call them during start-up.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Progress report (a11c8f7 → e2bface)

📉 System libraries: 85.74% (-0.07%, +3 declared functions)

🆕 3 declared as stubs
Library Name
libSceRudp sceRudpEnableInternalIOThread2
libSceRudp sceRudpGetOption
libSceRudp sceRudpGetRemoteInfo

@adriadam10

Copy link
Copy Markdown
Collaborator

Checked on top of current main: build and the libs ctest scope pass; the three names and NIDs (fJ51weR1WAI, mCQIhSmCP6o, Qignjmfgha0) match the NID tables, shadPS4 declares them without parameters too, they are not defined elsewhere, and the TechnicalDebt line sits under "Unknown function info". No conflict with #3823. Merging once CI is green.

@adriadam10
adriadam10 merged commit 8fc53cb into boykopovar:main Oct 11, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants