Linux & macOS guide
Setup instructions for the Linux x86-64 (setup.sh) and macOS ARM64 Apple Silicon (setup.command) preview packages.
- Linux: kernel 6.7+ x86_64
- macOS: 14.4+ Apple Silicon
- Linux script: ./setup.sh
- macOS script: setup.command

Linux x86-64 preview package (setup.sh)
Each GitHub release ships DKB-Setup-0.3.0+a5796d9-linux-x86_64.tar.gz (3.0 MB, SHA-256 a040ae22418fea0b…). Unlike the Windows archive, the Linux package distributes the source tree and an automated setup.sh script that compiles a native binary on your machine:
- System requirements: Linux x86-64 with kernel 6.7 or later, Clang, Ninja, Python 3.12+,
uv, SDL3, and the .NET SDK (for the shader translator). Source builds are verified on both NVIDIA and AMD GPUs. - Check host packages: Unpack the tarball and run the dependency checker first:
tar -xzf DKB-Setup-0.3.0+a5796d9-linux-x86_64.tar.gz cd DKB-Setup-* ./setup.sh --check - Build from your dump: Point
setup.shat your 1.0.0 or 3.2.0.nupfile (or--exefsand--romfsdirectories) and choose an output directory without shell-special characters (#189):./setup.sh --nup "/path/to/Donkey Kong Bananza.nup" --dest ~/Games/DKB - Known Linux installer workaround (Issue #200): If
dkb_shadersfails on Python 3.12 venvs withModuleNotFoundError: No module named 'compression'orNo module named 'zstandard', installzstandardinto.venv(uv pip install --python .venv/bin/python zstandard) and ensuretools/xlatehas executable permissions (chmod +x). - RecompLauncher integration (PR #213): Upstream PR #213 adds
recomplauncher.json,play.shand--prepare --sourcesupport so Linux and macOS packages can be set up directly inside RecompLauncher.
Linux RADV & Wayland notes
- Under Mesa RADV, feedback loops automatically default to the pass-restart path (added in v0.2.0), and audio requests a 240-frame period by default.
- If you encounter a crash walking through the tunnel from the Lagoon Layer to the Hilltop Layer on Linux, track Issue #126 (spin-lock patches were added in v0.3.0).
- On Wayland 1440p displays with fractional scaling (e.g., 130% in KDE Plasma), menu and dialogue fonts rasterized via
nn::fontll::ScalableFontEngineat 48 px can appear soft next to the sharp 3D scene (Issue #214).
macOS ARM64 Apple Silicon preview (setup.command & Metal)
For Apple Silicon Macs running macOS 14.4 or later, download DKB-Setup-0.3.0+a5796d9-macos-arm64.zip (3.3 MB, SHA-256 0ed9dd53cf801b90…):
- Fixing the macOS build in v0.3.0: PR #178 resolved a duplicate
instance_ext_presentdefinition invk_device.cthat previously broke macOS compilation, and v0.2.0 hashed SPIR-V once per shader (#119) and skipped unchanged texture re-uploads (#120) for MoltenVK. - Current boot status: Running
setup.commandbuilds the game on Apple Silicon with MoltenVK and boots cleanly to the mode select screen (docs/building.md). Gameplay beyond mode select is not verified yet, and destructible terrain is missing because Metal lacks geometry shaders (requiring an upcoming vertex-stage replacement). - Native Metal backend preparation (#151, #179): In v0.3.0, PR #179 moved SPIR-V rewrites into
spirv_rewrite.c/gfx_spirv.c, moved constant-bufferc0fill intogfx_c0.c, and routed all host graphics calls through a unifiedGfxBackendinterface to prepare step 1 of the native Metal renderer.
Controllers for DKB Recomp
DKB Recomp recommends a gamepad on Windows, Linux and macOS via its SDL3 Horizon host, with dedicated Controller and Mouse & Keyboard settings tabs plus Bananza action descriptions. These controllers pair cleanly on PC:
| Controller | Best For in DKB Recomp | Hardware Advantage | Link |
|---|---|---|---|
| GameSir Cyclone 2 | Tunnel punching & 3D camera control | TMR sticks, Hall linear/microswitch triggers, 1000 Hz wireless dongle | View on Amazon |
| 8BitDo Ultimate 2 Wireless | Desktop Windows & Linux setup | Zero-drift TMR sticks, charging dock, Switch/XInput mode switch | View on Amazon |
| Sony DualSense | Low-latency USB & SDL3 prompts | Responsive face buttons, crisp D-pad, native SDL3 HID support | View on Amazon |
| Xbox Wireless Controller | Plug-and-play Windows 10/11 | Native Windows XInput & Linux xpadneo pairing with zero setup | View on Amazon |
As an Amazon Associate, this site earns from qualifying purchases.



Common questions
Is there a prebuilt Linux AppImage for DKB Recomp?
Not yet. Releases currently ship the source-based tar.gz package (setup.sh) because every user must compile the lifted C code from their own Donkey Kong Bananza dump anyway. An AppImage wrapper is requested in GitHub Issue #174.
Does the macOS package work on Intel Macs?
No. DKB-Setup-macos-arm64.zip targets Apple Silicon (ARM64) Macs on macOS 14.4 or newer.
Can I run DKB Recomp on Steam Deck or CachyOS?
Linux x86-64 distributions with kernel 6.7+ (such as CachyOS and Arch) are actively used by upstream contributors to run the test suite and benchmark 3.2.0 (#189, #198, #211, #213, #214), though AMD RADV GPUs still encounter experimental device-lost hangs on some cards (#122, #198, #204).