CNMT: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				No edit summary  | 
				||
| Line 56: | Line 56: | ||
| 0x36  | | 0x36  | ||
| 1  | | 1  | ||
| Type (1=program, 3=control, 4=html, 5=legal)  | | Type (0=meta, 1=program, 2=data, 3=control, 4=html, 5=legal)  | ||
|-  | |-  | ||
| 0x37  | | 0x37  | ||
Revision as of 16:45, 20 June 2017
Metadata file
This is the file that ends in ".cnmt.nca" or "meta0.ncd".
It starts with an header:
| Offset | Size | Description | 
|---|---|---|
| 0x0 | 8 | Title id? | 
| 0x8 | 4 | |
| 0xC | 1 | Type (see Title Types) | 
| 0xD | 1 | |
| 0xE | 2 | Offset to table | 
| 0x10 | 2 | Number of entries | 
Each entry is 0x38 bytes:
| Offset | Size | Description | 
|---|---|---|
| 0x0 | 32 | |
| 0x20 | 16 | NcaId | 
| 0x30 | 6 | |
| 0x36 | 1 | Type (0=meta, 1=program, 2=data, 3=control, 4=html, 5=legal) | 
| 0x37 | 1 |