Skip to content

Building Godot 2.1 for Nintendo 3DS

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

These steps must be performed under Linux / Windows Subsystem for Linux (WSL), or macOS.

Dependencies

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

  1. Install devkitPro pacman or add DKP to your existing pacman configuration:
  2. Install the required packages from the terminal
    # On systems without pacman pre-installed (Such as Debian, Ubuntu):
    sudo dkp-pacman -S 3ds-dev 3ds-zlib 3ds-bzip2 3ds-libpng 3ds-freetype
    OR
    # On systems with pacman pre-installed (Such as Arch, Manjaro, MSYS2):
    sudo pacman -S 3ds-dev 3ds-zlib 3ds-bzip2 3ds-libpng 3ds-freetype

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/2.1 branch
    git checkout origin/main/2.1

Building

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

Exporting for Nintendo 3DS

TODO