Changes

Jump to navigation Jump to search
657 bytes added ,  16:59, 5 March 2020
Fix SystemUpdate Extended Data, change some names
This is the metadata file that ends in <code>".cnmt{.nca}"</code> or <code>"meta0.ncd"</code>. This seems to replace the TMD format.
There's at least 9 different filenames used The official name for CNMT is ".cnmt":* "Application_{lower-case hex titleID}.cnmt"* "Patch_{lower-case hex titleID}.cnmt"* "AddOnContent_{lower-case hex titleID}.cnmtPackagedContentMeta"* "SystemUpdate_{hex titleID}.cnmt"* "SystemData_{lower-case hex titleID}.cnmt"* "SystemProgram_{lower-case hex titleID}.cnmt"* "BootImagePackage_{lower-case hex titleID}.cnmt"* "BootImagePackageSafe_{lower-case hex titleID}.cnmt"* "Delta_{lower-case hex titleID}.cnmt"
== Header ==
| 0x0
| 0x8
| Title Program ID
|-
| 0x8
| 0x4
| Title Version
|-
| 0xC
| 0x1
| [[NCM_services#Title_Types|Content Meta Type]]
|-
| 0xD
| 0x1
| UnusedReserved
|-
| 0xE
| 0x14
| 0x1
| Content Meta Attributes (0=None, 1=IncludesExFatDriver, 2=Rebootless)
|-
| 0x15
| 0x3
| UnusedReserved
|-
| 0x18
| 0x1C
| 0x4
| UnusedReserved
|}
| 0xC
| 0x4
| UnusedRequired Application Version
|}
| 0x10
| 0x8
| UnusedReserved
|}
| 0xC
| 0x4
| UnusedReserved
|}
| 0xC
| 0x4
| UnusedReserved
|}
== Packaged Content Records Info ==
{| class="wikitable" border="1"
| 0x37
| 0x1
| Id ID Offset
|}
== Content Meta Records Info ==
{| class="wikitable" border="1"
| 0x0
| 0x8
| Title Program ID
|-
| 0x8
| 0xC
| 0x1
| [[NCM_services#Title_Types|Content Meta Type]]
|-
| 0xD
| 0x1
| Content Meta Attributes (0=None, 1=IncludesExFatDriver, 2=Rebootless)
|-
| 0xE
| 0x2
| UnusedReserved
|}
== SystemUpdate Extended Data ==
If the Version field is 1, the format is:
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0
| 0x4
| Version
|-
| 0x4
| 0x4
| Variation Count
|-
| 0x8
| 0x20 * Variation Count
| [[CNMT#Firmware_Variation_Info_(Version_1)|Firmware Variation Info (Version 1)]]
|}
 
If the Version field is 2, the format is:
{| class="wikitable" border="1"
|-
|-
| 0x8
| 0x4 * Variation Count
| Firmware Variation ID
|-
|
| 0x20 * Variation Count
| [[CNMT#Firmware_Variation_Info_(Version_2)|Firmware Variation Info (Version 2)]]
|-
|
| 0x10 * Meta Count (From [[CNMT#Firmware_Variation_Info_(Version_2)|Firmware Variation Info (Version 2)]])
| [[CNMT#Content_Meta_Info|Content Meta Info]] (If Refer To Base is True)
|}
 
=== Firmware Variation Info (Version 1) ===
 
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0
| 0x4
| Firmware VariationID|- | 0xC0x4| 0x1C * | Reserved|} === Firmware Variation Info (Version 2) === {| class="wikitable" border="1"|-! Offset! Size! Description|-| 0x0| 0x1| Refer To Base (0=False, 1=True)|-| 0x1| 0x3| Reserved|-| 0x4| 0x4| Meta Count| Unused-| 0x8| 0x18| Reserved
|}
| 0x18
| 0x4
| UnusedReserved
|-
| 0x1C
|
| 0x18 * History Content Count
| [[CNMT#Content_RecordsPackaged_Content_Info|History Content Records Info]] (Packaged Content Records Info without the Hash entry)]]
|-
|
| 0x38 * Delta Content Count
| [[CNMT#Content_RecordsPackaged_Content_Info|Delta Packaged Content RecordsInfo]]
|-
|
| 0x4 * Fragment Indicator Count (From [[CNMT#Fragment_Set|Fragment SetSets]])
| [[CNMT#Fragment_Indicator|Fragment Indicators]]
|}
| 0x0
| 0x10
| [[CNMT#Content_Meta_Records|Content Meta Record]]|-| 0xC| 0x1| [[NCM_services#Title_Types|Key (Slightly different Content Meta Type]]|-| 0xD| 0x1| Attributes (0=None, 1=IncludesExFatDriver, 2=RebootlessInfo)|-| 0xE| 0x2| Unused
|-
| 0x10
| 0x32
| 0x6
| UnusedReserved
|}
| 0x20
| 0x8
| UnusedReserved
|}
| 0x1A
| 0x6
| UnusedReserved
|-
| 0x20
| 0x22
| 0x6
| UnusedReserved
|}
| 0x2E
| 0x1
| Fragment Target Content Type (0=Meta, 1=Program, 2=Data, 3=Control, 4=[[Internet_Browser|HtmlDocument]], 5=[[Internet_Browser|LegalInformation]], 6=[[NCA_Format|DeltaFragment]])
|-
| 0x2F
| 0x30
| 0x4
| UnusedReserved
|}
| 0x1A
| 0x6
| UnusedReserved
|-
| 0x20
|-
|
| 0x4 * Fragment Indicator Count (From [[CNMT#Fragment_Set|Fragment SetSets]])
| [[CNMT#Fragment_Indicator|Fragment Indicators]]
|}
19

edits

Navigation menu