Editing PUP
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: | ||
PUP (Playstation Update Package) is the file format of the PSP, PS3, PSVita | PUP (Playstation Update Package) is the file format of the PSP, PS3, PSVita and PS4 system firmware update packages. | ||
They embed the OS, syscon, WIFI, BT, CP and on PS4 the EAP firmware. | |||
= Structure = | |||
PS4 PUP is special because it embeds single other PUPs. | |||
== Header == | |||
Have a feeling the header for the new PS4 PUPs ends with a LZMA dictionary and file size… (ie a normal lzma header without the properties byte) anyone else done research into that? As in: | |||
<source lang="c">struct PUPPS4Header { | |||
uint32_t magic; // PS4PUPMAGIC "\x4F\x15\x3D\x1D" | |||
uint16_t version; // Big Endian (??) | |||
uint16_t unknownOne; | |||
uint16_t unknownTwo; | |||
uint16_t unknownThree; | |||
uint32_t dictSize; // LE afaics | |||
uint32_t uncompressedSize; // LE afaics | |||
}</source> | |||
-- [[User:Johndrinkwater|Johndrinkwater]] ([[User talk:Johndrinkwater|talk]]) 19:31, 28 May 2014 (EDT) | |||
= Tools = | |||
=== Decrypter (first step) === | === Decrypter (first step) === | ||
* [https://github.com/idc/ps4-pup_decrypt ps4-pup_decrypt by idc] | |||
* [https://github.com/idc/ps4-pup_decrypt ps4-pup_decrypt by idc | |||
=== Unpacker (second step) === | === Unpacker (second step) === | ||
* [https://github.com/ | * [https://github.com/idc/ps4-pup_unpack ps4-pup-unpack by idc] | ||
* [https://github.com/Zer0xFF/ps4-pup-unpacker ps4-pup-unpacker by Zer0xFF] (based on ps4-pup-unpack by idc) | |||
* [https://github.com/Zer0xFF/ps4-pup-unpacker ps4-pup-unpacker by Zer0xFF | |||