Skip to content

PS2BUILD

Homebrew SDK

Build system and SDK for PlayStation 2 homebrew

PS2BUILD

Install ​

powershell
irm https://ps2build.dev/install.ps1 | iex
shell
curl -sSfL https://ps2build.dev/install.sh | sh
01

Cross platform

Runs natively on Windows, Linux and macOS.

Windows
Linux
macOS
02

Self contained

Installs into its own directory and runs natively on your OS.

  • No Docker
  • No manual environment setup
  • Toolchain and packages installed and updated by ps2build
03

Simple build definitions

ps2sdk Makefile
EE_BIN = my-game.elf
EE_OBJS = main.o
EE_INCS += -I$(PS2SDK)/ports/include
EE_LDFLAGS += -L$(PS2SDK)/ports/lib
EE_LIBS += -lpng -lz -lfreetype -lgskit -ldmakit

all: $(EE_BIN)

clean:
	rm -f $(EE_BIN) $(EE_OBJS)

include $(PS2SDK)/samples/Makefile.pref
include $(PS2SDK)/samples/Makefile.eeglobal
ps2.yaml
project: my-game

targets:
  - name: my-game
    type: ee
    sources: [main.c]
    libs: [png, freetype, gskit, dmakit]
04

Editor support

compile_commands.json is built in. Works in most editors.

CLion
VSCodium
Neovim
Vim
Emacs
Sublime Text
Zed