QuickGame is an API written in C that promotes the rapid development of games for the PSP without extensive knowledge of the PSP hardware and APIs. To set up, you will need a git repository, CMake and the PSP Toolchain installed.

To add to your project, first navigate to the directory in which your git repository is stored. Next:

git submodule add https://github.com/IridescentRose/QuickGame
git submodule update --init --recursive

This will clone QuickGame into your project and recursively initalize it. You're now good to move onto the CMakeLists.txt

To add to an existing CMakeLists (for example from the CMake Tutorial), you'll only need 3 lines of code.

add_subdirectory(./QuickGame/ QuickGame)
target_link_libraries(project_name PUBLIC QuickGame)
target_include_directories(project_name PUBLIC QuickGame/include)

With that, you should be good to go!

#include <QuickGame.h>
int main(int argc, char** argv){
    if(QuickGame_Init() < 0)
        return 1;
    return 0;

This basic sample should result in a blank screen drawing in an infinite loop until you exit manually. It initializes the API, sets our mode to 2D mode, runs a loop to start a frame, clear, and end the frame, and then terminate.

  • tutorial/qgsetup.txt
  • Last modified: 2022/09/29 15:59
  • by iridescence