About ps2dev
ps2dev is an open source development environment for Playstation 2® development.
This allows you to create applications, games, and more (homebrew) to run on Playstation 2 console.
Community
Discussion forums, wiki, and chat rooms are available:
Chat
You can chat using many clients:
Channels are bridged, so e.g. users on Matrix can see messages on IRC (and vice versa).
Getting Started
Installing
See the installation instructions for ps2dev.
Updating
Repeat the installation instructions above to update the development environment.
Removing
To remove all traces of the development environment, just delete your $PS2DEV
directory. You can then reverse the steps in installing the prerequisites.
Platform
Writing Code
See the API reference.
Once the development environment is installed, samples are available at $PS2SDK/samples
.
Also, see ps2homebrew for full programs using the development environment.
Building
Building is generally done using GNU Make with Makefile
files.
CMake support is also available when using the definition -DCMAKE_TOOLCHAIN_FILE=$PS2SDK/ps2dev.cmake
.
Running
To run homebrew, you need an entrypoint.
For ease of use, installing FreeMCBoot, FreeHDBoot, or Opentuna is recommended.
Use one of the above exploits to launch ps2link
Once ps2link is running, use ps2client to load the executable file (in .elf format) and to receive debugging output.
Debugging
The current recommended way to debug is to use ps2link and ps2client, as mentioned above.
Porting libraries
See the ps2sdk-ports repository.