Difference between revisions of "Ticket.sys"

From iQueBrew
Jump to navigation Jump to search
m (Improved links)
(Fix/rewrite page)
 
Line 1: Line 1:
This file contains CMD and ticket information about purchased and trial titles.
+
'''ticket.sys''' is a file that contains the [[ticket]] for each app installed on the console.  
Single tickets can be extracted with iquetool and the single obtained files are dividied in 3 parts:
+
 
 +
In the code there appears to be a hard limit of 48 tickets in ticket.sys. There may be further practical limits on the number of tickets in ticket.sys (and therefore also on the number of titles installed on a console).
 +
 
 +
== Format ==
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 6: Line 9:
 
! Offset
 
! Offset
 
! Length
 
! Length
! Type
 
 
! Description
 
! Description
 
! Information
 
! Information
 
|-
 
|-
 
| 0x0
 
| 0x0
| 0x2800
+
| 0x04
| bytes
+
| numTickets
| opaque_data
+
| Number of tickets contained in the file
| is_secure_app ?
 
|-
 
| 0x2800
 
| 0x1AC
 
| bytes
 
| CMD data
 
| [[CMD|CMD structure]]
 
 
|-
 
|-
| 0x29AC
+
| 0x04
| 0x1A0
+
| (variable)
| bytes
+
| Tickets
| Ticket data
+
| Array of [[ticket|tickets]]
| [[Ticket|Ticket structure]]
 
 
|-
 
|-
 
|}
 
|}

Latest revision as of 10:25, 15 June 2018

ticket.sys is a file that contains the ticket for each app installed on the console.

In the code there appears to be a hard limit of 48 tickets in ticket.sys. There may be further practical limits on the number of tickets in ticket.sys (and therefore also on the number of titles installed on a console).

Format

Offset Length Description Information
0x0 0x04 numTickets Number of tickets contained in the file
0x04 (variable) Tickets Array of tickets