CNMT: Difference between revisions
→Meta records: broken link |
Update header and extended header - next is extended data |
||
Line 12: | Line 12: | ||
* "Delta_{lower-case hex titleID}.cnmt" | * "Delta_{lower-case hex titleID}.cnmt" | ||
== Header == | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 20: | Line 20: | ||
|- | |- | ||
| 0x0 | | 0x0 | ||
| | | 0x8 | ||
| Title ID | | Title ID | ||
|- | |- | ||
| 0x8 | | 0x8 | ||
| | | 0x4 | ||
| | | [[Title_list|Version]] | ||
|- | |- | ||
| 0xC | | 0xC | ||
| | | 0x1 | ||
| | | [[NCM_services#Title_Types|Meta Type]] | ||
|- | |- | ||
| 0xD | | 0xD | ||
| | | 0x1 | ||
| | | Unused | ||
|- | |- | ||
| 0xE | | 0xE | ||
| | | 0x2 | ||
| | | Extended Header Size | ||
|- | |- | ||
| 0x10 | | 0x10 | ||
| | | 0x2 | ||
| | | Content Count | ||
|- | |- | ||
| 0x12 | | 0x12 | ||
| | | 0x2 | ||
| | | Content Meta Count | ||
|- | |- | ||
| 0x14 | | 0x14 | ||
| | | 0x1 | ||
| | | Attributes (0=None, 1=IncludesExFatDriver, 2=Rebootless) | ||
|- | |||
| 0x15 | |||
| 0x3 | |||
| Unused | |||
|- | |||
| 0x18 | |||
| 0x4 | |||
| Required Download System Version | |||
|- | |||
| 0x1C | |||
| 0x4 | |||
| Unused | |||
|} | |} | ||
== SystemUpdate Extended Header == | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x0 | |||
| 0x4 | |||
| Extended Header Size | |||
|} | |||
== Application Extended Header == | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x0 | |||
| 0x8 | |||
| Patch ID | |||
|- | |||
| 0x8 | |||
| 0x4 | |||
| Required System Version | |||
|} | |||
== Patch Extended Header == | |||
== | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 67: | Line 99: | ||
! Description | ! Description | ||
|- | |- | ||
| | | 0x0 | ||
| | | 0x8 | ||
| | | Application ID | ||
|- | |||
| 0x8 | |||
| 0x4 | |||
| Required System Version | |||
|- | |||
| 0xC | |||
| 0x4 | |||
| Extended Data Size | |||
|- | |- | ||
| | | 0x10 | ||
| | | 0x8 | ||
| | | Unused | ||
|} | |} | ||
== | == AddOnContent Extended Header == | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 83: | Line 123: | ||
! Description | ! Description | ||
|- | |- | ||
| | | 0x0 | ||
| | | 0x8 | ||
| | | Application ID | ||
|- | |||
| 0x8 | |||
| 0x4 | |||
| Required Application Version | |||
|- | |- | ||
| | | 0xC | ||
| | | 0x4 | ||
| | | Unused | ||
|} | |} | ||
== | == Delta Extended Header == | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 99: | Line 143: | ||
! Description | ! Description | ||
|- | |- | ||
| | | 0x0 | ||
| | | 0x8 | ||
| Application | | Application ID | ||
|- | |||
| 0x8 | |||
| 0x4 | |||
| Extended Data Size | |||
|- | |- | ||
| | | 0xC | ||
| | | 0x4 | ||
| | | Unused | ||
|} | |} | ||
== Content records == | == Content records == | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 119: | Line 165: | ||
|- | |- | ||
| 0x0 | | 0x0 | ||
| | | 0x20 | ||
| Hash | | Hash | ||
|- | |- | ||
| 0x20 | | 0x20 | ||
| | | 0x10 | ||
| | | Content ID | ||
|- | |- | ||
| 0x30 | | 0x30 | ||
| | | 0x6 | ||
| Size | | Size | ||
|- | |- | ||
| 0x36 | | 0x36 | ||
| | | 0x1 | ||
| Type (0=Meta, 1=Program, 2=Data, 3=Control, 4=[[Internet_Browser|HtmlDocument]], 5=[[Internet_Browser|LegalInformation]], 6=[[NCA_Format|DeltaFragment]]) | | Title Type (0=Meta, 1=Program, 2=Data, 3=Control, 4=[[Internet_Browser|HtmlDocument]], 5=[[Internet_Browser|LegalInformation]], 6=[[NCA_Format|DeltaFragment]]) | ||
|- | |- | ||
| 0x37 | | 0x37 | ||
| | | 0x1 | ||
| | | Id Offset | ||
|} | |} | ||
== Meta records == | == Meta records == | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 150: | Line 194: | ||
|- | |- | ||
| 0x0 | | 0x0 | ||
| | | 0x8 | ||
| Title ID | | Title ID | ||
|- | |- | ||
| 0x8 | | 0x8 | ||
| | | 0x4 | ||
| | | Version | ||
|- | |- | ||
| 0xC | | 0xC | ||
| | | 0x1 | ||
| | | [[NCM_services#Title_Types|Meta Type]] | ||
|- | |- | ||
| 0xD | | 0xD | ||
| | | 0x1 | ||
| | | Attributes (0=None, 1=IncludesExFatDriver, 2=Rebootless) | ||
|- | |- | ||
| 0xE | | 0xE | ||
| | | 0x2 | ||
| Unused | | Unused | ||
|} | |} | ||