DKB Recomp 0.5.5: a static recompilation of Donkey Kong Bananza (Switch 2) to a native Windows exe with a Vulkan renderer. It is still experimental (0.x). This release fixes the frame drops 0.5.3 brought while smashing things and the USB controllers that froze the game since 0.5.2, adds a field-of-view setting, cuts ghosting with the temporal upscalers (opt-in for now), makes Linux on AMD and Intel GPUs faster and lowers system memory use.
The packages hold no game data, and no release ever will. You build the game on your own PC from your own dump of 1.0.0 or the 3.2.0 update, given as a .nup or .nx file or as ExeFS and RomFS folders. Other updates are not supported.
What is new since 0.5.4
- Frame drops while smashing (#582, #588, thanks @wbkepler). 0.5.3 dropped to about 28 fps while destroying bushes and golden roots: the mirror pre-snapshot work grew with every destroyed piece. It is now batched, with the scanned ranges tracked.
- Field of view.
fov(F1 menu, display options, orfov = 120indkb.ini): 70 to 140 % of the game's own view, live, on 1.0.0 and 3.2.0 (D600). - Less ghosting with temporal upscalers, opt-in (#580, #584, thanks @roverdrubber).
reactive_mask = on(FSR 3.1) marks where something moves while the camera holds still (#594, follow-ups in #599).objmv = 2(DLSS, FSR 3.1, FSR 4) gives rigid meshes and terrain that move by themselves their own motion vectors (#598) and, with #604, skinned characters too; #614 and #625 keep their history paired with the right draw.- Both are off by default while they get tested; please report where they help or hurt. #603 keeps NaN and overflow out of the object vectors and skips their cost without a temporal upscaler.
- Sharper FSR 3.1, opt-in (#607, #620, #621, #630, thanks @roverdrubber).
fsr3_sharpness(0 to 100, live) runs RCAS on FSR 3.1's picture before the HUD, andlod_bias = amd(also in the F1 menu) uses AMD's mip bias for upscaling, one stop sharper thanauto.fsr3_shading_change(0 to 100) calms the speckle on fine bright edges (#630). - Handheld mode at small outputs. Below 1920x1080 the handheld frame now fits the output, so its HUD is no longer cut off or scaled from the corner (#622, #549, thanks @oshoubber).
- Setup takes separate
.nupfiles for the base game, the update and the DLC (#583, #545). - RenHDrum 0.7 (HD Rumble through a Switch 2 Pro Controller): setup downloads its DLL on Windows, and F1 > Controls has its row, off by default (#285; updated to v0.7.0 in #610, thanks @oshoubber).
- RecompLauncher: setup through the launcher passes the update and DLC as named inputs (#609, thanks @oshoubber); use RecompLauncher v0.90.0-beta.68 or newer, whose inactivity timeout no longer cuts a slow build off at five minutes.
.nxarchives in setup (#608, #611, #612, #626, thanks @oshoubber): setup opens them in preflight, installs an NX update's complete snapshot, and reinstalls DLC when its selected files change. Setup runs its data step once after this update. An NX archive whose update has no ExeFS now stops with an error instead of borrowing the base's.- Linux on AMD and Intel GPUs (#570, #591). The fence write-back of the shadow storage path copies only the bytes the GPU changed: about 20 MiB a frame were copied unchanged and then re-uploaded. Forced on Windows, a busy island went from 44 to 60 fps; the shadow's pending-write list is also rebuilt faster.
DKB_WB_SAME=0turns the compare off. - 4-thread CPUs. The frame-pacing wait no longer loses a Windows scheduler quantum when every core is busy (1% low 24-26 to 26-27 fps on 4 logical processors).
- Memory. About 0.5 GB less system memory on discrete GPUs: spare allocation blocks are kept ahead for VRAM only.
- Audio. Voices are resampled with the audio renderer's polyphase filters, which removes the high-frequency hiss (#576), and a voice's repeat region now ends where the game asks (#616, thanks @oshoubber).
- Stability.
- Frame generation stops a 2x pair after a failed present instead of presenting twice on one slot (#617).
- With
realtime = 1, the 120 fps ceiling now holds for the game's timestep too, and game time stays with the clock (#619, #411). - Batched write-backs read the right shadow pool when two pools share a page (#613, Linux shadow path).
- Virtual core 0 is released during sync write-backs.
- Frame generation recovers from a present timeout (#575, #589, thanks @wbkepler).
- USB controllers that froze the game since 0.5.2 (#627). SDL now uses libusb only when a Switch 2 controller or GameCube adapter is on USB at start (
pad_libusb = auto, also in F1 > Controls; #631, thanks @wbkepler). An 8BitDo Pro 2 in XInput mode hung at the shader screen with it. - Gyro. The resting bias is calibrated, with optional drift learning at rest (#585, thanks @Simpie). Steam Input's motion fix from TotK Recomp is credited.
- Intel. The pipeline cache autosave waits while builds run under the Intel cache gate (#587, #592, thanks @wbkepler).
- Installer. UTF-8 on the installer's console streams (#586, #590, thanks @wbkepler). Setup refuses a RomFS folder with fewer files than the game version has, which crashed the game at start (#632).
- A warning when the game is older than the setup. Play and
--play(the path RecompLauncher uses) tell the game the setup's version; a game built with another version says so on screen for 30 seconds and in the log. A setup run that stopped before its compile step used to leave the olddkb.exein place with no sign of it, so none of the new settings worked. - Faster start with a large shader cache. The start lists the shader cache folder once instead of checking each cached shader's file: on a slow drive, or with an antivirus scanning each file, 24,000 checks held one player's start for six minutes.
- Co-op: an idle player 1 controller hands over. With
coop = 1, a second gamepad that plays while player 1's has had no input yet takes player 1 over, so a pad lying idle on the PC no longer keeps a Sunshine/Moonlight or Steam Remote Play controller on Pauline. - Start-up hint (#633). For the first 15 seconds after start, a hint at the top left says "F1 or Minus + Plus: settings and Quit game"; opening the menu ends it, and
menu_hint = 0(F1 > Menu) turns it off.
Pull requests in 0.5.5
- @wbkepler: #588, #589, #590, #592, #631
- @roverdrubber: #594, #598, #599, #601, #603, #604, #605, #607, #620, #621, #629, #630
- @Simpie: #585
- @oshoubber: #608, #609, #610, #611, #612, #613, #614, #615, #616, #617, #618, #619, #622, #623, #624, #625, #626
Issues fixed or answered
#627 (8BitDo freeze, @hicSunt33), #633 (start-up hint for Quit game, @SegaSaturnFan), #632 (incomplete RomFS, @dos-ise), #591 (RADV drops, @dsrsouza), #582 (drops while smashing, @leonkyo2-png, @infinite99ks), #576 (audio hiss, @RevenantZed, with the dump that showed the tones), #583 and #545 (separate .nup files), #586, #587, #575, #593, D600 (field of view, @valkyrie743).
Thanks
oshoubber, roverdrubber, wbkepler and Simpie for the pull requests; everyone who sent logs, saves, dumps and recordings. Thank you.
Download
| Package | For | Status |
|---|---|---|
DKB-Launcher.exe
| Windows 10/11 x64 | The simplest way. Put it in a folder of its own and start it. It downloads the tools zip below, checks its SHA-256, builds the game from your dump and offers each later release with one click (docs/installer.md, "Launcher and updates"). |
DKB-Setup-<version>-windows.zip
| Windows 10/11 x64 | Supported. Carries its own tools and the installer window: unpack, run DKB-Setup.exe, pick your dump.
|
dkb-release.txt
| the launcher | The version, file names, sizes and SHA-256 the launcher checks. |
DKB-Setup-<version>-linux-x86_64.tar.gz
| Linux x86-64, kernel 6.7 or later | Preview. Source package with setup.sh. You install the system packages it lists (./setup.sh --check), then it runs the command-line installer.
|
DKB-Setup-<version>-x86_64.AppImage
| Linux x86-64 (SteamOS, any distribution with glibc 2.31 or later) | Preview. Self-contained: bundles Python, LLVM and a sysroot, so no system packages are needed. Make it executable and run it. |
DKB-Setup-<version>-macos-arm64.zip
| macOS 14.4 or later, Apple silicon | Preview. Same idea with setup.command. Play is not verified, and the destructible terrain is missing because Metal has no geometry stage.
|
Requirements (Windows)
- NVIDIA GPU with a recent driver (tested on an RTX 5060 Ti and an RTX 3070 Ti Laptop). AMD and Intel are experimental. On AMD's Windows driver the device loss most players hit is fixed (recorder thread off), but RADV on Linux can still hang (#99, #122, #198, #204). Intel Arc: #3.
- 16 GB of RAM plus a large page file (the process commits about 9 GB); 32 GB is comfortable. Cards with 4 GB of video memory should use
preset = 1or2(docs/requirements.md). - A controller is recommended. Switch 2 controllers on USB work without Steam (
pad_libusb, docs/controls.md).
Known issues
- GPU hangs under RADV on Linux (#99, #122, #198, #204), and a driver fault on Intel Arc (#3).
- Black shards where salt or acid meets slime (#139, #266, #387). The muck cases of #439 are fixed in 0.5.2 and 0.5.3; retest and tell us if you still see them.
- Crashes reported without a reproduction here: #126 (Lagoon to Hilltop tunnel, retest asked) and #148 (Linux, after the first boss).
- Hitches in the Resort and Tempest layers on 4 GB cards may remain in some scenes (#437; try
astc_bc = 1). - Another device loss on an RTX 5080 at B1000 (#336).
- On CPUs with 4 to 6 threads, heavy scenes stay around 40 to 45 fps. A first run with an empty pipeline cache still stalls about 3 s on its first heavy frame.
- Checkerboard textures (#5), #112 and unrecorded NVN 2 calls (#6).
Reporting a bug
Open an issue with the log (dkb.log), the build line at its top (dkb 0.5.5+<commit>), your GPU and driver, and what you did before it failed. Never share generated files, keys or screenshots that show game content. Questions and chat: the Discord server (#help, #bugs, and #brasil in Portuguese).
Support the project
Tips go to ko-fi.com/lucasblippng or GitHub Sponsors, once or monthly. A tip pays for time on the project; it buys no game files, builds or early access, and everything stays open source. The current goal is US$20 a month for the Claude Pro plan used to work on the project. Starring the repository and sharing it with people who know GPUs, ARM64 or the Switch helps too.
Roadmap: #10.
Full Changelog: v0.5.4...v0.5.5
What's Changed
- Calibrate the gyro's resting bias, ported from ToTK Recomp by @Simpie in #585
- Force UTF-8 on installer stdio and replace curly apostrophe in en.json (#586) by @wbkepler in #590
- Defer periodic pipeline cache autosave while builds are in flight under the Intel cache gate (#587) by @wbkepler in #592
- Add a reactive mask for FSR 3.1 where something moves while the camera holds still, off by default (reactive_mask) by @roverdrubber in #594
- Fix 0.5.3 heavy destruction frame drops by batching mirror pre-snapshot rawification (#582) by @wbkepler in #588
- Release virtual core 0 on sync write-backs and harden framegen present timeout recovery (#575) by @wbkepler in #589
- Compare the reactive mask with the FSR 3.1 evaluation just before, clamp bright colour, and free its unused images by @roverdrubber in #599
- Draw the rigid meshes and terrain that move by themselves into the upscalers' motion vectors, off by default (objmv) by @roverdrubber in #598
- Say which GPUs FSR 4 runs on with SDK v2.4.0, and what AMD's license lists for its libraries by @roverdrubber in #601
- Apply the review of #598: no NaN or overflow into the object vectors, and no store cost without a temporal upscaler by @roverdrubber in #603
- Let the reactive mask's release log say why its images go: FSR 3.1 not used, or no upscaler chosen by @roverdrubber in #605
- Draw the skinned characters that move into the upscalers' motion vectors too (objmv) by @roverdrubber in #604
- Add fsr3_sharpness (RCAS on FSR 3.1's picture) and lod_bias = amd (AMD's mip bias), both off by default by @roverdrubber in #607
- Open NX archives during installer preflight by @oshoubber in #608
- Update the optional RenHDrum bridge and installer to v0.7.0 by @oshoubber in #610
- Refresh installed DLC when its selected files change by @oshoubber in #611
- Use the complete NX update snapshot when packing game files by @oshoubber in #612
- Use exact guest pool ranges for batched Vulkan writeback by @oshoubber in #613
- Keep skinned motion history paired with the correct draw by @oshoubber in #614
- Use the remaining thumbnails when viewing trimmed flight captures by @oshoubber in #615
- Honor the end of an audio wave buffer’s repeat region by @oshoubber in #616
- Apply the follow-ups from #607's review: RCAS's passes go with the device, and FSR 3.1 runs on without its RCAS image by @roverdrubber in #620
- Offer amd in the menu's texture detail row, with its label and description in English, Russian and Chinese by @roverdrubber in #621
- Stop a 2× frame-generation pair after a failed present by @oshoubber in #617
- Reuse the completed merge of pending GPU writes by @oshoubber in #618
- Enforce Bananza’s realtime ceiling on the game timestep by @oshoubber in #619
- Fit Bananza’s handheld frame inside its output texture by @oshoubber in #622
- Let RecompLauncher pass separate Bananza update and DLC files by @oshoubber in #609
- Document which controllers the RenHDrum bridge takes over by @oshoubber in #623
- Use one isolation check for guest GPU memory pools by @oshoubber in #624
- Clear motion state when a draw returns its previous pose by @oshoubber in #625
- Check zstd support when selected DLC needs it by @oshoubber in #626
- Say in fsr_rcas.comp that RCAS reads outside the image along all four edges, as #620's review pointed out by @roverdrubber in #629
- Add fsr3_shading_change: FSR 3.1's shading-change scale in percent, AMD's value by default by @roverdrubber in #630
- Gate SDL's HIDAPI libusb backend on Windows to USB Switch 2 / GameCube devices (#627) by @wbkepler in #631
New Contributors
Full Changelog: v0.5.4...v0.5.5