Skip to content

PS2BUILD

SDK Homebrew

Sistema de compilación y SDK para homebrew de PlayStation 2

PS2BUILD

Instalación ​

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

Multiplataforma

Funciona de forma nativa en Windows, Linux y macOS.

Windows
Linux
macOS
02

Autónomo

Se instala en su propio directorio y funciona de forma nativa en tu sistema operativo.

  • Sin Docker
  • Sin configuración manual del entorno
  • Toolchain y paquetes instalados y actualizados por ps2build
03

Definiciones de build simples

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

Soporte de editores

compile_commands.json viene incluido. Funciona en la mayoría de editores.

CLion
VSCodium
Neovim
Vim
Emacs
Sublime Text
Zed