From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:PBP (PSP EBOOT)" |
|---|
| claim | "The PBP header is 40 bytes: a 4-byte signature, a 4-byte version and eight u32 little-endian offsets for PARAM.SFO, ICON0.PNG, ICON1.PMF, PIC0.PNG, PIC1.PNG, SND0.AT3, DATA.PSP and DATA.PSAR in that order." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:PBP (PSP EBOOT)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "PBP_HEADER" |
|---|
| size | 40 |
|---|
| fields | | name | "signature" |
|---|
| offset | 0 |
|---|
| type | "char[4]" |
|---|
| note | "00 50 42 50" |
|---|
|
| name | "version" |
|---|
| offset | 4 |
|---|
| type | "u32" |
|---|
| note | "0x00010000" |
|---|
|
| name | "offset" |
|---|
| offset | 8 |
|---|
| type | "u32[8]" |
|---|
| note | "PARAM.SFO, ICON0.PNG, ICON1.PMF, PIC0.PNG, PIC1.PNG, SND0.AT3, DATA.PSP, DATA.PSAR" |
|---|
|
|
|---|
| endianness | "little" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "HEADER struct and the filename[8] table" |
|---|
| repo | "https://github.com/pspdev/pspsdk" |
|---|
| commit | "6ef2b21dc440ef8d4125f000301faaa2a470975e" |
|---|
| path | "tools/unpack-pbp.c" |
|---|
| lines | "39-64" |
|---|
|
| type | "source" |
|---|
| detail | "swap_int under WORDS_BIGENDIAN and the swap loop over header.offset[] after fread" |
|---|
| repo | "https://github.com/pspdev/pspsdk" |
|---|
| commit | "6ef2b21dc440ef8d4125f000301faaa2a470975e" |
|---|
| path | "tools/unpack-pbp.c" |
|---|
| lines | "29-37, 100-120" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "PBP header" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T08:08:11.009Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T01:30:46.942Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read pspdev/pspsdk tools/unpack-pbp.c at 6ef2b21: HEADER {char signature[4]; int version; int offset[8]} = 40 bytes, signature 00 50 42 50, filename[8] order matches." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T13:26:08.932Z" |
|---|
| summary | "Set byte order: little. unpack-pbp.c fread()s the header raw and byte-swaps the offsets only #ifdef WORDS_BIGENDIAN, so the file stores them little-endian." |
|---|
| changed | |
|---|
|
|
|---|