Skip to content
xfangfang edited this page Feb 19, 2025 · 1 revision

Building the demo for PS4

You need install pacbrew-packages(SDL2 provided by pacbrew-packages supports OpenGL ES2)

source /opt/pacbrew/ps4/openorbis/ps4vars.sh
openorbis-cmake -B build_ps4 -DPLATFORM_PS4=ON
make -C build_ps4 -j$(nproc)

Using Docker image to build

There is a docker image for building ps4 homebrew: xfangfang/pacbrew:231021

docker run --rm -v $(pwd):/src/ xfangfang/pacbrew:231021 "openorbis-cmake -B build_ps4 -DPLATFORM_PS4=ON && make -C build_ps4 -j$(nproc)"

Sending pkg to ps4

make -j$(nproc) && curl --ftp-method nocwd -T *.pkg ftp://<your_ps4_ip>:2121/data/pkg/

Enable klog TTY Redirect in GoldHEN, then connect to ps4 klog

nc <your_ps4_ip> 3232
Clone this wiki locally