Title Database: Difference between revisions

Ihaveamac (talk | contribs)
Title Info Entry: 0x350 appears here, not 0x530
Ihaveamac (talk | contribs)
Title Info Entry: document actual ticket.db title info (multiple tickets can be installed for one Title ID)
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 (=0x350)
| Ticket data size X (=0x350)
|-
|-
| 0x8
| 0x4
| X
| X
| [[Ticket|Ticket]] data
| [[Ticket|Ticket]] data