NCA: Difference between revisions

Magic (talk | contribs)
No edit summary
Line 119: Line 119:
| 0x8
| 0x8
|  
|  
| Start of the fs-specific header data.
| FS-specific superblock.
|}
|}


Line 126: Line 126:
The total size is 0x200-bytes.
The total size is 0x200-bytes.


==Logo section==
==PFS0 superblock==
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x8
| 0x20
| SHA256 hash
|-
| 0x28
| 0x4
| ?
|-
| 0x2C
| 0x4
| ?
|-
| 0x38
| 0x8?
| Size of hash-table.
|-
| 0x40
| 0x8?
| Offset relative to section-start where the PFS0 header is located.
|-
| 0x48
| 0x8
| Actual byte-size of the PFS0 filesystem relative to the PFS0 header.
|-
| 0x50
| 0xF4
| Normally zeros.
|-
| 0x144
| ?
| 0x1?
|-
| 0x148
| 0xB8
| Normally zeros.
|}
 
This documents the structure of Section Header Block +0 for PFS0.
 
==RomFS superblock==
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x8
|
| IVFC header
|}
 
This documents the structure of Section Header Block +0 for RomFS.
 
=Logo section=
This is a PFS0. See [[NCA_Content_FS|here]] for the mounted-FS logo contents.
This is a PFS0. See [[NCA_Content_FS|here]] for the mounted-FS logo contents.


==ExeFS section ==
=ExeFS section =
This is a PFS0.
This is a PFS0.