A PBP file collects the files needed for a game executable from a MemoryStick into a single file, for easier transfer. The files are simply concatenated with a small index at the start. There does not seem to be any alignment requirements.
All the offsets are in bytes from the beginning of the PBP file, and store in unsigned little endian 32 bit format (ul32).
Offset | Contents | Description |
---|---|---|
0..3 | 0 "PBP" | A file type identification cookie. A zero byte is followed by the three uppercase ASCII characters "PBP". |
4..7 | 0 0 1 0 | This might be some kind of indication of the PBP version. Currently it's always two 0 bytes followed by a 1 byte and then one more 0 byte. |
8..11 | ul32 | Offset of param.sfo data |
12..15 | ul32 | Offset of icon0.png data |
16..19 | ul32 | Offset of icon1.pmf data |
20..23 | ul32 | Offset of PNG image of unknown purpose |
24..27 | ul32 | Offset of pic1.png data |
28..31 | ul32 | Offset of snd0.at3 data |
32..35 | ul32 | Offset of PSP data |
36..39 | ul32 | Offset of PSAR data |