Line 125:
Line 125:
| 0x10
| 0x10
| 8
| 8
−
| File Size(including pre header), divided by the value at relative offset 0x18 (usually = 0x80)
+
| File Size (including pre header), in blocks (see next field)
|-
|-
| 0x18
| 0x18
| 4
| 4
−
| Usually 0x80
+
| Block Size (Usually 0x80; 0x200 for ticket.db)
|-
|-
| 0x1C
| 0x1C
Line 181:
Line 181:
|-
|-
| 0x30
| 0x30
−
| 0x50
+
| X - 0x30
−
| Reserved
+
| Alignment padding for X = BDRI Block Size
|-
|-
−
| 0x80
+
| X
| 4
| 4
| MAX Number of Title Entries
| MAX Number of Title Entries
|-
|-
−
| 0x84
+
| X + 0x04
| 4
| 4
| Unknown
| Unknown
|-
|-
−
| 0x88
+
| X + 0x08
| 0x20
| 0x20
| Reserved
| Reserved
Line 225:
Line 225:
| 0x14
| 0x14
| 4
| 4
−
| Relative Title Info Offset, divided by the value at offset 0x18 in this Title Entry (usually 0x80)
+
| Relative Title Info Offset, in blocks (see next field)
|-
|-
| 0x18
| 0x18
| 0x4
| 0x4
−
| Usually 0x80
+
| Block Size (Usually 0x80; 0x200 for ticket.db)
|-
|-
| 0x1c
| 0x1c