Difference between revisions of "DSiWare Exports"

From 3dbrew
Jump to navigation Jump to search
Line 1: Line 1:
 
The DSiWare exported from a 3DS is located at "[[SD_Filesystem|sdmc]]:/Nintendo 3DS/<ID0>/<ID1>/Nintendo DSiWare". Filenames are same format as DSi: "<TitleID-Low>.bin". The keys/format for these files are completely different from [http://dsibrew.org/wiki/Tad DSi]. The below sizes include the 0x20-byte block metadata.
 
The DSiWare exported from a 3DS is located at "[[SD_Filesystem|sdmc]]:/Nintendo 3DS/<ID0>/<ID1>/Nintendo DSiWare". Filenames are same format as DSi: "<TitleID-Low>.bin". The keys/format for these files are completely different from [http://dsibrew.org/wiki/Tad DSi]. The below sizes include the 0x20-byte block metadata.
  
DSiWare exported from 3DS use [[Nand/private/movable.sed|keyslots]] initialized by movable.sed, these exports are encrypted with AES-CTR.
+
DSiWare exported from 3DS use [[Nand/private/movable.sed|keyslots]] initialized by movable.sed.
  
 
=Block Metadata=
 
=Block Metadata=
Line 16: Line 16:
 
| 0x10
 
| 0x10
 
| 0x10
 
| 0x10
| CTR
+
| CTR for AES-CTR / IV for AES-CBC
 
|}
 
|}
  
Line 30: Line 30:
 
| 0x0
 
| 0x0
 
| 0x4020
 
| 0x4020
| Banner section
+
| Banner section encrypted with AES-CBC.
 
|-
 
|-
 
| 0x4020
 
| 0x4020

Revision as of 08:02, 22 April 2013

The DSiWare exported from a 3DS is located at "sdmc:/Nintendo 3DS/<ID0>/<ID1>/Nintendo DSiWare". Filenames are same format as DSi: "<TitleID-Low>.bin". The keys/format for these files are completely different from DSi. The below sizes include the 0x20-byte block metadata.

DSiWare exported from 3DS use keyslots initialized by movable.sed.

Block Metadata

Offset Size Description
0x0 0x10 AES MAC
0x10 0x10 CTR for AES-CTR / IV for AES-CBC

Each section begins with the actual encrypted data, followed by this block metadata.

File Structure

Offset Size Description
0x0 0x4020 Banner section encrypted with AES-CBC.
0x4020 0xA0 Header section
0x40C0 0x400 Footer section
0x44C0 Data for the 4 content sections are stored here.