SCECAF File Format: Difference between revisions

From Vita Developer wiki
Jump to navigation Jump to search
Line 16: Line 16:
| 0x0 || 0x8 || unsigned long || Magic "SCECAF")
| 0x0 || 0x8 || unsigned long || Magic "SCECAF")
|-
|-
| 0x8 || 0x8 || unsigned long || Unk (0x02)
| 0x8 || 0x8 || unsigned long || Package Version (0x02)
|-
|-
| 0x10 || 0x8 || unsigned long || Unk (0x01)
| 0x10 || 0x8 || unsigned long || Image Version (0x01)
|-
|-
| 0x18 || 0x8 || unsigned long || File Count (0x01)
| 0x18 || 0x8 || unsigned long || File Count (0x01)

Revision as of 22:32, 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 Unk (0x01)
0x38 0x8 unsigned long Unk (0x02)

For spsp2dmp

Offset Length Type Information
0x0 0x8 unsigned long Magic "SCECAF")
0x8 0x8 unsigned long Unk (0x02)
0x10 0x8 unsigned long Unk (0x01)
0x18 0x8 unsigned long File Count (0x02)
0x20 0x8 unsigned long Header Length (0x130)
0x28 0x8 unsigned long Package Length (0x70CC0)
0x30 0x8 unsigned long Unk (0x01)
0x38 0x8 unsigned long Unk (0x02)