Changes

404 bytes added ,  05:24, 3 October 2012
m
no edit summary
Line 21: Line 21:  
     ├── 00000000.ctx
 
     ├── 00000000.ctx
 
     └── content
 
     └── content
         ├── XXXXXXXX.app
+
         ├── <ContentID>.app
 
         ├── XXXXXXXX.tmd
 
         ├── XXXXXXXX.tmd
 
         └── cmd
 
         └── cmd
Line 39: Line 39:  
     ├── 00000000.ctx
 
     ├── 00000000.ctx
 
     ├── content
 
     ├── content
     │  ├── XXXXXXXX.app
+
     │  ├── <ContentID>.app
 
     │  ├── XXXXXXXX.tmd
 
     │  ├── XXXXXXXX.tmd
 
     │  └── cmd
 
     │  └── cmd
Line 45: Line 45:  
     └── data
 
     └── data
 
         └── 00000001.sav
 
         └── 00000001.sav
 +
 +
The structure differs for [[Title list#0004008C - Add-on Content (DLC)|DLC]] Titles:
 +
 +
0004008C
 +
└── <Title ID Low>
 +
    ├── 00000000.ctx
 +
    └── content
 +
        ├── XXXXXXXX.tmd
 +
        ├── XXXXXXXX
 +
        │  └── <ContentID>.app
 +
        └── cmd
 +
            └── XXXXXXXX.cmd
 
      
 
      
 
For a list of 3DS titles see the [[Title list]].                           
 
For a list of 3DS titles see the [[Title list]].                           
Line 51: Line 63:       −
"'''XXXXXXXX.app'''" - (There is no pattern to the file name, however for a given title, ".app" file names are not reused) These files are [[NCCH]] files, where the entire file is encrypted with a console-unique [[AES|keyslot]](this is on top of the encryption of the NCCH contents). There can be more than one NCCH in this directory, as seen with .[[CCI]] files, the game executable ([[CXI]]) can be accompanied with additional non-executable NCCH files ([[NCCH#CFA|CFA]]) such as the electronic manual and DLP Child containers. Determining the function of the encrypted NCCH, is done by finding the Content Index of the "XXXXXXXX.app" file in the title's TMD(see above for retrieving decrypted TMD), interpreting the Content Index is as follows:
+
"'''<ContentID>.app'''" - (The names for these files are taken from the title's [[TMD]]) These files are [[NCCH]] files, where the entire file is encrypted with a console-unique [[AES|keyslot]](this is on top of the encryption of the NCCH contents). There can be more than one NCCH in this directory, as seen with .[[CCI]] files, the game executable ([[CXI]]) can be accompanied with additional non-executable NCCH files ([[NCCH#CFA|CFA]]) such as the electronic manual and DLP Child containers. Determining the function of the encrypted NCCH, is done by finding the Content Index of the "XXXXXXXX.app" file in the title's TMD(see above for retrieving decrypted TMD), interpreting the Content Index is as follows:
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 79: Line 91:  
'''"00000000.ctx"''' - This file encrypted with a console-unique [[AES|keyslot]] is temporarily stored on SD card while a title is being downloaded from the eShop, it is deleted after the download is completed. This is presumably moved to NAND once installation is finished. This contains an AP0000000000000000 cert used to sign the data following the cert, this cert is signed by the [[CTCert]].
 
'''"00000000.ctx"''' - This file encrypted with a console-unique [[AES|keyslot]] is temporarily stored on SD card while a title is being downloaded from the eShop, it is deleted after the download is completed. This is presumably moved to NAND once installation is finished. This contains an AP0000000000000000 cert used to sign the data following the cert, this cert is signed by the [[CTCert]].
 
The unknown signed data is likely an ECDSA public key.
 
The unknown signed data is likely an ECDSA public key.
 +
 +
'''"XXXXXXXX"''' - This extra directory only found in DLC titles, contains the DLC NCCH content.
839

edits