libSceVideoOut: Elden Ring Nightreign (PPSA25380) cannot load: sceVideoOutAddBufferAttributeOption is not exported #3802
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 22alfbassett on 2026-10-11T16:51:21Z.
Elden Ring Nightreign (PPSA25380, 01.003.002) imports
sceVideoOutAddBufferAttributeOption(MBlv8YWoyOk), whichlibSceVideoOutdoes not export, sotools/import_audit.pylists it as absent and the loader fails before the title starts. It is one of seven absent imports for this title.The title calls it once, in display setup (
0x02bae530), on the path that opens the overlay bus. Read in Ghidra and radare2 from the relinked executable (image base 0):So the option is added to the
VideoOutBufferAttribute2that the overlay's buffers are then registered with. The overlay path is taken only when the byte at0x04e269b4equals 1; no instruction writes it directly (seven reads, in.bss), so whether it runs in normal play is unknown. The main bus is registered with the same attribute variable before the option is added.The call site matches SharpProspero:
which declares
sceVideoOutRemoveBufferAttributeOptionwith the same signature next to it (not imported by PPSA25380).Related gap
If the function ORs
optionintoattribute->option(offset 0x18), registering the overlay then fails in AnyPS5:sceVideoOutRegisterBuffers2(core/libs/prx/libSceVideoOut/src/Buffer.cppL15) accepts onlyVIDEO_OUT_BUFFER_ATTRIBUTE_OPTION_NONE(0) andSTRICT_COLORIMETRY(8) (include/VideoOutDriver.hppL70–71) and throws on 0x20. What option 0x20 selects is unknown.Unknown
attribute->optionor keeps it elsewhere, and whether it validates the bits or checks for a null attribute.Plan
Export
sceVideoOutAddBufferAttributeOptionthat ORsoptionintoattribute->optionand throws on a null attribute, and keepsceVideoOutRegisterBuffers2throwing on unknown option bits such as 0x20, with TechnicalDebt entries for the signature source and the unknown meaning. That removes this load blocker without guessing what 0x20 does; the throw stays where the meaning matters. I will link the branch here.Elden Ring (PPSA04610) uses the same engine path with
sceVideoOutSetFlipMasterinstead; that function is covered by #3762, and its call site is in a comment there.AI-assisted: yes
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-11T23:28:21Z.
Closing: #3817 exports
sceVideoOutAddBufferAttributeOption. Please open a new issue with the log line for the next stop of PPSA25380.