PEC
Jump to navigation
Jump to search
PEC (Profile Embedded Content) files are used by the Xbox 360 as an additional layer of security on profiles. Certain GPD files are relocated inside the PEC file.
Header
Offset | Length | Type | Information |
---|---|---|---|
0x0 | 0x228 | Console Security Certificate | Signed |
0x228 | 0x14 | bytes | SHA1 hash from 0x23C-0x1000 |
0x23C | 0x8 | signed long | Unknown |
0x244 | 0x1 | byte | Volume Descriptor Structure Size (usually 0x24) |
0x245 | Volume Descriptor Structure Size - 1 | structure | Volume Descriptor |
0x244 + Volume Descriptor Structure Size | 0x4 | signed int | Unknown |
0x248 + Volume Descriptor Structure Size | 0x8 | bytes | Profile ID |
0x250 + Volume Descriptor Structure Size | 0x1 | byte | Unknown |
0x251 + Volume Descriptor Structure Size | 0x5 | bytes | Console ID |
Rest of file
From 0x1000 the rest of the file is the standard block portion of STFS, with block 0 starting at 0x3000, and hash table 0 at 0x1000/0x2000