Archive of https://github.com/SvenGDK/zPBPTool — An improved version of the PSP pack pbp tool in C. https://github.com/SvenGDK/zPBPTool
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-12-30 17:28:34 +01:00
.github/workflows Update build.yml 2025-12-30 00:08:13 +01:00
.gitattributes zig to c 2025-12-29 23:54:03 +01:00
.gitignore zig to c 2025-12-29 23:54:03 +01:00
LICENSE Update LICENSE 2020-08-13 15:36:36 -04:00
main.c zig to c 2025-12-29 23:54:03 +01:00
README.md Update README.md 2025-12-30 17:28:34 +01:00

zPBPTool

A cross-platform multi-tool for packing, unpacking, and analyzing PSP PBP files.

This fork is a C version of zPBPTool's zig version.

  • Smaller binaries & faster execution
  • No breaking changes in code language

Why zPBPTool?

This tool is meant to ship with the Zig-PSP Toolchain.

zPBPTool replaces PSPSDK's pack-pbp and unpack-pbp tools. In addition to this - it also can be used to analyze a PBP without extracting.

Usage

zPBPTool is used internally by Zig-PSP's build process to create a PBP. It also can be used standalone.

To use it standalone, you can use pbptool pack, pbptool unpack, and pbptool analyze.

To use packing, you'll want to supply it: pbptool pack <output.pbp> <param.sfo> <icon0.png> <icon1.pmf> <pic0.png> <pic1.png> <snd0.at3> <data.psp> <data.psar> If you don't want to include a file - give it the value NULL

To use unpacking, you'll need to supply: pbptool unpack <input.pbp> <outputdir>

To use analysis, all it requires is: pbptool analyze <input.pbp>