Editing SCECAF File Format
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
[[Category:Software]]<noinclude>[[Category:Main]]</noinclude> | [[Category:Software]]<noinclude>[[Category:Main]]</noinclude> | ||
Files | = File Format = | ||
/*Needs Documentation*/ | |||
Files [http://f.lui.li/get_3366_2bba.html here] | |||
Similar to PUP file. | |||
Structure (highly speculative) is as follows (most parts are byteswapped): | |||
== | == For caf == | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Offset !! | ! Offset !! Length !! Type !! Information | ||
|- | |- | ||
| 0x0 || 0x8 || | | 0x0 || 0x8 || unsigned long || Magic "SCECAF") | ||
|- | |- | ||
| 0x8 || 0x8 || | | 0x8 || 0x8 || unsigned long || Package Version (0x02) | ||
|- | |- | ||
| 0x10 || 0x8 || | | 0x10 || 0x8 || unsigned long || Image Version (0x01) | ||
|- | |- | ||
| 0x18 || 0x8 || | | 0x18 || 0x8 || unsigned long || File Count (0x01) | ||
|- | |- | ||
| 0x20 || 0x8 || | | 0x20 || 0x8 || unsigned long || Header Length (0xC0) | ||
|- | |- | ||
| 0x28 || 0x8 || | | 0x28 || 0x8 || unsigned long || Package Length (0x40) | ||
|- | |||
| 0x30 || 0x8 || unsigned long || Unk (0x01) | |||
|- | |||
| 0x38 || 0x8 || unsigned long || Unk (0x02) | |||
|- | |- | ||
|} | |} | ||
== | == For spsp2dmp == | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Offset !! | ! Offset !! Length !! Type !! Information | ||
|- | |- | ||
| | | 0x0 || 0x8 || unsigned long || Magic "SCECAF") | ||
|- | |- | ||
| 0x8 || 0x8 || unsigned long || Unk (0x02) | |||
|- | |- | ||
| | | 0x10 || 0x8 || unsigned long || Unk (0x01) | ||
|- | |- | ||
| 0x8 || | | 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) | ||
|- | |- | ||
|} | |} | ||