Line 198: |
Line 198: |
| |} | | |} |
| | | |
− | For ticket.db title info contains a small header and actual ticket data: | + | For ticket.db title info, there is a header indicates ticket count (as a Title ID can have more than one ticket installed). Then each entry contains the size, followed by the actual ticket data. |
| {| class="wikitable" | | {| class="wikitable" |
| + | |+ Header |
| |- | | |- |
| ! Start | | ! Start |
Line 207: |
Line 208: |
| | 0x0 | | | 0x0 |
| | 4 | | | 4 |
− | | Unknown (always 0x00000001?) | + | | Amount of tickets X |
| |- | | |- |
| | 0x4 | | | 0x4 |
| + | | X * (size of tickets + 4) |
| + | | Ticket entries |
| + | |} |
| + | {| class="wikitable" |
| + | |+ Ticket entry |
| + | |- |
| + | ! Start |
| + | ! Length |
| + | ! Description |
| + | |- |
| + | | 0x0 |
| | 4 | | | 4 |
− | | Ticket data size X (=0x530) | + | | Ticket data size X (often 0x350 but some DLC tickets may be larger) |
| |- | | |- |
− | | 0x8 | + | | 0x4 |
| | X | | | X |
| | [[Ticket|Ticket]] data | | | [[Ticket|Ticket]] data |