-
-
Notifications
You must be signed in to change notification settings - Fork 4
Install Firestaff
- Download the macOS package from GitHub releases.
- Open the downloaded archive or disk image.
- Move Firestaff to
Applicationsif desired. - Start Firestaff.
If macOS blocks the app, open System Settings > Privacy & Security and allow the app from there.
brew install cmake ninja sdl3- Download the Windows ZIP or installer from GitHub releases.
- Extract the ZIP or run the installer.
- Start
firestaff.exe.
Install vcpkg and then:
vcpkg install sdl3CMake and Ninja can be installed via the Visual Studio installer (select "C++ CMake tools for Windows") or via Scoop:
scoop install cmake ninjaWhen using vcpkg, pass the toolchain file to CMake:
cmake -S . -B build -DCMAKE_C_COMPILER=cl -DCMAKE_TOOLCHAIN_FILE=%VCPKG_ROOT%/scripts/buildsystems/vcpkg.cmake -G NinjaDownload the package matching your system:
-
.debfor Debian/Ubuntu-style systems. -
.rpmfor Fedora/RHEL-style systems. - Portable archive if available.
On Arch/Steam Deck, prefer the Steam Deck instructions unless an Arch package is explicitly provided.
sudo apt update
sudo apt install build-essential cmake ninja-build libsdl3-devsudo dnf install gcc cmake ninja-build SDL3-develsudo pacman -S base-devel cmake ninja sdl3Requirements:
- CMake 3.20+
- C compiler with C11 support (use system
cc, notgcc) - SDL3
- Ninja (preferred generator -- faster than Make for this project)
cmake -S . -B build -DCMAKE_C_COMPILER=cc -G Ninja
ninja -C buildThe project is pure C (no C++). Do not use gcc explicitly; the system cc
(Clang on macOS, GCC on most Linux distributions) is the expected compiler.
Ninja is the preferred generator and significantly faster than Make for this
codebase.
ctest --test-dir build -j4 --output-on-failureRun a subset with -R <pattern>:
ctest --test-dir build -R "viewport" -j4 --output-on-failureSome viewport and boot tests require original game data files and will fail or time out without them. See Game Data for setup.