Filesystem services: Difference between revisions
Steveice10 (talk | contribs) |
→Binary LowPath: (Finally imported this from local notes) |
||
Line 1,242: | Line 1,242: | ||
|} | |} | ||
For FS, the file/directory lowpath is a text path in the [[extdata]] filesystem. For FSPXI, the file lowpath is a text path relative to the "/extdata/<ExtdataIDHigh>/<ExtdataIDLow>" directory on SD/NAND, for the cleartext extdata image to mount. | For FS, the file/directory lowpath is a text path in the [[extdata]] filesystem. For FSPXI, the file lowpath is a text path relative to the "/extdata/<ExtdataIDHigh>/<ExtdataIDLow>" directory on SD/NAND, for the cleartext extdata image to mount. | ||
==== 0x2345678A Archive Path Data Format ==== | |||
{| class="wikitable" border="1" | |||
|- | |||
! Index word | |||
! Description | |||
|- | |||
| 0 | |||
| Lower word programID | |||
|- | |||
| 1 | |||
| Upper word programID | |||
|- | |||
| 2 | |||
| [[Mediatypes|Mediatype]] | |||
|} | |||
===== File lowpath ===== | |||
{| class="wikitable" border="1" | |||
|- | |||
! Index word | |||
! Description | |||
|- | |||
| 0 | |||
| 0 for NCCH data, 1 for savedata. The latter is only valid for FSPXI. | |||
|- | |||
| 1 | |||
| TMD content index / NCSD partition index. | |||
|- | |||
| 2 | |||
| Type: 0=romfs(0 for non-NCCH as well), 1=exefs ".code"(?), 2=exefs "icon"/"banner"/"logo", 3=unknown, 4=unknown, 5=unknown. | |||
|- | |||
| 3-4 | |||
| Filename for ExeFS. | |||
|} | |||
The 0x14-byte lowpath is all-zero for accessing the title's main RomFS. | |||
==== [[RomFS]] ==== | ==== [[RomFS]] ==== |