If you are confused on how to start developing for PS2, see the getting started section on the ps2dev main page.
This program will automatically build and install a DVP compiler, which is used in the creation of homebrew software for the Sony PlayStation® 2 videogame system.
These scripts download (with git clone
) and install binutils 2.14 (dvp).
- Install gcc/clang, make, patch, git, and texinfo if you don't have those packages.
- Ensure that you have enough permissions for managing PS2DEV location (which defaults to
/usr/local/ps2dev
). PS2DEV location MUST NOT have spaces or special characters in its path! For example, on Linux systems, you can set access for the current user by running commands:
export PS2DEV=/usr/local/ps2dev
sudo mkdir -p $PS2DEV
sudo chown -R $USER: $PS2DEV
- Add this to your login script (example:
~/.bash_profile
)
export PS2DEV=/usr/local/ps2dev
export PATH=$PATH:$PS2DEV/dvp/bin
- Run toolchain.sh
./toolchain.sh
Links for discussion and chat are available here.