PBP: Difference between revisions

From PSP Developer wiki
Jump to navigation Jump to search
(Created page with "PBP is the archive format used for the PSP. The archive contains description data, preview media and executable/data content. <br> At the time of writing, PBP files have only...")
 
(Add header structure)
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.
<br>
 
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.
<br>
 
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.
<br>
 
PBP files can be run from memory stick. They must be placed in /PSP/GAME/.
PBP files can be run from memory stick. They must be placed in /PSP/GAME/.
= Header structure =
{| class="wikitable"
|-
! 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
|-
|}

Revision as of 21:22, 22 January 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 stick. They must be placed in /PSP/GAME/.

Header structure

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