Launching Silksong Failed #2942
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 oi-butchuh on 2026-10-10T18:41:06Z.
im trying to launch silksong, ive set up anyps5 all files are present, but when i try to launch the game this error shows up,
-> FAILED
Failed to load module: D:\holosilksong_decrypted\libs\Il2cppUserAssemblies.prx
GetLastError: 193 - %1 is not a valid Win32 application.
Imported from boykopovar/AnyPS5. Originally posted by TheAggie on 2026-10-10T20:32:46Z.
I hit the same error with a Unity IL2CPP homebrew from the catalog, Middle Ages Ping Pong (PPSA28319), on
mainb8a083b2:As far as I can tell it affects every Unity IL2CPP title. There are two parts.
1. The eboot needs modules that sit in
Media/Modules. The eboot'sDT_NEEDEDlistsIl2cppUserAssemblies.prxandPS5Util.prx. Unity ships them inMedia/Modules/(as SELF files), not insce_module/. The relinker only resolves guest modules fromsce_module,sce_modulesandprx(GuestModuleBuilder.cpp). So it treats them as system libraries, and the exe tries to load them fromlibs\. That's the error above (GetLastError193 in your case, because something else with that name was inlibs\).2. Unity also loads the same module at runtime by path. With the modules copied into
sce_module(afterps5-native-tool self --extract), the exe starts. Then the player callssceKernelLoadStartModule("/app0/Media/Modules/Il2CppUserAssemblies.prx"):0x80020002(unable to load /app0/Media/Modules/Il2CppUserAssemblies.prx), because libkernel looks for<path>.guest.prxnext to it.il2cpp_set_find_plugin_callbackpointer: the module's name-to-API map lookup returns 0 for it.Workaround that gets past both:
Media/Modules/*.prxto ELF.sce_module/before relinking the eboot.relinker --windows --skip-sce-module Il2CppUserAssemblies.prx app0/Media/Modules/Il2CppUserAssemblies.prx.guest.prx, and the same forPS5Util.prx.With that, PPSA28319 gets through IL2CPP start-up and runs until its first 2x MSAA draw (
register 0x2f8 = 0x00108001, which #419 covers).This leaves two copies of each module (the startup one and the runtime one). A cleaner fix is probably for the relinker to resolve
DT_NEEDEDnames fromMedia/Modules(case-insensitively: the eboot asks forIl2cpp, the file isIl2Cpp) and write the artifact there. Then the startup dependency and the runtime load would get the same module.test_guest_module_identity.pyandtest_guest_needed_nested_modules.pycurrently assert that providers inMedia/Modulesare not converted. Is that deliberate?Windows 11, MinGW-w64 GCC 15.2.0, RTX 5070 Ti.
AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-11T05:06:34Z.
Yes, it's deliberate: since #2708 the relinker takes guest modules only from
sce_module,sce_modulesandprx. #846 adds--module-dirforMedia/ModulesandMedia/Plugins(needed modules start with the executable, the rest when the title loads them); it needs a rebase. Does PPSA28319 start with #846 and--module-dir Media/Modules?Imported from boykopovar/AnyPS5. Originally posted by oi-butchuh on 2026-10-11T15:58:12Z.
excuse me for the late reply, i thought i would be ignored like on discord. yes a change is welcome, please send me the pr @TheAggie
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-11T23:25:55Z.
Closing: #846 is merged. Relink with
--module-dir Media/Modules(andMedia/Pluginsif the title has one). Modules that are still SELF containers have to be extracted first. Reopen with the log if PPSA12544 still fails to start that way.