Editing SELF 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 12: | Line 12: | ||
| 0x8 || 1 || Category || 1 on SELF, 4 on PUP Entry (probably SPP). See [https://www.psdevwiki.com/ps3/Certified_File#Category PS3/PS Vita Category]. | | 0x8 || 1 || Category || 1 on SELF, 4 on PUP Entry (probably SPP). See [https://www.psdevwiki.com/ps3/Certified_File#Category PS3/PS Vita Category]. | ||
|- | |- | ||
| 0x9 || 1 || [[Program Type]] || First Half denotes version (anything between 0, oldest and F, newest), second Half denotes true type, 4 for Games | | 0x9 || 1 || [[Program Type]] || First Half denotes version (anything between 0, oldest and F, newest), second Half denotes true type, 4 for Games, 6 for Video Apps like Netflix, 8 for System/EX Apps/Executables, 9 for System/EX modules/dlls | ||
|- | |- | ||
| 0xA || 2 || Padding || | | 0xA || 2 || Padding || | ||
Line 147: | Line 147: | ||
|0x11||[[CloudABI]] | |0x11||[[CloudABI]] | ||
|} | |} | ||
It is often set to <code>0</code> regardless of the target platform. | |||
|- | |- | ||
| colspan="2" | 0x08 || colspan="2" | 1 || <tt>e_ident[EI_ABIVERSION]</tt> | | colspan="2" | 0x08 || colspan="2" | 1 || <tt>e_ident[EI_ABIVERSION]</tt> | ||
Line 154: | Line 153: | ||
|- | |- | ||
| colspan="2" | 0x09 || colspan="2" | 7 || <tt>e_ident[EI_PAD]</tt> | | colspan="2" | 0x09 || colspan="2" | 7 || <tt>e_ident[EI_PAD]</tt> | ||
| | |currently unused | ||
|- | |- | ||
| colspan="2" | 0x10 || colspan="2" | 2 || <tt>e_type</tt> | | colspan="2" | 0x10 || colspan="2" | 2 || <tt>e_type</tt> | ||
Line 160: | Line 159: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
!Value!!Type | !Value!!Type | ||
|- | |- | ||
|0x00||ET_NONE | |0x00||ET_NONE | ||
|- | |- | ||
|0x01||ET_REL | |0x01||ET_REL | ||
|- | |- | ||
|0x02||ET_EXEC | |0x02||ET_EXEC | ||
|- | |- | ||
|0x03||ET_DYN | |0x03||ET_DYN | ||
|- | |- | ||
|0x04||ET_CORE | |0x04||ET_CORE | ||
|- | |- | ||
|0xfe00||ET_SCE_EXEC | |0xfe00||ET_SCE_EXEC | ||
|- | |- | ||
|0xfe01||ET_SCE_REPLAY_EXEC | |0xfe01||ET_SCE_REPLAY_EXEC | ||
|- | |- | ||
|0xfe10||ET_SCE_DYNEXEC | |0xfe10||ET_SCE_DYNEXEC | ||
|- | |- | ||
|0xfe18||ET_SCE_DYNAMIC | |0xfe18||ET_SCE_DYNAMIC | ||
|- | |- | ||
|0xfeff||ET_HIOS | |0xfeff||ET_HIOS | ||
|- | |- | ||
|0xff00||ET_LOPROC | |0xff00||ET_LOPROC | ||
|- | |- | ||
|0xffff||ET_HIPROC | |0xffff||ET_HIPROC | ||
|} | |} | ||
|- | |- | ||
Line 381: | Line 380: | ||
As PS4 SELF decryption keys are not publicly known, to decrypt SELFs, one can use his PS4 as a blackbox. There are some conditions: the SELF must have valid signatures, it must have a required FW version lower than the FW version of the PS4 being used, and for System SELFs the SELF key_revision must be according to the PS4 FW version. There are exceptions like in first PS4 firmwares where some SELF checks were missing and allowed to decrypt SELFs that did not meet such requirements. | As PS4 SELF decryption keys are not publicly known, to decrypt SELFs, one can use his PS4 as a blackbox. There are some conditions: the SELF must have valid signatures, it must have a required FW version lower than the FW version of the PS4 being used, and for System SELFs the SELF key_revision must be according to the PS4 FW version. There are exceptions like in first PS4 firmwares where some SELF checks were missing and allowed to decrypt SELFs that did not meet such requirements. | ||
=== make_fself by flatz | === make_fself by flatz === | ||
To document. | |||
=== SELF backport tools === | === SELF backport tools === | ||
To | To document. | ||
{{File Formats}} | {{File Formats}} | ||
<noinclude>[[Category:Main]]</noinclude> | <noinclude>[[Category:Main]]</noinclude> |