SELF File Format: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
Line 19: Line 19:
| 0x10 || 4 || Size of SELF ||
| 0x10 || 4 || Size of SELF ||
|-
|-
| 0x18 || 2 || Unknown || 1 on Secure Kernel, 2 in the other files
| 0x18 || 2 || Unknown || 1 on Secure Kernel, 2 in other secure modules (Secure Loader included), 4 in Secure Kernel Inner Elfs
|}
|}

Revision as of 22:33, 25 February 2019

ORBIS SELFs from PS4 have a somewhat different structure from the ones we see on vita and ps3. The structure is documented as follows:

SELF Header Structure

Offset Size Description Notes
0 4 Magic 4F 15 3D 1D
0x9 1 Key Type
0xA 2 Padding
0xC 2 MetaData Offset
0xE 2 MetaData Size
0x10 4 Size of SELF
0x18 2 Unknown 1 on Secure Kernel, 2 in other secure modules (Secure Loader included), 4 in Secure Kernel Inner Elfs