Skip to content
This repository was archived by the owner on Mar 18, 2023. It is now read-only.

Compiling

Wesley Castro edited this page Dec 24, 2016 · 9 revisions

This will explain how to compile Cheat Device on Linux. This was tested under Fedora 25 x86_64 but should work with other distros.

  1. Install necessary tools for building the toolchain. Some of these are probably installed already.
  • gcc
  • make
  • autoconf
  • automake
  • patch
  • wget
  1. Install PS2SDK using ps2toolchain git clone https://github.com/ps2dev/ps2toolchain.git ~/ps2toolchain cd ~/ps2toolchain sudo ./toolchain-sudo.sh

  2. Add environment variables to ~/.bashrc export PS2DEV=/usr/local/ps2dev export PS2SDK=$PS2DEV/ps2sdk export GSKIT=$PS2DEV/gsKit export PATH=$PATH:$PS2DEV/bin export PATH=$PATH:$PS2DEV/ee/bin export PATH=$PATH:$PS2DEV/iop/bin export PATH=$PATH:$PS2DEV/dvp/bin export PATH=$PATH:$PS2SDK/bin

  3. Give all users write permission for ps2dev directory sudo chmod g+w,o+w -R $PS2DEV

  4. Install zlib git clone git://github.com/ps2dev/ps2sdk-ports.git ~/ports cd ~/ports/zlib make install

  5. Install gsKit git clone git://github.com/ps2dev/gsKit ~/gsKit cd ~/gsKit ./setup.sh

That last step will warn you about not having some image libraries available, but this can be ignored since Cheat Device doesn't need them.

  1. Compile Cheat Device git clone --recursive git://github.com/root670/CheatDevicePS2 ~/CheatDevicePS2 cd ~/CheatDevicePS2 make

Clone this wiki locally