SLB2: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
(Undo revision 274866 by Effective Light (talk))
Line 42: Line 42:
* https://github.com/Hykem/ps4tools (hykem, based on flatz)
* https://github.com/Hykem/ps4tools (hykem, based on flatz)
* https://github.com/Jakes625/PS4-PUP-Tool (Jakes625)
* https://github.com/Jakes625/PS4-PUP-Tool (Jakes625)
* [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)




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

Revision as of 01:57, 28 September 2016

SLB2 structure

PS4 SLB PUP container format - SKFU
 /* file structure of SLB goes as following, if unpacking make sure you use 64 bits little endian on windows os */
 typedef unsigned char u8;
 typedef unsigned long int u32;
 typedef unsigned long long int u64;
 
 typedef struct{
 	u32 offset; //1 block is headersize (512 padded)
 	u32 cryptSize;
 	u64 reserved; //probably file alignment
 	u8 fileName[32];
 } fileEntry;
 
 typedef struct{
 	u32 magic; //SLB2
 	u32 version; //1
        u32 flags; // 0
 	u32 fileCount;
 	u32 blockCount;
 	u8 reserved[12];
 	fileEntry files[10];
 } slb2_header;

SLB2 files to play with

1.500.000:

* https://mega.co.nz/#!WE8zUAyb!ZuZy5Vxrd4eCc4bTvFW_ZC7lu7Ub0tcdyE08xbJtrok (Main)

1.501.000 :

Unpacking