This guide will help you get started with setting up your development environment on Linux and creating your first game for the VGC Zero console.
Prerequisites #
Some experience writing/compiling C/C++ software is required.
You’ll need to install:
- Git
- CMake (at least 3.9)
- Make (or another build tool like Ninja)
- Python (at least 3.6) + pip
- The 32blit tools
- GCC
- SDL2 + SDL2_image + SDL2_net
U can install all of these on Ubuntu/Debian with:
sudo apt install git gcc g++ gcc-arm-none-eabi cmake make \
python3 python3-pip python3-setuptools \
libsdl2-dev libsdl2-image-dev libsdl2-net-dev unzipThen install the 32blit tools:
pip install 32blitBuilding and running locally #
-
Clone the SDK repository
git clone https://github.com/chili-chip/32blit-sdk -
Create a new game project using our game template

Use this template button Or you can clone one of our sample games, like chili tetris.
git clone https://github.com/chili-chip/chili-tetrisYour directory structure should look like this:
project_root/ ├── 32blit-sdk/ └── your-project/ -
Build the game
cd your-project mkdir build cd build cmake .. make -
Run the game locally
./gameThis will launch the game in a window on your desktop using SDL2. Now you can test and develop your game locally before deploying it to the VGC Zero hardware.
Building for VGC Zero #
-
Get necessary tools
- pico-sdk
- pico-extras
Clone the pico-sdk and pico-extras repositories:
git clone https://github.com/raspberrypi/pico-sdk git clone https://github.com/raspberrypi/pico-extrasYour directory structure should look like this:
project_root/ ├── 32blit-sdk/ ├── pico-sdk/ ├── pico-extras/ └── your-project/ -
Create a build directory
cd your-project mkdir build.vgc cd build.vgc -
Configure the build for VGC Zero
Run
cmakewith the board and platform specified:cmake .. \ -D32BLIT_DIR=../../32blit-sdk \ -DPICO_SDK_PATH=../../pico-sdk \ -DPICO_BOARD=chilichip_vgc \ -DPICO_PLATFORM=rp2350-arm-s \ -DCMAKE_TOOLCHAIN_FILE=../../32blit-sdk/pico2.toolchain
Adjust paths if your SDKs are located elsewhere relative to your project directory.
-
Build the game for VGC Zero
makeThis will produce a
.uf2file in thebuild.vgcdirectory.
Flashing to VGC Zero #
- Connect your VGC Zero to your computer via USB.
- Put the VGC Zero into bootloader mode by holding down the BOOT button while plugging it in.
- Your computer should recognize the VGC Zero as a removable drive named
RP2350. - Copy the generated
.uf2file from thebuild.vgcdirectory to theRP2350drive. - The console will reboot and run your game.
Troubleshooting #
If pip installs to a directory not on PATH:
export PATH=$PATH:~/.local/bin