Filesystem services: Difference between revisions
TimmSkiller (talk | contribs) |
TimmSkiller (talk | contribs) |
||
Line 1,449: | Line 1,449: | ||
If no patch title exists, the base title is considered to be the patch title, i.e. turning all "patch" accesses into accesses to the base title. | If no patch title exists, the base title is considered to be the patch title, i.e. turning all "patch" accesses into accesses to the base title. | ||
==== Program Access Type ==== | |||
{| class="wikitable" border="1" | |||
|- | |||
! Value !! Description !! Accesses | |||
|- | |||
| 0 || RomFS ("unspecified" [[NCCH#Content_Type|content type]], the default) || Base title | |||
|- | |||
| 1 || <code>exefs:/.code</code> || Patch title | |||
|- | |||
| 2 || System Menu Data (<code>exefs:/icon</code>, <code>exefs:/banner</code>, <code>exefs:/logo</code>) || Base title | |||
|- | |||
| 3 || Save Data (high level, decrypted) || - | |||
|- | |||
| 4 || RomFS (all [[NCCH#Content_Type|content types]]) || Base title | |||
|- | |||
| 5 || RomFS ("unspecified" [[NCCH#Content_Type|content type]], the default) || Patch title | |||
|} | |||
==== Archive Path ==== | ==== Archive Path ==== | ||
Line 1,458: | Line 1,476: | ||
|} | |} | ||
==== | ==== File Path ==== | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Offset !! Size !! Description | ||
|- | |- | ||
| | | 0x0 || 0x4 || [[Filesystem_services#Program_Access_Type|Program Access Type]] | ||
|- | |- | ||
| | | 0x4 || 0x8 || Dynamic data depending on [[Filesystem_services#Program_Access_Type|Program Access Type]]: | ||
{| class="wikitable" border="1" | |||
|- | |- | ||
! ExeFS files (System Menu Data, etc.) !! RomFS of base title (all [[NCCH#Content_Type|content types]]) | |||
|- | |||
| | |||
{| class="wikitable" border="1" | |||
| 8-character ExeFS filename | |||
|} | |||
| | |||
{| class="wikitable" border="1" | |||
|- | |- | ||
! Offset !! Size !! Description | |||
|- | |- | ||
| | | 0x0 || 0x4 || u32, content index of target content | ||
|- | |- | ||
| | | 0x4 || 0x4 || padding | ||
|} | |||
|} | |||
|} | |} | ||