Skip to content

This program will automatically build and install a IOP compiler which is used in the creation of homebrew software for the Sony PlayStation® 2 videogame system.

License

Notifications You must be signed in to change notification settings

ps2dev/ps2toolchain-iop

Repository files navigation

CI CI-Docker

ps2toolchain-iop

ATTENTION

If you are confused on how to start developing for PS2, see the getting started section on the ps2dev main page.

Introduction

This program will automatically build and install a IOP compiler, which is used in the creation of homebrew software for the Sony PlayStation® 2 videogame system.

What these scripts do

These scripts download (with git clone) and install binutils 2.35.2 (iop), gcc 11.1.0 (iop).

Requirements

  1. Install gcc/clang, make, patch, git, texinfo, bison, flex, libgmp3, libmpfr, and libmpc if you don't have those packages.
  2. 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
  1. Add this to your login script (example: ~/.bash_profile)
export PS2DEV=/usr/local/ps2dev
export PS2SDK=$PS2DEV/ps2sdk
export PATH=$PATH:$PS2DEV/iop/bin
  1. Run toolchain.sh ./toolchain.sh

Community

Links for discussion and chat are available here.

About

This program will automatically build and install a IOP compiler which is used in the creation of homebrew software for the Sony PlayStation® 2 videogame system.

Resources

License

Stars

Watchers

Forks

Packages