Master repo for building the entire suite of PlayStation 3 development tools and environment for end users.
ps3dev is designed to offer a smooth entry point into developing for the PlayStation 3. It orchestrates the installation of the complete PS3 development environment for all supported platforms.
Start here if you're looking to build code for the PS3.
You can get started quickly using a pre-built release.
- Set your bash variables and install dependencies.
- Download and extract the latest release for your platform.
- Extract the archive to the
$PS3DEVfolder. By default, this is/usr/local/ps3dev. - Reload your login script (
source ~/.bash_profile/~/.zprofile).
Done! Verify the installation by checking ppu-gcc --version.
Add these variables to your login script. If you're on Linux, run sudo nano ~/.bash_profile; on macOS, ~/.zprofile is preferable.
export PS3DEV=/usr/local/ps3dev
export PSL1GHT=$PS3DEV
export PATH=$PATH:$PS3DEV/bin
export PATH=$PATH:$PS3DEV/ppu/bin
export PATH=$PATH:$PS3DEV/spu/binThis is required for the toolchain to work.
Run this to install dependencies.
apt-get install autoconf automake bison flex gcc libelf-dev make \
texinfo libncurses5-dev patch python subversion wget zlib1g-dev \
libtool libtool-bin python-dev bzip2 libgmp3-dev pkg-config g++ libssl-dev clang
Ensure Homebrew is installed and run:
brew install autoconf automake openssl libelf ncurses zlib gmp wget pkg-config texinfo
Alternatively, there is a script for Linux and macOS that does this for you. Run sudo ./prepare.sh.
You can build the ps3dev environment from source.
- Download the latest release.
- Add the bash variables to your login script and install dependencies.
- Run:
sudo chown -R $USER: $PS3DEV
./build-all.sh.Special thanks to all of the contributors who developed and maintained the toolchain, libraries and SDK over the years - and to everyone who continues to do so.