Editing PBP
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
PBP is the archive format used for the PSP. The archive contains description data, preview media and executable/data content. | |||
At the time of writing, PBP files have only been used for firmware updates, however, it is likely that game demos will also be distributed as PBP archives. | At the time of writing, PBP files have only been used for firmware updates, however, it is likely that game demos will also be distributed as PBP archives. | ||
Line 5: | Line 5: | ||
The format of PBP archives has been worked out. It is an uncompressed archive, with an index displaying file data offsets. | The format of PBP archives has been worked out. It is an uncompressed archive, with an index displaying file data offsets. | ||
PBP files can be run from | PBP files can be run from memory stick. They must be placed in /PSP/GAME/. | ||
= Header structure = | = Header structure = | ||
Line 13: | Line 13: | ||
! Offset !! Type !! Description | ! Offset !! Type !! Description | ||
|- | |- | ||
| | | 0x0000 || char[4] || Signature, always ( '\0', 'P', 'B', 'P' ) | ||
|- | |- | ||
| | | 0x0004 || uint32 || Version, usually 0x0100 | ||
|- | |- | ||
| | | 0x0008 || uint32 || PARAM.SFO offset | ||
|- | |- | ||
| | | 0x000C || uint32 || ICON0.PNG offset | ||
|- | |- | ||
| | | 0x0010 || uint32 || ICON1.PMF offset | ||
|- | |- | ||
| | | 0x0014 || uint32 || PIC0.PNG offset | ||
|- | |- | ||
| | | 0x0018 || uint32 || PIC1.PNG offset | ||
|- | |- | ||
| | | 0x001C || uint32 || SND0.AT3 offset | ||
|- | |- | ||
| | | 0x0020 || uint32 || DATA.PSP offset | ||
|- | |- | ||
| | | 0x0024 || uint32 || DATA.PSAR offset | ||
|- | |- | ||
|} | |} |