Skip to content

Building Godot 3.5 for PlayStation Vita

Caroline Joy Bell edited this page Apr 15, 2024 · 5 revisions

These steps must be done under Linux / Windows Subsystem for Linux (WSL).

Dependencies

If you haven't done so already, install the dependencies called for by the official Godot docs

  1. Install VitaSDK

    # Clone and bootstrap
    git clone https://github.com/vitasdk/vdpm
    cd vdpm
    ./bootstrap-vitasdk.sh
    # Add to PATH (add this to ~/.bashrc for persistence after reboot)
    export VITASDK=/usr/local/vitasdk
    export PATH=$VITASDK/bin:$PATH # add vitasdk tool to $PATH
    # Finish install
    ./install-all.sh
    # Update
    vitasdk-update
  2. Install PVR-PSP2

    # Clone, build and install
    git clone https://github.com/isage/vita-packages-extra
    cd vita-packages-extra/pvr_psp2
    vita-makepkg
    vdpm *-arm.tar.xz

Getting the source code

  1. Clone the repo
    git clone https://github.com/Homebrodot/Godot
  2. Navigate to the cloned repo
    cd Godot
  3. Checkout the main/3.5 branch
    git checkout origin/main/3.5

Building

  1. Run scons platform=vita in the root of the repo. Add target=release to the end to build for release instead of debug.

Exporting for PS Vita or PS TV

The editor releases add a Vita exporter to the list - it will generate a homebrew VPK file that can be installed on your PlayStation Vita or PlayStation TV with VitaShell.