THE INFORMATIONS ON THIS PAGE ARE OBSOLETE. THIS PAGE EXISTS ONLY FOR ARCHIVING PURPOSE. CHECK THE PROJECT README FOR UP TO DATE INFORMATIONS.

MacOS

  1. Install the needed software packages ( aka dependencies in Linux world ) :
sudo apt-get install gcc-mipsel-linux-gnu g++-mipsel-linux-gnu binutils-mipsel-linux-gnu
sudo apt-get install -y git make pkg-config clang g++ libfreetype6-dev libavcodec-dev libavformat-dev libavutil-dev libglfw3-dev libsdl2-dev libswresample-dev libuv1-dev zlib1g-dev

See here if you're using an Arch derivative.

  1. Clone the pcsx-redux repo :
git clone https://github.com/grumpycoders/pcsx-redux.git --recursive
  1. Enter pcsx-redux folder:

    cd pcsx-redux
  2. Compile pcsx-redux :

make

If you encounter an error due to an old version of GCC (< 10) like something about -fcoroutines, then you can use clang ( min version 9) to compile pcsx-redux :


CC=clang CXX=clang++ LD=clang++ make
  1. Get the converted PsyQ 4.7 libs :
wget http://psx.arthus.net/sdk/Psy-Q/psyq-4.7-converted-full.7z
  1. Extract this archive to [...]pcsx-redux/src/mips/psyq/, adapting the path ( the part after -o) in the command below to the folder you cloned pcsx-redux in :
7z x -o./src/mips/psyq/ psyq-4.7-converted-full.7z

Your pcsx-redux/src/mips/psyq/ directory should now contain an include and a lib folder with a bunch of files in each of them :

$tree ~/pcsx-redux/src/mips/psyq/
.
├── include
│   ├── abs.h
│   ├── ...
│   ├── strings.h
│   └── sys
│       ├── errno.h
│       ├── ...
│       └── types.h
├── lib
│   ├── libapi.a
│   ├── ...
│   └── libtap.a
└── tree

3 directories, 82 files
  1. That's it ! After that you can check everything's working by trying to compile some example code :
cd src/mips/psyq/cube
make 

You should know have a 'cube.ps-exe' file in the folder. This is a PSX executable you can load with most emulators.