PUP: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
PUP are the file format of the PSP, PS3, PSVita and PS4 system firmware update packages.
PUP (Playstation Update Package) is the file format of the PSP, PS3, PSVita and PS4 system firmware update packages.


They embed the OS, the syscon firmware, the WIFI, BT firmware, and on PS4 the EAP firmware.
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.
PS4 PUP is special because it embeds single other PUPs.


== PS4 PUP layout ==
== 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:
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:
Line 20: Line 22:
-- [[User:Johndrinkwater|Johndrinkwater]] ([[User talk:Johndrinkwater|talk]]) 19:31, 28 May 2014 (EDT)
-- [[User:Johndrinkwater|Johndrinkwater]] ([[User talk:Johndrinkwater|talk]]) 19:31, 28 May 2014 (EDT)


== PS4 PUP Tools ==
= Tools =


=== Decrypter (first step) ===
=== Decrypter (first step) ===

Revision as of 23:40, 27 December 2019

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:

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
}

-- Johndrinkwater (talk) 19:31, 28 May 2014 (EDT)

Tools

Decrypter (first step)

Unpacker (second step)