NCA: Difference between revisions
Line 200: | Line 200: | ||
|- | |- | ||
| 0x8 | | 0x8 | ||
| | | 0xE0 | ||
| IVFC header. | | IVFC header. Basically the same as [[Savegames]] IVFC except with 2 more levels and +0x0C is non-zero, see below. | ||
|} | |} | ||
This documents the structure of Section Header Block +0 for RomFS. | This documents the structure of Section Header Block +0 for RomFS. | ||
=== IVFC === | |||
{| class="wikitable" | |||
|- | |||
! Start | |||
! Length | |||
! Description | |||
|- | |||
| 0x00 | |||
| 4 | |||
| Magic ("IVFC") | |||
|- | |||
| 0x04 | |||
| 4 | |||
| Magic Number (0x20000) | |||
|- | |||
| 0x08 | |||
| 4 | |||
| Master hash size? | |||
|- | |||
| 0x0C | |||
| 4 | |||
| Usually 7? Unknown, could be related to total number of levels maybe? | |||
|- | |||
| 0x10 | |||
| 8 | |||
| Level 1 offset | |||
|- | |||
| 0x18 | |||
| 8 | |||
| Level 1 size | |||
|- | |||
| 0x20 | |||
| 4 | |||
| Level 1 block size, in log2 | |||
|- | |||
| 0x24 | |||
| 4 | |||
| Reserved | |||
|- | |||
| 0x28 | |||
| 8 | |||
| Level 2 offset | |||
|- | |||
| 0x30 | |||
| 8 | |||
| Level 2 size | |||
|- | |||
| 0x38 | |||
| 4 | |||
| Level 2 block size, in log2. | |||
|- | |||
| 0x3C | |||
| 4 | |||
| Reserved | |||
|- | |||
| 0x40 | |||
| 8 | |||
| Level 3 offset | |||
|- | |||
| 0x48 | |||
| 8 | |||
| Level 3 size | |||
|- | |||
| 0x50 | |||
| 4 | |||
| Level 3 block size, in log2. | |||
|- | |||
| 0x54 | |||
| 4 | |||
| Reserved | |||
|- | |||
| 0x58 | |||
| 8 | |||
| Level 4 offset | |||
|- | |||
| 0x60 | |||
| 8 | |||
| Level 4 size | |||
|- | |||
| 0x68 | |||
| 4 | |||
| Level 4 block size, in log2. | |||
|- | |||
| 0x6C | |||
| 4 | |||
| Reserved | |||
|- | |||
| 0x70 | |||
| 8 | |||
| Level 5 offset | |||
|- | |||
| 0x78 | |||
| 8 | |||
| Level 5 size | |||
|- | |||
| 0x80 | |||
| 4 | |||
| Level 5 block size, in log2. | |||
|- | |||
| 0x84 | |||
| 4 | |||
| Reserved | |||
|- | |||
| 0x88 | |||
| 8 | |||
| Level 6 offset | |||
|- | |||
| 0x90 | |||
| 8 | |||
| Level 6 size | |||
|- | |||
| 0x98 | |||
| 4 | |||
| Level 6 block size, in log2. | |||
|- | |||
| 0x9C | |||
| 4 | |||
| Reserved | |||
|- | |||
| 0xA0 | |||
| 32 | |||
| Unknown, reserved? | |||
|- | |||
| 0xC0 | |||
| 32 | |||
| Hash | |||
|} | |||
=Logo section= | =Logo section= |