Onimusha WotS (PPSA27836): Missing NID YNw9Xk5iNWo in libSceVideoOut #5595
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by amiraction0938 on 2026-10-14T00:39:15Z.
Game
Onimusha Way of the Sword (
PPSA27836)Error
Environment
pr-5140-newbranch (latest)Investigation
The game imports the NID
YNw9Xk5iNWofromlibSceVideoOut, but I couldn't find it in the aerolib NID database at%TEMP%/anyps5-nid-db/aerolib.csv.I also calculated the NIDs for all known
sceVideoOut*functions, but none of them matched the missing NID. For reference:sceVideoOutGetOutputStatusWithVrr→gWT7X8H0bYssceVideoOutGetOutputStatus→utPrVdxio-8This makes me suspect that
YNw9Xk5iNWobelongs to a newer PS5 SDK and isn't currently documented in aerolib.Progress so far
I've been working on getting this game running and have already:
wcsncpy_s,wcsncat,__throw_bad_variant_access, andnum_put::_Getcat.Unsupported memory protection bits: -14error (prot=0xfffffff2).The game now gets stuck on the missing
libSceVideoOutNID.Request
Would it be possible to add this NID to the database? Alternatively, is there a way to manually define a NID-to-function mapping in the
nid_patcher?Any guidance on how to handle this would be appreciated.
Imported from boykopovar/AnyPS5. Originally posted by hossiendehghan989 on 2026-10-14T01:09:27Z.
I reproduced and validated the export-side fix locally.
The change is intentionally limited to making
YNw9Xk5iNWoavailable fromlibSceVideoOut; it does not claim to implement the unknown console behavior. If a title reaches the function, the stub reportsNotImplemented_nid_no_patchrather than silently returning success. That keeps the next runtime blocker observable and avoids guessing the output structure.Validation performed against the PR branch:
git diff --checkpython3 tools/check_conventions.py --base origin/main --head HEAD-Wall -Wextra -Wpedantic -Werrorreadelf -Wsconfirmed bothYNw9Xk5iNWo_nid_no_patch_cutandsceVideoOutUnknown_YNw9Xk5iNWoThe observed
(handle, status)shape is recorded as provisional only. A full Windows/CMake title bring-up was not possible in this Linux sandbox, so I am not claiming that the game is fully running. The open PR is therefore a focused missing-export fix; the remaining ABI and behavior investigation should stay open until call-site or console evidence identifies the function.Imported from boykopovar/AnyPS5. Originally posted by amiraction0938 on 2026-10-14T01:31:55Z.
@hossiendehghan989 Thanks for the quick response and the focused PR #5608!
I want to give you an update on my testing since then:
I switched from the Patch version (v01.000.002) to the Base version (v01.000.001) because the Patch version was causing unrelated issues.
Good news: The Base version does NOT import
YNw9Xk5iNWo. I verified this withstrings eboot.bin | grep YNw9Xk5iNWoon the properly unwrapped ELF, and it returns nothing. So for the Base version at least, PR #5608 is not needed.That said, the fix is still valuable for anyone testing the Patch version of this game or other titles that may hit the same NID. Thanks for the work — I've subscribed to #5608 and will test it if I go back to the Patch version.
Unrelated to this NID, the Base version now crashes at the ELF entry point with a NULL-pointer write. I've opened a separate issue for that.
Thanks again!
Imported from boykopovar/AnyPS5. Originally posted by hossiendehghan989 on 2026-10-14T01:37:57Z.
Thanks for verifying this against the properly unwrapped Base build. That narrows the scope clearly:
YNw9Xk5iNWois not imported by Base v01.000.001, while the import remains relevant to Patch v01.000.002 and potentially other titles or SDK revisions.PR #5608 is intentionally an export-only compatibility fix. It does not claim to implement the unknown console behavior or make the Base build run. If you return to the Patch build, the most useful next signal will be whether module loading proceeds past this import and which unresolved NID or runtime failure appears next.
The NULL-pointer write in the Base build is correctly tracked separately; it should not be conflated with this VideoOut NID issue.
Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-15T18:52:07Z.
Status note: the export from #5608 is no longer on
main. It was reverted in6b4d3c8aethe same day. Dreaming Sarah (PPSA02929) callsYNw9Xk5iNWoduring start-up and aborted on the stub's "YNw9Xk5iNWo not implemented" about 2 s in, so the revert waits for a real implementation.git grep YNw9Xk5iNWoonmain44df21632finds nothing, solibSceVideoOutagain has no export for the NID that the Onimusha patch build (v01.000.002) imports.Checked by reading
mainat44df21632; nothing was run.Written with AI assistance (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-17T18:11:38Z.
I traced the history of
YNw9Xk5iNWo: it is the NID hash for AnyPS5’s former internalMouseIsOpenhelper. Until #5936 renamed that helper toMouseIsOpen_nid_no_patch,libSceVideoOutimported the NID fromlibSceMouse; #5608 then added an export and was reverted after Dreaming Sarah reached the throwing stub. The later review of #6866 confirmed currentmainno longer imports that helper NID.Your report lists
pr-5140-new, so this may be an older branch or a relinker/library version mismatch. Could you retest with the relinker and libraries built from the same currentmaincommit, and attach the exact module’s import-table entry forYNw9Xk5iNWo? If a current title module still imports it, please include the title version and module path; then it may be a genuine console import that needs its signature identified. Until that distinction is established, re-adding the old export risks restoring the internal-name collision.