Platform:PlayStation Portable
| Vendor | Sony |
|---|---|
| On this wiki | Facts · Code · Notes · Topics |
Sony's 2004 handheld. A single MIPS32-based Allegrex CPU (little endian, FPU and VFPU vector unit) runs signed modules from a flash firmware; programs are PBP files containing PRX modules with NID-based imports.
Data formats around the executables: Format:PSP UMD disc layout, Format:CSO (compressed ISO), Format:PGF (PSP font), Format:PSF (PARAM.SFO), Format:PBP (PSP EBOOT).
Overview
The PSP CPU is called Allegrex (MIPS R4000 family with extensions; pspsdk links with OUTPUT_ARCH mips:allegrex). Executables are little-endian ELF32 derived modules; system functionality lives in firmware modules called by NID.
Boot and executables
A game or homebrew program is an EBOOT.PBP (Format:PBP (PSP EBOOT)) with the program as DATA.PSP and metadata in PARAM.SFO (Format:PSF (PARAM.SFO)). The program is a Format:PRX (PSP module); imports and exports use Technique:SCE NID imports and exports.
Toolchain
pspsdk and the pspdev toolchain (GCC for mipsallegrex, newlib) build ELF, then psp-prxgen and mksfo create the PRX and SFO, and pack-pbp the EBOOT.
Pitfalls
- Retail EBOOTs hold a signed, encrypted
~PSPmodule; analysts work on the decrypted ELF.
Code & repositories
See pages linked above.
- 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 - https://github.com/hrydgard/ppsspp @
0c6aa15f9be365bb88265636881814914ee8ac58· license: GPL-2.0 (declared by the contributor for the files used; GitHub reports BSD-2-Clause (read from LICENSE.TXT; GitHub's detector did not classify it) for the repository)
PSP emulator (GPL-2.0): Core/ELF/ParamSFO.cpp (SFO read/write), Core/FileSystems/BlockDevices.cpp (CSO, NPDRM PBP), Core/PSPLoaders.cpp (disc paths), Core/Font/PGF.h (font header)
Tested on: source read, not run: source read, not run; raw files fetched at the pinned commit · checked 2026-10-19; last activity 2026-10-18; Note: the latest release ships binaries; the wiki links only the source, never the binaries