Fire Emblem 8U Quick Start
February 27, 2026 · View on GitHub
Get a working build of this decompilation with a single command using the bundled scripts/quickstart.sh helper. (If you prefer manual setup or run on another distro/package manager, see the README section below.)
Prerequisites
- A legally obtained copy of Fire Emblem: The Sacred Stones (USA). Place it at the repo root as
baserom.gba, or provide a path via--rom /path/to/rom.gbaorFIREEMBLEM8U_ROM=/path/to/rom.gbawhen running the script. - Ubuntu/WSL (apt), Arch Linux/pacman, or macOS/Homebrew with sudo/admin access. The script only auto-installs dependencies for these package managers; other environments can still run manually.
- ~2.5 GB of free disk space and up to 15 minutes for the first full build.
One-command setup
From the repo root, run:
./scripts/quickstart.sh [--rom /path/to/baserom.gba] [--refresh-agbcc]
What the script now does:
- Ensures
baserom.gbaexists. If missing, it copies from the provided--rompath (orFIREEMBLEM8U_ROM). - Detects your package manager (
apt,pacman, orbrew) and installs the prerequisites only when they’re not already available:- Toolchain (
arm-none-eabi-binutils/arm-none-eabi-gcc) pkg-config/pkgconflibpngpython3,pip3,numpy,pillow
- Toolchain (
- Checks whether
tools/agbcc/bin/agbccalready exists. If it does, the script reuses it; otherwise it clones and buildspret/agbccinside.deps/agbcc(ignored by git), installs it intotools/agbcc, and you can force a refresh any time with--refresh-agbcc. - Builds helper tools via
./build_tools.sh. - Runs
make -j$(nproc)to producefireemblem8.gba. - Verifies the ROM hash with
sha1sum -c checksum.sha1.
On success you’ll see:
fireemblem8.gba: OK
[✓] Build complete: /path/to/fireemblem8u/fireemblem8.gba
Troubleshooting
- Missing ROM – Provide
--rom /path/to/rom.gbaor setFIREEMBLEM8U_ROM=/path/to/rom.gbawhen running the script. - No sudo/root – apt/pacman installs require elevated privileges. If you run the script without sudo, it will skip the package install step and remind you to install the prerequisites manually before re-running. Homebrew installs keep working without sudo.
- Unsupported distro – Install the prerequisites manually (arm-none-eabi toolchain, pkg-config, libpng, python3, pip, numpy, pillow) then rerun the script; it’ll skip package installs once the tools are on your PATH.
- Already-installed toolchain – The script detects
arm-none-eabi-*binaries and skips reinstalling them. Existingtools/agbccinstalls are reused too; run./scripts/quickstart.sh --refresh-agbccif you need a fresh copy. - Slower rebuilds – Subsequent
makeruns are faster. For incremental work, runmake -j$(nproc)manually.
After the script finishes, launch your preferred emulator with fireemblem8.gba or start modifying the source.