Feat/sce module load #10

Merged
boykopovar merged 28 commits from upstream-pr/10 into main 2026-09-27 12:47:37 +00:00
boykopovar commented 2026-09-26 16:13:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by boykopovar on 2026-09-26T16:13:40Z.


The game can expect its modified prx from the sce_module/sce_modules folder. The relinker now converts PRX files from sce_module to dll/so format with .guest.prx postfix. During linking, libraries from sce_module are given priority. If a library from sce_module fails to import a symbol or contains a syscall, an exception will be thrown.

This made it possible to remove the GuestLocale formats that were customized for specific guests. Launched apps now use their own PRX files from the sce_module folder.
Locale handling functions now use std::locale.

Added a lot of posix functions to libkernel (they are thin wrappers and do what the existing non-posix versions do)

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4648150369 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10). Originally posted by [boykopovar](https://github.com/boykopovar) on 2026-09-26T16:13:40Z. --- The game can expect its modified prx from the `sce_module`/`sce_modules` folder. The relinker now converts PRX files from sce_module to `dll`/`so` format with `.guest.prx` postfix. During linking, libraries from `sce_module` are given priority. If a library from `sce_module` fails to import a symbol or contains a syscall, an exception will be thrown. This made it possible to remove the GuestLocale formats that were customized for specific guests. Launched apps now use their own PRX files from the `sce_module` folder. Locale handling functions now use `std::locale`. Added a lot of posix functions to `libkernel` (they are thin wrappers and do what the existing non-posix versions do)
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!10
No description provided.