Version 1.0+beta2 - https://github.com/pspdev/pspsdk
The PSP Software Development Kit (PSPSDK) is a collection of Open Source tools and libraries written for Sony's Playstation Portable (PSP) gaming console. It also includes documentation and other resources developers can use to write software for the PSP.
PSPSDK is distributed under a BSD-compatible license, with the exception of the
files located in tools/PrxEncrypter
. The files located in the tools/PrxEncrypter
directory are subject to the terms of the GNU General Public License version 3.
See the LICENSE
files for more information.
- Stub libraries and headers for interfacing with the PSP operating system, ranging from threading libraries, file io, display driver and wifi networking.
- Basic runtime support (crt0) for executables and libraries.
- A libcglue library for fulfill newlib system call requirements.
- Support code for linking with the full Standard C Library provided with the PSPDEV toolchain.
- An implementation of the libGU graphics library. libGU provides an interface to the 2D and 3D hardware acceleration features found in the PSP's Graphic Engine.
- An implementation of the libGUM library. libGUM provides an interface for manipulating matrices for use in 3D software.
- A simple audio library that can be used to play back PCM audio streams.
- Support for building static executables and PRX files (relocatable modules).
bin2c
,bin2o
, andbin2s
for converting binary files into C source, object files, and assembler source files, respectively.mksfo
andmksfoex
for creating PARAM.SFO files.pack-pbp
andunpack-pbp
for adding and removing files from EBOOT.PBP.psp-config
for locating PSPDEV tools and libraries.psp-prxgen
for converting specially made ELFs to PRX files.psp-build-exports
for creating export tablespsp-fixup-imports
for fixing up import tables post-linking to remove unused functions from the executable.
Documentation for the libraries are also provided, and can be found in the doc/ directory of the PSPSDK source and binary distributions.
A library for Make (build.mak
) is also included to provide an easy way to build
simple programs and libraries. See any PSPSDK sample program for details on how
build.mak
is used.
PSPSDK is distributed in both source and docker image. If you only want to use the PSPSDK tools and libraries to develop your software you'll want to pull the docker image distribution of PSPSDK using https://github.com/pspdev/pspsdk/pkgs/container/pspsdk. If you need fine-grained control over how PSPSDK is installed on your system, or if you would like to modify PSPSDK then grab the source distribution.
To use PSPSDK you must have the following software installed:
- The PSPDEV Toolchain. PSPSDK requires the GNU toolchain (GCC and binutils) targetted to the PSP. You can find binary packages of these tools at https://github.com/pspdev/. You can find a script to build and install the toolchain at https://github.com/pspdev/psptoolchain.
In addition to the above requirements, if you plan on building PSPSDK from source, you will need:
-
Make. Note: GNU Make may not be required, but if you run into problems building from source you may want to install it. You can find GNU Make at https://www.gnu.org/software/make/.
-
A Git client. Check https://git-scm.com/downloads how to install git according to your system.
-
GNU autotools. You will need a recent version of autoconf (https://www.gnu.org/software/autoconf/) and automake (https://sourceware.org/automake/).
The following packages are not required to build PSPSDK, but are used to build documentation and other optional resources:
- Doxygen. You can find Doxygen at https://doxygen.nl/. If you want to view the pretty source dependency graphs, then you will also need to install Graphviz (https://www.graphviz.org/).
PSPSDK can be found in the Git repository located at https://github.com/pspdev/pspsdk. you can do the following command to download PSPSDK:
git clone https://github.com/pspdev/pspsdk.git
Once you've downloaded PSPSDK, run the following command from the pspsdk directory to create the configure script and support files (you must have autoconf and automake installed):