CTXT

CTXT

This page describes the structure of the .ctx files located at nand:/title//00000000.ctx.

Structure #

OffsetSizeDescription
0x00x10AESMAC over SHA256 of bytes 0x10..0x30
0x100x4Magic “CTXT”
0x140x4Value 0 usually?
0x180x4Value 1 usually?
0x1C0x4Value 0 usually?
0x200x8TitleID
0x280x4Unknown u32
0x2C0x1D4All-zero
0x2000x10AES-MAC?
0x2100x8TitleID
0x2180x4contentID for contentindex0
0x21C0x4Unknown u32 for contentindex0
0x2200x8content-size for contentindex0
0x2280x8Usually zero?
0x2300x3CCUsually 0xFF?
0x5FC0x4This has the same value as the u32 at 0x28.