docs: document exefs PFS0 replacement

This commit is contained in:
hexkyz 2020-04-26 20:56:12 +01:00 committed by GitHub
parent a61fdc8d65
commit 93e855a293
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,6 +28,11 @@ This allows the replacement of applets, system modules, or even games with homeb
In order to prevent an NSO from being loaded even if it exists in the exefs, loader will also check if a stub file exists. If such a file exists, the NSO will not be loaded. The files should be named like `rtld.stub`, `main.stub`, etc. and may be empty. In order to prevent an NSO from being loaded even if it exists in the exefs, loader will also check if a stub file exists. If such a file exists, the NSO will not be loaded. The files should be named like `rtld.stub`, `main.stub`, etc. and may be empty.
It is also possible to replace the full exefs partition at once with a PFS0 file. In that case, Atmosphère will load the following file:
```
/atmosphere/contents/<program id>/exefs.nsp
```
### NSO Patching ### NSO Patching
When an NSO is loaded, Atmosphère's reimplementation will search for IPS patch files on the SD card in the following locations. When an NSO is loaded, Atmosphère's reimplementation will search for IPS patch files on the SD card in the following locations.
``` ```