• Stars
    star
    235
  • Rank 171,079 (Top 4 %)
  • Language
    Shell
  • License
    BSD 2-Clause "Sim...
  • Created about 14 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

CI CI-Docker

ps2toolchain

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

ATTENTION

If you're trying to install in your machine the WHOLE PS2 Development Environment, this is NOT the repo to use! Instead, you should use instead the ps2dev repo.

What these scripts do

These scripts download (with git clone) and install:

Requirements

  1. Install gcc/clang, make, patch, git, texinfo, flex, bison, gsl, gmp, mpfr, mpc and gettext 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 it's path! For example, on Linux systems, you can set access for 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/bin:$PS2DEV/ee/bin:$PS2DEV/iop/bin:$PS2DEV/dvp/bin:$PS2SDK/bin
  1. Run toolchain.sh ./toolchain.sh