Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Format:PBP (PSP EBOOT)

From ReverseEngineering.wiki
Format
Platforms Platform:PlayStation Portable
Magic 00 50 42 50 (\0PBP)
Extensions .pbp
Endianness little
On this wiki Facts · Code · Notes · Topics

Container of the PlayStation Portable (EBOOT.PBP, also used by PS1 classics and updaters): a 40-byte little-endian header with the signature 00 50 42 50 and eight file offsets, followed by PARAM.SFO, ICON0.PNG, ICON1.PMF, PIC0.PNG, PIC1.PNG, SND0.AT3, DATA.PSP and DATA.PSAR in that fixed order.

Overview

A PBP is a flat archive of up to eight members whose names and order are fixed. The homebrew SDK tools pack-pbp and unpack-pbp of pspsdk read and write it; the executable of a game or homebrew program is the DATA.PSP member, normally a Format:PRX (PSP module) (plain for homebrew, in a signed and encrypted ~PSP wrapper for commercial releases).

Layout

Offset Size Field
0x00 4 signature 00 50 42 50
0x04 4 version, bytes 00 00 01 00 (u32 0x00010000)
0x08 8 x 4 u32 file offsets, one per member

The header is 40 bytes (0x28), so the first member (PARAM.SFO) starts at 0x28 in pack-pbp output. A member's size is the next offset minus its own; the last member runs to the end of the file. Equal consecutive offsets mean the member is absent.

Members in order: 0 PARAM.SFO (Format:PSF (PARAM.SFO)), 1 ICON0.PNG, 2 ICON1.PMF (animated icon), 3 PIC0.PNG, 4 PIC1.PNG (backgrounds), 5 SND0.AT3 (background music), 6 DATA.PSP (the program), 7 DATA.PSAR (extra data; contents depend on the product).

Identification

The first four bytes 00 50 42 50 at offset 0 of a file named EBOOT.PBP, or the same bytes in a file extracted from a PSP disc or download. A module inside starts with ELF 7F 45 4C 46 (plain) or 7E 50 53 50 (~PSP, signed/encrypted).

Tools

pack-pbp, unpack-pbp and mksfo in pspsdk (BSD licence).

Pitfalls

  • All integers are little-endian; do not confuse the PBP with the Format:PS3 PKG, which is big-endian.
  • The size of DATA.PSAR is not stored; derive it from the file size.
  • Unverified: the contents of DATA.PSAR (updater image, PS1 disc image) are product specific and are not documented by pspsdk.

Code & repositories

See Platform:PlayStation Portable.

  • https://github.com/pspdev/pspsdk @ 6ef2b21dc440ef8d4125f000301faaa2a470975e · license: BSD-3-Clause (declared by the contributor; GitHub's detector did not recognize LICENSE)
    PSP SDK (BSD): module info, import/export macros, NID generation, prxgen, pack-pbp, mksfo
    Tested on: source read, not run: source read, tools/ and src/user/ at the pinned commit · checked 2026-10-18; last activity 2026-10-17