Contributing
There are many ways to contribute to our efforts to make developing homebrew for the PlayStation Portable (PSP) easier for everyone. The first step would be to join our Discord or use our GitHub Discussions!
Ways to contribute
Before making any contribution, it’s best to talk about what you want to do on Discord. After that, here are some places you can look to contribute:
- Found an bug or are you missing something? Report it here!
- Want to solve a bug? Find our bug tracker here!
- Want to add a library? Find out how to here!
- Want to add a function? Look here!
Pull requests are always welcome!
Where can I find the code?
The PSPDEV toolchain is build using quite a few different repositories which each add their own piece to the system. If you just want to build everything at once, the pspdev repository is the place to go.
There are automated builds, which build each part individually if there are changes. Here is a basic image showing the build order:
Lets go over what each repository in this list does and where they get the things they build from:
- psptoolchain-allegrex contains scripts to build the following tools:
- binutils and gdb provide supporting tools for debugging, linking and building software.
- gcc is the compiler used for building homebrew.
- newlib is the C library used in PSPDEV, providing many posix functions.
- pthread is a multithreading library used by
std::thread
in C++ among other things.
- psptoolchain-extra contains scripts to build the following tools:
- psp-pacman is the package manager for installing and updating libraries.
- psp-cmake is a wrapper script for cmake using the psp toolchain file.
- psp-pkg-config is a wrapper script for pkg-config for libraries in PSPDEV.
- psptoolchain builds psptoolchain-allegrex and psptoolchain-extra combines them.
- pspsdk contains all the PSP specific libraries that we consider to be part of the base system. A lot of functions offered by the official PSP SDK from Sony are also provided here. It also contains samples for how to use these functions.
- psp-packages contains build files for all the 3rd party libraries that are supported by PSPDEV. There are over 50 of them, including SDL2, curl, OpenGL, sqlite, lua and openal to just name a few.
- pspdev combines everything listed above and adds the following tools:
- psplinkusb provides the tools for debugging with psplink. I also contains psplink itself.
- ebootsigner is a tool for making homebrew able to run on official firmares from Sony.
Pull requests for any repository are always appreciated! Have fun contributing and don’t forget to say hi on Discord or on the GitHub Discussions page!