QA Flags: Difference between revisions

From PS5 Developer wiki
Jump to navigation Jump to search
Line 25: Line 25:
|-
|-
| 0x1C || 4 || Padding ||  
| 0x1C || 4 || Padding ||  
|}
= TOKEN SEGMENT STRUCTURE (1 SEGMENT EXAMPLE) =
{| class="wikitable"
! Offset !! Size !! Description !! Notes
|-
| 0x0 || 0x8 || FLAGS || 0x6 for TOKEN
|-
| 0x8 || 0x8 || OFFSET || 0x2A0 for token (also header size + meta size)
|-
| 0x10 || 0x8 || ENCRYPTED_COMPRESSED_SIZE || 0x60 for token
|-
| 0x18 || 0x8 || DECRYPTED_DECOMPRESSED_SIZE || 0x60 for token
|-
|}
|}



Revision as of 00:48, 20 January 2025

TOKEN STRUCTURE

Offset Size Description Notes
0 4 Magic 54 14 F5 EE
0x4 4 Unknown Always 10 01 01 32
0x8 1 Category 06 on QA Token SELF
0x9 1 Program Type 00 for Token
0xA 2 Padding
0xC 2 Header Size 0xC0 for Token
0xE 2 Metadata Size 0x1E0 for Token
0x10 8 File Size Size of SELF (0x300 for Token)
0x18 2 Number of Segments 1 for Token
0x1A 2 Unknown Always 0x32
0x1C 4 Padding

TOKEN SEGMENT STRUCTURE (1 SEGMENT EXAMPLE)

Offset Size Description Notes
0x0 0x8 FLAGS 0x6 for TOKEN
0x8 0x8 OFFSET 0x2A0 for token (also header size + meta size)
0x10 0x8 ENCRYPTED_COMPRESSED_SIZE 0x60 for token
0x18 0x8 DECRYPTED_DECOMPRESSED_SIZE 0x60 for token

TEMPLATES

QAF_SYS_DEV_I (for the only known sample in existance)

VALIDITY

10 Oct 2019 - 10 April 2021 (for the only known sample in existance)

TOKEN SIZE

0x60 bytes -> for the only known sample in existance