Changes

Jump to navigation Jump to search
86 bytes added ,  17:20, 24 April 2013
no edit summary
Line 3: Line 3:  
DSiWare exported from 3DS use [[Nand/private/movable.sed|keyslots]] initialized by movable.sed. Each section is encrypted with AES-CBC.
 
DSiWare exported from 3DS use [[Nand/private/movable.sed|keyslots]] initialized by movable.sed. Each section is encrypted with AES-CBC.
   −
The content sections are ordered the same way as DSi: TMD, SRL from content0, <content1-7 for format v2>, savegame, and banner.sav.(ContentX here is the .app data from TWL-NAND /title) The DSiWare export type is specified by [[AMPXI:ExportDSiWare]], this field is also used to specify the format version. For NATIVE_FIRM versions where this DSiWare type field is unused, format version v1 is used. When this field is used, format version v1 is used for DSiWare type value 13, otherwise v2 is used.
+
The content sections are ordered the same way as DSi: TMD, SRL from content0, <content1-7 for format v2>, savegame, and banner.sav.(ContentX here is the .app data from TWL-NAND /title)
 +
 
 +
The DSiWare export type is specified by [[AMPXI:ExportDSiWare]], this field is also used to specify the format version. For NATIVE_FIRM versions where this DSiWare type field is unused, format version v1 is used. When this field is used, format version v1 is used for DSiWare type value 13, otherwise v2 is used. When the DSiWare type is value 12, format version v2 is used, however however the total content sections is 4 instead of 11.
    
=Block Metadata=
 
=Block Metadata=
Line 51: Line 53:  
|}
 
|}
   −
These hashes are the same hashes used for generating each section's MAC stored in the metadata block. For format version v1, X is 0xC0. For format version v2, X is at least 0x1A0.
+
These hashes are the same hashes used for generating each section's MAC stored in the metadata block. X = 0x40 + totalcontentsections*0x20.
    
=File Structure v1=
 
=File Structure v1=

Navigation menu