A minimal PlayStation 3 homebrew hello world project and packaging example. This repository demonstrates building a PS3 executable and producing a .pkg installer suitable for installation in RPCS3 (or on a real PS3).
- Docker (for devcontainer)
- JetBrains CLion IDE
- RPCS3 (recommended emulator for testing .pkg files)
- Familiarity with Make and C++
Note: The devcontainer image provided in this repo should already include the PS3 toolchain and required utilities.
Clone this repo using the devcontainer with CLion, build the image, and open it.
Then, build the pkg file:
RPCS3 is a mature PS3 emulator that can install and run .pkg files (homebrew or retail packages).
To test your generated .pkg:
- Install RPCS3 on your host OS. Follow RPCS3's official installation guide for your platform.
- Start RPCS3.
- Install the .pkg:
- Menu:
File→Install Packages - Select the generated .pkg file from the project.
- Menu:
- Launch the installed package from RPCS3's Games list.
- Use RPCS3 TTY logs for debugging.
Reproducible build environment: PS3 cross-compilation and packaging requires a specific toolchain (ps3dev / ps3toolchain, SDK bits, etc.). A devcontainer lets you pin an exact environment (toolchain versions, SDKs, OS packages) so builds are repeatable.
Easy setup for contributors New contributors can open the repository in a container and immediately have the correct toolchain and dependencies available (no manual host setup).
From inside the devcontainer terminal: Build
makeBuild the PKG file:
make pkg