SpiceDev / ps2dev

Main PS2 Repo for build the whole environment in your local machine and/or docker image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ps2dev

GitHub Workflow StatusGitHub Workflow StatusDocker Pulls

Main PS2 Repo for building the whole PS2 Development environment in your local machine.

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

What these scripts do

These scripts download (git clone) and install:

Requirements

  1. Install gcc/clang, make, patch, git, texinfo, flex, bison, gettext, wget, gsl, gmp, mpfr and mpc if you don't have those.

  2. Add this to your login script (example: ~/.bash_profile) Note: Ensure that you have full access to the PS2DEV path. You can change the PS2DEV path with the following requirements: use only absolute paths, don't use spaces, use only Latin characters.

export PS2DEV=/usr/local/ps2dev
export PS2SDK=$PS2DEV/ps2sdk
export GSKIT=$PS2DEV/gsKit
export PATH=$PATH:$PS2DEV/bin:$PS2DEV/ee/bin:$PS2DEV/iop/bin:$PS2DEV/dvp/bin:$PS2SDK/bin
  1. Run build-all.sh
./build-all.sh

Docker generation

This repo also uses CI/CD to create a docker image called ps2dev/ps2dev:latestper change. This is quite useful if you're a developer that wants to create/port an application to the PS2. You can compile your project using this docker image.

Extra steps

If you want, you can JUST install the extra dependencies as ps2client and ps2-packer. To achieve this just execute

./build-extra.sh

macOS

If you download the pre-built macOS binaries and get a security error such as "ps2client" cannot be opened because the developer cannot be verified., you can remove the quarantine attribute by running:

xattr -dr com.apple.quarantine path/to/prebuilt/ps2toolchain

Thanks

About

Main PS2 Repo for build the whole environment in your local machine and/or docker image

License:MIT License


Languages

Language:Shell 95.9%Language:Dockerfile 4.1%