Skip to content

feat(vnainternal): add named inventory exports - #13170

Merged
oneandonlydean merged 1 commit into
boykopovar:mainfrom
Celegans12:feat/vnainternal-inventory-exports-20261030
Nov 1, 2026
Merged

oneandonlydean merged 1 commit into
boykopovar:mainfrom
Celegans12:feat/vnainternal-inventory-exports-20261030

Conversation

@Celegans12

Copy link
Copy Markdown
Contributor

What

Add 84 verified named libSceVnaInternal exports from the PS5 13.60 function-stub inventory pinned at xdCloudy/PS5-13.60-Function-Stub-Library@bfec40deb4c47a17d7603ee2bc79aa6862c0c56b.

The pinned physical-provider map at cc1d586fddab576a520f226da6b2632b031e6d09 assigns the inventory's exact 88-NID set to libSceVnaInternal.sprx. Four unresolved inventory NIDs (4pvvjbiJZlM, V4B6VaIBhPc, h+wCIFVgaSU, iWRdR8YAr0k) are deliberately excluded.

Each addition is an import-resolution placeholder that immediately throws through NotImplemented_nid_no_patch; no voice-network-agent behavior is implemented. Parameter lists, return types, ABI details and semantics are unverified and are recorded in the library technical debt.

Closed PR #10672 included 27 VnaInternal declarations sourced from a PS4 inventory and was closed because that source did not establish PS5 exports. This change does not use that PS4 source as evidence. Twenty-one names recur only because each is independently present as a verified name/NID binding in the pinned PS5 13.60 records: sceVnaCancelDownloadTts, sceVnaCancelTts, sceVnaCheckCallback, sceVnaCloseTtsStream, sceVnaGetFeedbackStatus, sceVnaGetMicStatus, sceVnaGetVadState, sceVnaInitialize, sceVnaInitializeForParty, sceVnaNotify, sceVnaNotifyStatus, sceVnaOpenTtsStream, sceVnaReadTtsStream, sceVnaRegisterCallback, sceVnaRequestDownloadTts, sceVnaRequestTts, sceVnaSetDucking, sceVnaStartAnalyze, sceVnaStopAnalyze, sceVnaTerminate, and sceVnaUnregisterCallback. None of the six PS4-only names from #10672 is included.

Tested

  • Based on upstream main at 8c8b9986204d5b1cbb23847b363df00ae832ec9c.
  • python3 tools/check_conventions.py --base origin/main
  • git diff --check
  • Direct C++20 syntax compilation of core/libs/prx/libSceVnaInternal/Export.cpp.
  • Public-header audit: 373 libraries and 14,329 exports; all 64 standalone header-compilation shards passed.
  • tools/nid_names.py: all 84 names matched their pinned inventory NIDs.
  • Built a minimal native libSceVnaInternal DSO, ran nid_patcher, and verified all 84 expected NIDs appeared exactly once with no extra NID-like exports.
  • tools/pr_overlap.py: no file or export overlap across 1,475 open PRs.

No PS5 hardware, title, Vna runtime, Windows, GPU or full-suite validation was performed. No library-specific behavior test exists for these throwing placeholders.

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: none
  • GPUs tested: n/a
  • AI-assisted: yes (ChatGPT Work)

@github-actions

Copy link
Copy Markdown

Progress report (8c8b998 → 31ddc77)

📉 System libraries: 43.07% (-0.23%, +84 declared functions)

🆕 84 declared as stubs
Library Name
libSceVnaInternal sceVnaCancelDownloadTts
libSceVnaInternal sceVnaCancelTts
libSceVnaInternal sceVnaCheckCallback
libSceVnaInternal sceVnaCloseTtsStream
libSceVnaInternal sceVnaDevideAnalyze
libSceVnaInternal sceVnaDisableAgentGui
libSceVnaInternal sceVnaDisableWupRecording
libSceVnaInternal sceVnaGenerateTelemetrySessionId
libSceVnaInternal sceVnaGetAgentAvailabilityInfo
libSceVnaInternal sceVnaGetAgentSettings
libSceVnaInternal sceVnaGetCurrentAudioInTelemetryInfo
libSceVnaInternal sceVnaGetErrorSeverity
libSceVnaInternal sceVnaGetEventData
libSceVnaInternal sceVnaGetFeedbackStatus
libSceVnaInternal sceVnaGetKeyPhraseInfo
libSceVnaInternal sceVnaGetKeyPhraseInfoCount
libSceVnaInternal sceVnaGetLanguageModelDirectoryPath
libSceVnaInternal sceVnaGetMicStatus
libSceVnaInternal sceVnaGetSupportedLanguageInfo
libSceVnaInternal sceVnaGetSupportedSpeakerType
libSceVnaInternal sceVnaGetTtsVolume
libSceVnaInternal sceVnaGetVadState
libSceVnaInternal sceVnaGetVoiceDataCollectionSettings
libSceVnaInternal sceVnaGetVoiceDataCollectionSettingsAsync
libSceVnaInternal sceVnaGetVoiceOskOptInStatus
libSceVnaInternal sceVnaInitialize
libSceVnaInternal sceVnaInitializeForParty
libSceVnaInternal sceVnaNotify
libSceVnaInternal sceVnaNotifyStatus
libSceVnaInternal sceVnaOpenTtsStream
libSceVnaInternal sceVnaPlaySound
libSceVnaInternal sceVnaPlayTts
libSceVnaInternal sceVnaReadTtsStream
libSceVnaInternal sceVnaRegisterCallback
libSceVnaInternal sceVnaRegisterSubscribeTarget
libSceVnaInternal sceVnaRequestDialogTts
libSceVnaInternal sceVnaRequestDownloadCahcedTts
libSceVnaInternal sceVnaRequestDownloadTts
libSceVnaInternal sceVnaRequestPlayCachedTts
libSceVnaInternal sceVnaRequestTts
libSceVnaInternal sceVnaSendAgentEvent
libSceVnaInternal sceVnaSetAgentInfo
libSceVnaInternal sceVnaSetAgentIntentSessionTelemetry
libSceVnaInternal sceVnaSetAsrExclusive
libSceVnaInternal sceVnaSetClientStatus
libSceVnaInternal sceVnaSetDucking
libSceVnaInternal sceVnaSetEnableAssistantLegalCheckStatus
libSceVnaInternal sceVnaSetEnableAssistantSettings
libSceVnaInternal sceVnaSetEnableFeedbackSettings
libSceVnaInternal sceVnaSetEnableWupSettings
libSceVnaInternal sceVnaSetFeedbackTrigger
libSceVnaInternal sceVnaSetKeyPhrase
libSceVnaInternal sceVnaSetKeyPhraseCategoryEnable
libSceVnaInternal sceVnaSetLanguageSettings
libSceVnaInternal sceVnaSetLocation
libSceVnaInternal sceVnaSetSessionInfo
libSceVnaInternal sceVnaSetSessionTimeoutSettings
libSceVnaInternal sceVnaSetTrimEndAudioFrame
libSceVnaInternal sceVnaSetTtsDuckingLevel
libSceVnaInternal sceVnaSetTtsSpeedSettings
libSceVnaInternal sceVnaSetTtsVolumeSettings
libSceVnaInternal sceVnaSetUmmStatus
libSceVnaInternal sceVnaSetVadConfig
libSceVnaInternal sceVnaSetVadVolumeThreshold
libSceVnaInternal sceVnaSetVoiceDataCollectionSettingsAsync
libSceVnaInternal sceVnaSetVoiceOskOptInStatus
libSceVnaInternal sceVnaSetWakeUpPhraseTelemetry
libSceVnaInternal sceVnaSetupKeyPhraseDetection
libSceVnaInternal sceVnaStartAnalyze
libSceVnaInternal sceVnaStartAnalyzeInternal
libSceVnaInternal sceVnaStartKeyPhraseDetection
libSceVnaInternal sceVnaStopAnalyze
libSceVnaInternal sceVnaStopKeyPhraseDetection
libSceVnaInternal sceVnaTerminate
libSceVnaInternal sceVnaUnregisterCallback
libSceVnaInternal sceVnaUnregisterSubscribeTarget
libSceVnaInternal sceVnaUtilGetSupportedLanguageList
libSceVnaInternal sceVnaUtilGetVoiceInputStatus
libSceVnaInternal sceVnaUtilInitialize
libSceVnaInternal sceVnaUtilIsLanguageSupported
libSceVnaInternal sceVnaUtilRemoveVoiceInputStatus
libSceVnaInternal sceVnaUtilTerminate
libSceVnaInternal sceVnaUtilUpdateVoiceInputStatus
libSceVnaInternal sceVnaWaitReady

Changed libraries (implemented exports)

Library Before After Change
libSceVnaInternal No exports 0/84 (0.00%) n/a

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — looks good

The change adds inventory-backed names as throwing import-resolution placeholders and records the unverified ABI details; I found no blocking issue within that stated scope.

What I ran

Head 31ddc77010bcea83829655bff757155ecb0bf290 against main at 8c8b9986204d5b1cbb23847b363df00ae832ec9c; the merge preview was clean (710d7b629fd8540f794b7b59ee6d7d960d54732a). Environment: Linux x86_64, Python 3.11.2.

git diff --check 8c8b9986204d5b1cbb23847b363df00ae832ec9c...31ddc77010bcea83829655bff757155ecb0bf290
python3 tools/check_conventions.py --base 8c8b9986204d5b1cbb23847b363df00ae832ec9c
python3 tools/nid_names.py --from-file <pinned-inventory-jsonl>
python3 tools/pr_overlap.py --branch refs/remotes/upstream/pr-13170-current --jobs 8

Results

Check Result
Merge preview with current main Pass; clean tree 710d7b629fd8540f794b7b59ee6d7d960d54732a
Diff whitespace Pass; git diff --check returned no output
Conventions Pass; All conventions checks passed.
Inventory/name audit Pass; all 84 declarations matched the pinned PS5 13.60 inventory and the pinned module map; 4 other NIDs were excluded as documented
Header audit Pass; 373 libraries and 14,329 exports; declarations are unique and umbrella coverage verified
Open PR overlap scan Pass; scanned 1,479 open PRs and reported no overlap
Hosted Windows workflow Pass (14m 8s)
Other hosted jobs Linux and specialized jobs were skipped
Local command output
[git diff --check]
[no output; exit status 0]

[python3 tools/check_conventions.py --base 8c8b9986204d5b1cbb23847b363df00ae832ec9c]
All conventions checks passed.

[python3 tools/pr_overlap.py --branch refs/remotes/upstream/pr-13170-current --jobs 8]
No overlap with open pull requests.

Negative control

Assertion Change to code under test Did the new test fail?
PS5 VNA call signatures and runtime behavior No behavioral assertion is included because the PR explicitly marks signatures and behavior unknown Could not be exercised; this PR adds throwing placeholders only.

Findings

Blocking

None found for the documented placeholder scope.

Non-blocking

The int parameterless declarations are not verified PS5 ABI signatures. The PR documents this in its technical-debt entry and states that each export throws; callers must not treat these declarations as evidence of a working VNA implementation. Replace them with verified signatures and behavior when authoritative ABI evidence becomes available.

Sources

Not verified

I did not compile or run local tests. The Windows hosted workflow passed; Linux and specialized hosted jobs were skipped. No PS5 console behavior, function signatures, or VNA functionality was verified.

@oneandonlydean oneandonlydean self-assigned this Oct 30, 2026
@oneandonlydean
oneandonlydean merged commit ad4854c into boykopovar:main Nov 1, 2026
11 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.

4 participants