PBP: Difference between revisions
Jump to navigation
Jump to search
(Add header structure) |
EmilDalalyan (talk | contribs) m (Adding of links) |
||
Line 1: | Line 1: | ||
PBP is the archive format used for the PSP. The archive contains description data, preview media and executable/data content. | '''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 memory | PBP files can be run from [[Memory stick|memory card]]. They must be placed in /PSP/GAME/. | ||
= Header structure = | = Header structure = | ||
Line 13: | Line 13: | ||
! Offset !! Type !! Description | ! Offset !! Type !! Description | ||
|- | |- | ||
| | | 0x00 || char[4] || Signature, always <code>{ '\0', 'P', 'B', 'P' }</code> | ||
|- | |- | ||
| | | 0x04 || uint32 || Version, usually 0x0100 | ||
|- | |- | ||
| | | 0x08 || uint32 || [[Param.sfo|PARAM.SFO]] offset | ||
|- | |- | ||
| | | 0x0C || uint32 || ICON0.PNG offset | ||
|- | |- | ||
| | | 0x10 || uint32 || ICON1.PMF offset | ||
|- | |- | ||
| | | 0x14 || uint32 || PIC0.PNG offset | ||
|- | |- | ||
| | | 0x18 || uint32 || PIC1.PNG offset | ||
|- | |- | ||
| | | 0x1C || uint32 || SND0.AT3 offset | ||
|- | |- | ||
| | | 0x20 || uint32 || DATA.PSP offset | ||
|- | |- | ||
| | | 0x24 || uint32 || DATA.PSAR offset | ||
|- | |- | ||
|} | |} |
Revision as of 02:52, 25 March 2023
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.
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 memory card. They must be placed in /PSP/GAME/.
Header structure
Offset | Type | Description |
---|---|---|
0x00 | char[4] | Signature, always { '\0', 'P', 'B', 'P' }
|
0x04 | uint32 | Version, usually 0x0100 |
0x08 | uint32 | PARAM.SFO offset |
0x0C | uint32 | ICON0.PNG offset |
0x10 | uint32 | ICON1.PMF offset |
0x14 | uint32 | PIC0.PNG offset |
0x18 | uint32 | PIC1.PNG offset |
0x1C | uint32 | SND0.AT3 offset |
0x20 | uint32 | DATA.PSP offset |
0x24 | uint32 | DATA.PSAR offset |