SLB2: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== SLB2 structure ==
== SLB2 structure ==
[[File:PS4 SLB PUP container format - SKFU.png|thumb|PS4 SLB PUP container format - SKFU]]
[[File:PS4 SLB PUP container format - SKFU.png|thumb|PS4 SLB PUP container format - SKFU]]


Line 23: Line 24:
</source>
</source>


=== SLB2 files to play with ===
== Unpacking ==
[[1.500.000]]:
* <span style="text-decoration: line-through;">http://www.mirrorcreator.com/files/056CKD7J/PS4UPDATE.PUP.rar_links</span>
* <span style="text-decoration: line-through;">https://mega.co.nz/#!WE8zUAyb!ZuZy5Vxrd4eCc4bTvFW_ZC7lu7Ub0tcdyE08xbJtrok (Main)</span>
* <span style="text-decoration: line-through;">https://mega.co.nz/#!GEdQkRRR!KSCLLQEGlWfQwsA3yBo3pkZqqqE6w-Jwk-5CvLd4GR0 (Recovery)</span>
 
[[1.501.000]]:
* <span style="text-decoration: line-through;">http://dus01.ps4.update.playstation.net/update/ps4/image/2013_1112/sys_df008b5601f4a214a3cc65030a02ac4a/PS4UPDATE.PUP?dest=us (Main)</span>
* <span style="text-decoration: line-through;">http://dus01.ps4.update.playstation.net/update/ps4/image/2013_1112/rec_cedada625478db608d5878c019454380/PS4UPDATE.PUP?dest=us (Recovery)</span>


=== Unpacking ===
* [https://web.archive.org/web/20141023113732/http://pastie.org/private/4wgojewhp2pq7declhkhw pupunpack.py] (flatz)
* [https://web.archive.org/web/20141023113732/http://pastie.org/private/4wgojewhp2pq7declhkhw pupunpack.py] (flatz)
* [http://www.eurasia.nu/modules.php?name=Downloads&d_op=viewdownloaddetails&lid=10234&ttitle=PS4_PUP_Extractor_v2 PS4 PUP Extractor v2] (xerpi)
* [http://www.eurasia.nu/modules.php?name=Downloads&d_op=viewdownloaddetails&lid=10234&ttitle=PS4_PUP_Extractor_v2 PS4 PUP Extractor v2] (xerpi)
* [https://streetskaterfu.blogspot.fr/2013/11/release-ps4-fw-tool-100.html PS4 FW Tool v1.0.0] (skfu)
* [https://streetskaterfu.blogspot.fr/2013/11/release-ps4-fw-tool-100.html PS4 FW Tool v1.0.0] (skfu)
* <span style="text-decoration: line-through;">https://github.com/Hykem/ps4tools (hykem, based on flatz)</span>
* [https://github.com/Hykem/ps4tools ps4tools] (hykem, based on flatz)
* https://github.com/harlequin/ps4tools (harlequin, based on flatz and zecoxao)
* [https://github.com/harlequin/ps4tools ps4tools] (harlequin, based on flatz and zecoxao)
* https://github.com/nikosradio/ps4tools (nikosradio, based on flatz)
* [https://github.com/nikosradio/ps4tools ps4tools] (nikosradio, based on flatz)
* https://github.com/Keyaku/ps4tools (Keyaku, based on flatz)
* [https://github.com/Keyaku/ps4tools ps4tools] (Keyaku, based on flatz)
* https://github.com/Jakes625/PS4-PUP-Tool (Jakes625)
* [https://github.com/Jakes625/PS4-PUP-Tool PS4-PUP-Tool] (Jakes625)
* [https://github.com/cfwprpht/PS4_AC1D_Flash-Tool PS4_AC1D_Flash-Tool] (cfwprpht)
* [https://github.com/cfwprpht/PS4_AC1D_Flash-Tool PS4_AC1D_Flash-Tool] (cfwprpht)
* [https://github.com/cfwprpht/Usefull_Libraries/blob/master/SLB2/SLB2/SLB2.cs SLB2 library] (cfwprpht)
* [https://github.com/cfwprpht/Usefull_Libraries/blob/master/SLB2/SLB2/SLB2.cs SLB2 library] (cfwprpht)
* [https://github.com/zecoxao/blsunpack blsunpack] (zecoxao)
* [https://github.com/zecoxao/blsunpack blsunpack] (zecoxao)
* [https://github.com/yifanlu/slb2tools slb2tools] (yifan lu)




{{Software}}
{{Software}}
<noinclude>[[Category:Main]]</noinclude>
<noinclude>[[Category:Main]]</noinclude>

Revision as of 01:00, 7 June 2020

SLB2 structure

PS4 SLB PUP container format - SKFU
/* SLB2 structure is little endian */
 
struct slb2_entry {
	uint32_t block_offset;
	uint32_t file_size;
	uint32_t alignment[2];
	char     file_name[32];
} __attribute__((packed));
 
struct slb2_header {
	uint32_t magic;
	uint32_t version;
	uint32_t flags;
	uint32_t file_count;
	uint32_t block_count;
	uint32_t unk[3];
	struct slb2_entry entry_list[0];
} __attribute__((packed));

Unpacking