Difference between revisions of "Savegames"

From Nintendo Switch Brew
Jump to navigation Jump to search
(Created page with "This page describes the format of savegames contained in NAND. === AES CMAC header === {| class="wikitable" |- ! Image offset ! Length ! Description |- | 0x00 | 0x10 | AES...")
 
Line 1: Line 1:
 
This page describes the format of savegames contained in NAND.
 
This page describes the format of savegames contained in NAND.
 
  
 
=== AES CMAC header ===
 
=== AES CMAC header ===
 
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 19: Line 17:
 
| Zero padding
 
| Zero padding
 
|}
 
|}
 
  
 
==== DISF ====
 
==== DISF ====
 
  
 
* This is located @ 0x100 in the image, following the CMAC header.
 
* This is located @ 0x100 in the image, following the CMAC header.
 
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 49: Line 44:
 
| End
 
| End
 
|}
 
|}
 
  
 
==== DPFS ====
 
==== DPFS ====
 
  
 
* This is located @ 0x200 in the image, following DISF.
 
* This is located @ 0x200 in the image, following DISF.
Line 58: Line 51:
  
 
==== IVFC ====
 
==== IVFC ====
 
  
 
* Generally follows DPFS, similar to 3DS.
 
* Generally follows DPFS, similar to 3DS.

Revision as of 18:55, 2 July 2017

This page describes the format of savegames contained in NAND.

AES CMAC header

Image offset Length Description
0x00 0x10 AES-CMAC
0x10 0xF0 Zero padding

DISF

  • This is located @ 0x100 in the image, following the CMAC header.
Start Length Description
0x000 4 Magic ("DISF")
0x004 4 Magic Number (0x40000)
0x008 32 Hash
0x258 End

DPFS

  • This is located @ 0x200 in the image, following DISF.


IVFC

  • Generally follows DPFS, similar to 3DS.