NCSD images start with a NCSD header, followed by up to a maximum of 13 NCCH blocks according to spec. The first block always starts at 0x4000. In most carts the first block contains game code/data, the second block contains the download play "child" and the third block contains potential system updates. Additionally, an extra partition may contain an title for installation on SD card. The exact contents of NCCH blocks can be determined by looking at the flags.
+
NCSD images start with a NCSD header, followed by up to a maximum of 13 NCCH blocks according to spec. The first block always starts at 0x4000. In most carts the first block contains game code/data, the second block contains the download play "child" and the third block contains potential system updates. The exact contents of NCCH blocks can be determined by looking at the flags.
=== NCSD header ===
=== NCSD header ===
Line 68:
Line 68:
| 0x320
| 0x320
| 8
| 8
−
| Loader Title ID
+
| [[NVer]] Title ID
|-
|-
| 0x328
| 0x328
| 8
| 8
−
| Loader Title Version
+
| [[NVer]] Title Version
|}
|}
Parts of the first NCCH block's header are found around 0x1000 for whatever reason.
Parts of the first NCCH block's header are found around 0x1000 for whatever reason.
+
NCSD can hold up to 13 CXI (i.e. Mario Kart 7 holds 4 CXIs, most we've seen so far)
−
NCSD can hold up to 13 CXI (i.e. Mario Kart 7 holds 4 CXIs, most we've seen so far)
+
The region-specific NVer title for this NCSD presumably must exist on NAND. The NVer title version may also be used to check whether a system update is required before running the app.