From 39055977e6ab5abb4dc2067536f5166cdc39d4dc Mon Sep 17 00:00:00 2001 From: Rohan03x <232608315+Rohan03x@users.noreply.github.com> Date: Fri, 9 Oct 2026 22:36:45 +1100 Subject: [PATCH] docs(usage): list the MinGW runtime DLLs a self-built libs directory needs The built Windows libraries import libgcc_s_seh-1.dll, libstdc++-6.dll and libwinpthread-1.dll, and the entry stub loads them without searching PATH. The release archives ship the DLLs in libs/, but the runtime layout only told self-builders to copy the .prx files, which ends in error 126. Co-Authored-By: Claude Opus 5.5 --- docs/user/USAGE.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/user/USAGE.md b/docs/user/USAGE.md index 8405c9cd6..28cb5cf17 100644 --- a/docs/user/USAGE.md +++ b/docs/user/USAGE.md @@ -72,6 +72,8 @@ Use `sce_modules/` or `prx/` instead of `sce_module/` if that is the input direc Use the generated files printed as `Guest module:` for bundled title modules. `libs/` is for AnyPS5 system libraries, not the original PS5 `.prx` files. Placing an original PS5 module in `libs/` on Windows makes Windows try to load it as a DLL and can fail with error 193 (not a valid Win32 application). +On Windows, a self-built `libs/` also needs `libgcc_s_seh-1.dll`, `libstdc++-6.dll` and `libwinpthread-1.dll` from the `mingw64/bin` directory of the toolchain that built the libraries; the release archives already contain them. The libraries are loaded without searching `PATH`, so a copy elsewhere on the system is not used, and a library that needs one of them fails with error 126 (the specified module could not be found) although its `.prx` file is present. + On Windows, direct memory (`sceKernelAllocateDirectMemory`, up to 13824 MiB per title) is committed in full when the title allocates it, not when its pages are first used. The system commit limit (installed memory plus page file size, the second value of Committed in Task Manager) must cover it together with all other committed memory. Otherwise the allocation throws `create direct memory backing of 0x bytes ( MiB)` with the Windows error; enlarge the page file or close other applications. Linux: