SLB2 structure

From PS4 Developer wiki
Jump to: navigation, search

SLB2 structure[edit]

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));

SLB2 files to play with[edit]

1.500.000:

1.501.000:

Unpacking[edit]