Difference between revisions of "NCA"

From Nintendo Switch Brew
Jump to navigation Jump to search
Line 6: Line 6:
 
Contains the raw FS for the logo FS, see [[NCA_Content_FS|here]] for mounted-FS contents.
 
Contains the raw FS for the logo FS, see [[NCA_Content_FS|here]] for mounted-FS contents.
  
There's 0x4000-bytes of zeros at rawnca+0x4000, then the actual data starts at absolute offset 0x8000, which is the PFS0.
+
This is a PFS0.
  
 
=PFS0=
 
=PFS0=
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0
 +
| X
 +
| Table of hashes.
 +
|-
 +
| X
 +
| Y
 +
| Zeros for alignment to {alignment size}.
 +
|-
 +
| X+Y
 +
|
 +
| Start of the PFS0 header.
 +
|}
 +
 
This is the FS which has magicnum "PFS0" at header+0.
 
This is the FS which has magicnum "PFS0" at header+0.

Revision as of 00:55, 18 July 2017

Raw NCAs are encrypted.

The only known section which is not encrypted in the raw NCA is the logo section, when the NCA includes that section.

Logo section

Contains the raw FS for the logo FS, see here for mounted-FS contents.

This is a PFS0.

PFS0

Offset Size Description
0x0 X Table of hashes.
X Y Zeros for alignment to {alignment size}.
X+Y Start of the PFS0 header.

This is the FS which has magicnum "PFS0" at header+0.