PUP: Difference between revisions
Jump to navigation
Jump to search
CelesteBlue (talk | contribs) No edit summary |
CelesteBlue (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
PUP (Playstation Update Package) is the file format of the PSP, PS3, PSVita and PS4 system | PUP (Playstation Update Package) is the file format of the PSP, PS3, PSVita and PS4 system software update packages. | ||
PUP embed updates for devices such as the GameOS, Syscon, Wi-Fi, Bluetooth, Communication Processor, Southbridge, BD drive. | |||
= Structure = | = Structure = | ||
Line 11: | Line 11: | ||
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: | 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 { | <source lang="c"> | ||
struct PUPPS4Header { | |||
uint32_t magic; // PS4PUPMAGIC "\x4F\x15\x3D\x1D" | uint32_t magic; // PS4PUPMAGIC "\x4F\x15\x3D\x1D" | ||
uint16_t version; // Big Endian (??) | uint16_t version; // Big Endian (??) | ||
Line 19: | Line 20: | ||
uint32_t dictSize; // LE afaics | uint32_t dictSize; // LE afaics | ||
uint32_t uncompressedSize; // LE afaics | uint32_t uncompressedSize; // LE afaics | ||
}</source> | } | ||
</source> | |||
= Tools = | = Tools = | ||
Line 32: | Line 33: | ||
* [https://github.com/idc/ps4-pup_unpack ps4-pup-unpack by idc] | * [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] (based on ps4-pup-unpack by idc) | ||
{{Software}} | |||
<noinclude>[[Category:Main]]</noinclude> |
Revision as of 22:32, 3 March 2021
PUP (Playstation Update Package) is the file format of the PSP, PS3, PSVita and PS4 system software update packages.
PUP embed updates for devices such as the GameOS, Syscon, Wi-Fi, Bluetooth, Communication Processor, Southbridge, BD drive.
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:
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
}
Tools
Decrypter (first step)
Unpacker (second step)
- ps4-pup-unpack by idc
- ps4-pup-unpacker by Zer0xFF (based on ps4-pup-unpack by idc)