Changes

Jump to navigation Jump to search
204 bytes added ,  03:46, 22 June 2012
no edit summary
Line 54: Line 54:  
|  0x14     
 
|  0x14     
 
|  0x04
 
|  0x04
Icon size (0 if no icon)
+
ExeFS/Exheader Excerpt size (0 if no excerpt is present)
 
|-
 
|-
 
|  0x18     
 
|  0x18     
Line 70: Line 70:  
* TMD file data
 
* TMD file data
 
* APP file data
 
* APP file data
* Icon
+
* ExeFS/ExHeader Excerpt
    
The APP data (CXI/SRL) is encrypted, using 128-bit AES-CBC. The encryption uses the decrypted titlekey of the ticket, and the titleid padded with zeros as the IV. To get the decrypted titlekey, the titlekey stored in the ticket must be decrypted using 128-bit AES-CBC with the 3DS common key, and the same IV as mentioned previously.  
 
The APP data (CXI/SRL) is encrypted, using 128-bit AES-CBC. The encryption uses the decrypted titlekey of the ticket, and the titleid padded with zeros as the IV. To get the decrypted titlekey, the titlekey stored in the ticket must be decrypted using 128-bit AES-CBC with the 3DS common key, and the same IV as mentioned previously.  
   −
== Icon ==
+
== ExeFS/ExHeader Excerpt ==
The actual [[SMDH|icon]] data in a CIA is 0x400 bytes smaller than described in header and the true offset is 0x400 bytes past the TMD,
+
 
 +
The structure of this excerpt is as follows:
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
!  START
 +
!  SIZE
 +
!  DESCRIPTION
 +
|-
 +
|  0x00
 +
0x400  
 +
|  Title ID dependency list - From the application's ExHeader
 +
|-
 +
0x400
 +
|  0x36C0
 +
|  Icon Data(.ICN) - From the application's ExeFS
 +
|}
839

edits

Navigation menu