Changes

170 bytes added ,  02:45, 26 June 2019
→‎Data Structure: update DLC NCCH separation information
Line 198: Line 198:  
     └── content
 
     └── content
 
         ├── <ContentID>.tmd
 
         ├── <ContentID>.tmd
         ├── 00000000
+
         ├── <IndexSeparator>
 
         │  └── <ContentID>.app
 
         │  └── <ContentID>.app
 
         └── cmd
 
         └── cmd
Line 250: Line 250:  
| 0x4
 
| 0x4
 
| 0x4
 
| 0x4
| Number of AES-CMACs and Content IDs in the first list. The method to determine this is explained below.
+
| Number of AES-CMACs and Content IDs in the first list (X). The method to determine this is explained below.
 
|-
 
|-
 
| 0x8
 
| 0x8
 
| 0x4
 
| 0x4
| Number of Content IDs in the second list
+
| Number of Content IDs in the second list (Y)
 
|-
 
|-
 
| 0xC
 
| 0xC
Line 265: Line 265:  
|-
 
|-
 
| 0x20
 
| 0x20
| 0x4 * (No. of entries)
+
| 0x4 * X
 
| List of installed Content IDs in order of Content Index, with missing contents replaced with 0xFFFFFFFF
 
| List of installed Content IDs in order of Content Index, with missing contents replaced with 0xFFFFFFFF
 
|-
 
|-
| 0x20 + 0x4 * (No. of entries)
+
| 0x20 + 0x4 * X
| 0x4 * (No. of entries)
+
| 0x4 * Y
 
| List of installed Content IDs in order of ID name
 
| List of installed Content IDs in order of ID name
 
|-
 
|-
| 0x20 + 0x8 * (No. of entries)
+
| 0x20 + 0x4 * (X + Y)
| 0x10 * (No. of entries)
+
| 0x10 * X
 
| AES-CMACs for each content in the first list, generated using the process below
 
| AES-CMACs for each content in the first list, generated using the process below
 
|}
 
|}
Line 294: Line 294:  
DLC titles have a different directory structure to most installed titles. This is because all DLC content for a given title is installed under the same Title ID, but DLC add-ons are usually separate purchases, hence the structure altered so any combination of DLC content can be installed. DLC titles can receive 'updates', this is usually in the form of more DLC content and/or DLC bug fixes. Individual DLC content can only be managed from with-in the application using the DLC.
 
DLC titles have a different directory structure to most installed titles. This is because all DLC content for a given title is installed under the same Title ID, but DLC add-ons are usually separate purchases, hence the structure altered so any combination of DLC content can be installed. DLC titles can receive 'updates', this is usually in the form of more DLC content and/or DLC bug fixes. Individual DLC content can only be managed from with-in the application using the DLC.
   −
'''"00000000"''' - This extra directory only found in DLC titles, contains the DLC [[NCCH]] content.
+
'''"<IndexSeparator>"''' - DLC [[NCCH]] contents are split across different directories, depending on the Content Index. Starting with 00000000, there is a directory for every 256 contents. All the directories are created upon install, which means some may be empty if the contents within its index range are not installed.
     
46

edits