SCECAF File Format: Difference between revisions
Jump to navigation
Jump to search
Line 36: | Line 36: | ||
| 0x50 || 0x8 || unsigned long || Unknown(0x02) | | 0x50 || 0x8 || unsigned long || Unknown(0x02) | ||
|- | |- | ||
| 0x58 || 0x10 || u8[16] || | | 0x58 || 0x10 || u8[16] || IV | ||
|- | |- | ||
| 0x68 || 0x10 || u8[16] || padding | | 0x68 || 0x10 || u8[16] || padding |
Revision as of 23:59, 3 October 2015
File Format
/*Needs Documentation*/ Files here
Similar to PUP file.
Structure (highly speculative) is as follows (most parts are byteswapped):
For caf
Offset | Length | Type | Information |
---|---|---|---|
0x0 | 0x8 | unsigned long | Magic "SCECAF") |
0x8 | 0x8 | unsigned long | Package Version (0x02) |
0x10 | 0x8 | unsigned long | Image Version (0x01) |
0x18 | 0x8 | unsigned long | File Count (0x01) |
0x20 | 0x8 | unsigned long | Header Length (0xC0) |
0x28 | 0x8 | unsigned long | Package Length (0x40) |
0x30 | 0x8 | unsigned long | Entry ID (0x00) |
0x38 | 0x8 | unsigned long | Data Offset(0xC0) |
0x40 | 0x8 | unsigned long | Data Length(0x40) |
0x48 | 0x8 | unsigned long | Unknown(0x01) |
0x50 | 0x8 | unsigned long | Unknown(0x02) |
0x58 | 0x10 | u8[16] | IV |
0x68 | 0x10 | u8[16] | padding |
0x78 | 0x20 | u8[32] | sha256sum |
0x98 | 0x8 | unsigned long | padding (0x0) |
0xA0 | 0x20 | u8[32] | sha256sum |
0xC0 | 0x40 | u8[64] | data |
For spsp2dmp
Similar to caf but with 2 entries