Installing ScummVM on the Raspberry Pi

How to get ScummVM onto a Raspberry Pi. There are two different jobs here:

Checked 2026-11-05. The current stable ScummVM is 2026.4.0. Package versions below come from Flathub, the Snap Store and Debian on that date, and will drift. The scummvm.org pages listed under Sources are the reference.


Choose an installation method

You want to… Use Notes
Develop or test the TerraGlyph engine Developer build Recommended for this project. On the reference platform
Play games upstream ScummVM supports Flatpak The current upstream release (2026.4.0), the closest any package gets. 64-bit OS only
Install quickly and an older version is fine apt 2.9.0 on Trixie, 2.7.0 on Bookworm. Both trail 2026.4.0
Run a recent release on a 32-bit OS Snap 2026.2.0, arm64 and armhf
Build for a Pi too slow to compile on Cross-compile (legacy) 32-bit only, Buster-era toolchain

Packages install upstream ScummVM, and none of them will ever include the TerraGlyph engine before it’s merged upstream. To run our engine, you need the developer build.

scummvm.org’s own Pi binaries stopped at 2.7.0 (AppImages for Pi 3, 4 and 400, 2023). They’re listed under “Older versions (unsupported)” on the downloads page.

Check your OS first

uname -m                 # aarch64 = 64-bit, armv7l = 32-bit
. /etc/os-release && echo "$VERSION_CODENAME"   # bookworm, trixie, ...

Flatpak only ships an aarch64 build. ScummVM itself also compiles on a 32-bit OS, but this project tests the TerraGlyph engine on 64-bit Raspberry Pi OS only (see the reference platform). If the Pi prints armv7l, reinstall it with 64-bit Raspberry Pi OS, or use the Snap for a user install.

A fresh install today is Trixie (Debian 13). Raspberry Pi Imager’s current “Raspberry Pi OS (64-bit)” image is Trixie (2026-10-06), and Bookworm is the “Raspberry Pi OS (Legacy)” image. Everything on this page works on both. Use Trixie for the reference platform.

Reference platform: Raspberry Pi 5

When this project says something “works on the Pi,” it means this setup:

Part Reference
Board Raspberry Pi 5
OS 64-bit Raspberry Pi OS (aarch64), current release (Trixie)
ScummVM The developer build of barefootbetters/scummvm
Display HDMI to a TV
Input One USB or Bluetooth game controller, plus a keyboard and mouse for setup

A Pi 4 should also work, but nothing is promised for it. If a build passes on a Pi 4 or on a desktop but fails on the Pi 5, treat it as a Pi bug. Run the smoke test on the reference platform before calling Pi support done.

Herbs vs. Ailments’ Pi test box is the same kind of box: a Pi 5 on a TV, running its web client in Chromium. Its hardware list (the 8 GB board, the official 27 W supply, an active cooler) works for this build too. Its optional ScummVM step points back here.


Developer build: our fork from source

Build natively on the Pi. A Pi 5 is fast enough, and a native build uses the OS’s own compiler and libraries, so you skip the sysroot setup that cross-compiling needs.

1. Install the build tools and libraries

This is the ScummVM wiki’s library list plus the build basics. Each library turns on a feature or engine, such as FLAC, MP3, Theora video, FluidSynth MIDI, text-to-speech or cloud saves. configure skips any library it can’t find.

sudo apt update
sudo apt install -y --no-install-recommends \
    build-essential git pkg-config \
    libsdl2-dev libsdl2-net-dev \
    liba52-0.7.4-dev libjpeg62-turbo-dev libmpeg2-4-dev \
    libogg-dev libvorbis-dev libflac-dev libmad0-dev \
    libpng-dev libtheora-dev libfaad-dev libfluidsynth-dev \
    libfreetype6-dev libcurl4-openssl-dev libspeechd-dev \
    zlib1g-dev libfribidi-dev libglew-dev

If apt can’t find a package on a newer OS release, drop it and rerun. The build still works without that feature.

2. Get the source

git clone https://github.com/barefootbetters/scummvm.git
cd scummvm

3. Configure

mkdir -p "$HOME/scummvm-dist"
./configure --enable-engine=terraglyph --disable-debug --enable-release \
    --prefix="$HOME/scummvm-dist"

The integration contract has the TerraGlyph engine’s configure.engine declare it disabled by default until its first stable release. That means you have to pass --enable-engine=terraglyph. Until engines/terraglyph/ is in the fork (Phase 2), leave that flag off.

For debugging on the Pi, drop --disable-debug --enable-release to keep debug symbols.

Don’t pass --host=raspberrypi on a native build. In ScummVM’s configure, that host is the cross-compile target. It assumes the 32-bit arm-linux-gnueabihf toolchain and a copied Pi sysroot in $RPI_ROOT. A plain ./configure detects the Pi’s own compiler and SDL2.

Low memory (optional): a Pi 5 rarely needs this. On a Pi with less RAM, the final link can run out of memory. If you use GNU ld, run this before ./configure to make the linker use less memory:

export LDFLAGS="-Wl,--no-keep-memory"

4. Build and install

make clean
make -j"$(nproc)"
make install

If the build gets killed partway (out of memory), rerun with make -j2. make install copies the binary and its data files (themes, translations, engine data) into ~/scummvm-dist.

5. Verify the TerraGlyph engine is in the build

Launching ScummVM doesn’t prove the engine was compiled in. Check it:

~/scummvm-dist/bin/scummvm --version
~/scummvm-dist/bin/scummvm --list-engines | grep -i terraglyph

The second command should print the terraglyph engine line. If it prints nothing, the engine wasn’t built. Rerun ./configure with --enable-engine=terraglyph and check that configure’s engine summary lists it.

Then point detection at a game’s data folder:

~/scummvm-dist/bin/scummvm --path=/path/to/showdown --detect

It should list the game with its Scooby game id. If it doesn’t, either the path is wrong or the engine’s detection tables don’t cover that disc yet.

Finally, start it from the build:

~/scummvm-dist/bin/scummvm

6. Optional: text-to-speech

ScummVM’s text-to-speech uses speech-dispatcher. Install it with a voice engine, for example eSpeak NG:

sudo apt install -y --no-install-recommends speech-dispatcher speech-dispatcher-espeak-ng

User install: packaged ScummVM

All three of these install upstream ScummVM, which doesn’t include the TerraGlyph engine.

Flathub’s build is the current release and has an aarch64 build. It has no 32-bit ARM build.

sudo apt update
sudo apt install -y flatpak
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
sudo reboot

After the reboot:

flatpak install -y flathub org.scummvm.ScummVM
flatpak run org.scummvm.ScummVM

Command-line arguments go after the run command, for example flatpak run org.scummvm.ScummVM --list-games.

Flatpak apps run in a sandbox. ScummVM’s docs say to copy games into ~/Documents so the app can see them. The current Flathub manifest grants home directory access, so any folder under /home/<you> should work. Keep games there, not on other mounts, unless you add permissions with flatpak override.

apt (simplest)

This installs Debian’s version, which lags upstream: 2.7.0 on Bookworm, 2.9.0 on Trixie.

sudo apt update
sudo apt install -y scummvm
scummvm

On the desktop it’s also under Menu > Games > ScummVM.

Snap (32-bit OS)

The Snap Store has 2026.2.0 for both arm64 and armhf, which makes it the newest build for a 32-bit OS. It comes with a few freeware games and demos.

sudo apt update
sudo apt install -y snapd
sudo reboot

After the reboot:

sudo snap install scummvm
scummvm

Game controllers

ScummVM uses SDL2’s game controller support. A pad that Linux exposes and SDL2 knows the layout of (Xbox, PlayStation and Switch Pro pads all are) usually works with no button mapping on the stock kernel. Get Linux to see the controller first, then tune it in ScummVM.

Xbox controllers: Herbs vs. Ailments’ guide, Connecting Xbox controllers to the Raspberry Pi, covers the Xbox-specific parts this page skips: which pad connects which way, updating firmware first, the pair button, the optional xpadneo driver, and troubleshooting. Its pairing and jstest steps are the same as the ones below. Skip its Chromium check (step 5), because ScummVM reads pads through SDL2, not the browser.

Connect the controller

USB: plug it in. It needs no pairing.

Bluetooth: use the Bluetooth icon in the desktop’s top bar, or pair from a terminal. Put the controller in pairing mode, then run:

bluetoothctl
# inside bluetoothctl:
power on
agent on
default-agent
scan on            # wait for the controller's MAC address to appear
pair XX:XX:XX:XX:XX:XX
trust XX:XX:XX:XX:XX:XX
connect XX:XX:XX:XX:XX:XX
scan off
quit

trust lets the controller reconnect on its own after a reboot.

Check that Linux sees it

ls /dev/input/by-id/ | grep -i joystick
sudo apt install -y joystick evtest
jstest /dev/input/js0      # move sticks and press buttons; values should change

Each connected pad shows up as its own js device (js0, js1, …). If one is missing, Linux hasn’t recognised it, so fix that before you touch ScummVM. Use evtest to see the raw button and axis events. For a pad that connects but sends no input, or one that keeps dropping, the HvA guide’s If it doesn’t work table has the fixes (the uhid module, re-pairing, xpadneo).

Set it up in ScummVM

Multiple controllers and Scooby

Point-and-click games use one cursor. A pad drives the virtual mouse, and the other pads stay idle.

The TerraGlyph engine follows that. The original games are single-player point-and-click adventures, and the engine aims for faithful playback, not “improving” the games (see the vision’s non-goals). So connecting several pads gives you one active pad, not several players. Multi-player controller input isn’t part of this engine’s scope.

Herbs vs. Ailments is the multi-pad case on the same kind of Pi: it’s four-player co-op and reads every pad through Chromium. Its guide covers pairing up to four (step 7) and why several Bluetooth pads on the Pi’s own radio can drop. Its smart TV note’s Controllers on a Pi covers which pads work and the browser’s Gamepad rules. None of that applies to ScummVM.


Running games

  1. Start ScummVM. Click Add Game… and choose the folder that holds a game’s data files.
  2. ScummVM detects the game and opens its options. Click OK to add it to the launcher.
  3. To add a whole folder of games at once, use Mass Add (hold Shift and click Add Game…).

Settings are in ~/.config/scummvm/scummvm.ini for the developer and apt builds. The Flatpak keeps its own copy inside ~/.var/app/org.scummvm.ScummVM/.

Audio

The ScummVM wiki warns that installing PulseAudio can cause bad sound, but that was written for Raspbian Buster. Bookworm and later use PipeWire by default. If sound is wrong on a current OS, check the output device (HDMI or headphones) in the desktop’s volume menu before changing anything in ScummVM. FluidSynth and MT-32 emulation are the most CPU-heavy audio options, so switch to AdLib or a different MIDI device if audio stutters.


Raspberry Pi smoke test

Run this on the reference platform after a fresh developer build. Each check passes or fails. Pi support is done only when every check passes.

# Check Pass when
1 uname -m Prints aarch64
2 ~/scummvm-dist/bin/scummvm --list-engines \| grep -i terraglyph Prints the terraglyph engine line
3 ~/scummvm-dist/bin/scummvm --path=<Showdown data folder> --detect Lists Showdown in Ghost Town with its Scooby game id
4 Add the game in the launcher and start it It reaches the title screen, full screen on the TV
5 Play past the intro Video and audio play over HDMI, in sync, without stutter
6 Use only the game controller (pairing an Xbox pad) It moves the cursor, clicks, and opens the ScummVM main menu
7 Save from the main menu, quit, relaunch, load The game resumes where it was saved

Checks 2 to 7 can’t pass until the engine is in the fork (Phase 2) and can load and play Showdown (Phases 3 and 4). Until then, record which checks ran and which were skipped. When a canonical test disc image is chosen, put its expected --detect output in check 3.


Cross-compiling (legacy)

The ScummVM wiki’s PC cross-compile route builds a 32-bit binary against a copy of the Pi’s libraries. It’s only worth doing for a Pi too slow to build on. It’s on its own page: Cross-Compiling ScummVM for the Raspberry Pi (Legacy).


Sources