Difference between revisions of "NAX0"

From Nintendo Switch Brew
Jump to navigation Jump to search
(Created page with "This is the format on the files stored on SD, unknown if this is used elsewhere. The data between this header and offset 0x4000 is unused/uninitialized it a...")
 
Line 3: Line 3:
 
The data between this header and offset 0x4000 is unused/uninitialized it appears. The actual content which is encrypted, starts at offset 0x4000 with the size from the header.
 
The data between this header and offset 0x4000 is unused/uninitialized it appears. The actual content which is encrypted, starts at offset 0x4000 with the size from the header.
  
When a title is redownloaded/reinstalled, the header and raw content in NAX0 are completely different except for the magicnum and size-field.
+
When a NAX0 file is recreated, the header and raw content in NAX0 are completely different except for the magicnum and size-field. This is the case when a title is redownloaded/reinstalled, and when "save/" files are recreated after manual deletion.
  
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"

Revision as of 18:11, 16 June 2017

This is the format on the files stored on SD, unknown if this is used elsewhere.

The data between this header and offset 0x4000 is unused/uninitialized it appears. The actual content which is encrypted, starts at offset 0x4000 with the size from the header.

When a NAX0 file is recreated, the header and raw content in NAX0 are completely different except for the magicnum and size-field. This is the case when a title is redownloaded/reinstalled, and when "save/" files are recreated after manual deletion.

Offset Size Description
0x0 0x20 Data appears to be random.
0x20 0x8 Magicnum "NAX0"
0x28 0x20 Data appears to be random.
0x48 0x8? Size of the file relative to offset 0x4000.