Repository navigation
v0.2.6: the right GPU at every start, a gyro that stays level, HDR only when Windows has it on
Don't forget to follow me on X for news about the next releases: https://x.com/Lyriiiie
Join the Discord for help, bug reports and release announcements: https://discord.gg/6XtgJrQ3RR
SPR Recomp: a static recompilation of Splatoon Raiders (Switch 2) to a native Windows and Linux executable with a Vulkan renderer. It is an experimental fork of DKB Recomp (itself built on TotK Recomp).
New in 0.2.6
Each entry says whether it is tested or experimental. Experimental means that the code is in, but the maintainer has no hardware or setup to confirm it: please report whether it works for you.
- The GPU picked in the F1 menu is kept at the next start - tested on a single-GPU PC. Windows does not always list the GPUs in the same order, so the saved number could point at the other card, and some players had to restart several times to get theirs. The menu now saves the GPU's name (
gpu_namein the[display]section of the settings file); a GPU that is no longer there falls back to the automatic choice instead of stopping. - The gyro no longer drifts upwards over time - tested with synthetic sensor data. A controller's gyro reads a small turn even when it lies still, and that error added up until the camera could not be brought back level. Like the Switch, the game now learns that error while the controller rests (about a second on a table) and removes it.
- The game starts when its install folder was moved (issue #53) - experimental. The game looked for its RomFS only at the path recorded when it was built; a
romfsfolder next tospr-recomp.exeis now used when that path is gone, and the error names the folder it looked for. - HDR is used only when Windows' "Use HDR" is on (issue #57) - experimental. NVIDIA's driver let the game switch the display to HDR by itself on Windows 10, which made borderless behave like exclusive full screen and left the desktop's colours wrong after closing. With "Use HDR" off the game now stays in SDR.
- Draws that read their own picture keep working past eight of them in a frame - experimental: the copies of those pictures are reused instead of running out.
- The frame dump (
TOTK_DUMP) shows which images share the same memory, to find the cause of the AMD white flashes and streaks (see below).
Not fixed yet: the white flashes and streaks on AMD (issues #14, #29, #49), the AMD crashes (issues #28, #55, #56), the Switch 2 Pro Controller over Bluetooth (issue #45) and the flickering foliage on Intel Arc (issue #37).
AMD owners: how to report the white flashes, streaks and crashes
The maintainer has no AMD GPU, so your reports are the only way to fix these. A report with only a screenshot or "same here" cannot be used. Please put all of this in one comment on issue #49 (graphics) or open a new issue (crash):
-
Your hardware: GPU model, driver version (Adrenalin on Windows, Mesa on Linux), Windows version or Linux distribution, and the SPR Recomp version. Update the driver first if it is older than a few months.
-
A log made with the AMD options. Start the game from the install folder (with RecompLauncher: the
gamefolder inside the launcher's install folder):- Windows (Command Prompt):
set TOTK_CRUMB_BIND=1thenset TOTK_TRACE=perfthenspr-recomp.exe --boot - Windows (PowerShell):
$env:TOTK_CRUMB_BIND="1"; $env:TOTK_TRACE="perf"; .\spr-recomp.exe --boot - Linux:
TOTK_CRUMB_BIND=1 TOTK_TRACE=perf ./spr-recomp --boot
Play until the glitch or the crash, close the game, and attach
logs/dkb.log(drag the file into the comment; do not paste it). - Windows (Command Prompt):
-
A screenshot of the glitch, and where it shows (title, hub, which zone).
-
Which of these change the glitch. Start the game the same way, adding one of these at a time, and say for each whether the glitch is the same, gone, or different (a screenshot if different):
TOTK_NAN_GUARD=mark(the broken pixels turn magenta if they come from invalid numbers: a screenshot of that is very useful)TOTK_FMZ=allTOTK_FEEDBACK_SNAP=0TOTK_VEC_INDEX_FIX=0TOTK_DEMOTE=0
For example in PowerShell:
$env:TOTK_NAN_GUARD="mark"; .\spr-recomp.exe --boot. Close the window or the terminal between two tries so a setting does not stay on. -
If you can, a frame dump of a frame with the glitch on screen. The game counts about 60 frames a second from its start, so for a glitch that shows 2 minutes after starting use
TOTK_DUMP=7200(Command Prompt:set TOTK_DUMP=7200; PowerShell:$env:TOTK_DUMP="7200"). The game writes adumpfolder next tospr-recomp.exewhen it reaches that frame (it pauses a moment). Zip the wholedumpfolder and attach it, or a link to it if it is too big for GitHub.
Never attach game files, keys, your dump or anything from the setup's build folder: the log, screenshots and the dump folder are all that is needed.
Everything from 0.2.5 (the log written when RecompLauncher starts the game) is in this release too.
Downloads
| File | System | How to start |
|---|---|---|
SPR-Setup-<version>-windows.zip |
Windows 10 or 11, x86-64 | Unpack into an empty folder and run SPR-Setup.exe. |
SPR-Setup-<version>-x86_64.AppImage |
Linux and SteamOS, x86-64, glibc 2.34 or later | chmod +x SPR-Setup-*.AppImage, then ./SPR-Setup-*.AppImage. When the setup is done, start the game from the install folder with ./spr-recomp --boot. Experimental: new in 0.2.0. |
Both hold the same setup, which builds the game on your machine; neither holds game data.
A release would hold no game data. You build the game on your own PC from your own dump, given as a .nup file or as an ExeFS folder and a complete RomFS folder.
Game versions: update 65536 is the only tested version. The base game (1.0.0) and other updates are accepted, but their support is experimental: nothing says they build, start or play correctly, and the setup warns when it sees one. Please check a problem on update 65536 before reporting it.
State
- The title, the opening cutscene, the character creator, the hub and the first gameplay zone render and play at about 60 fps on an RTX 3050, with the player's body drawn.
- The game's neural-network upscaler is stood in for by FSR 1 EASU.
- Resolution (F1 menu, Graphics, after restart): 1080p, 1440p or 4K docked; handheld renders 1280x720 at 1080p and 1920x1080 above. The higher modes are the game's own and have not been played through whole missions yet.
- The settings that act on Bananza patch sets (render scale, ultrawide, real-time frame timing) are hidden in the Raiders menu: the build has no patch sets.
Requirements
- A GPU with Vulkan 1.3 and a recent driver; tested on NVIDIA only. AMD support is experimental: no AMD GPU has been tested by the maintainer, every AMD fix so far is experimental, and reports from AMD owners, working or not, are welcome.
- An x86-64 CPU with AVX2; one with SSE4.2 only works too, more slowly (new in 0.2.4).
- 16 GB of RAM plus a large page file (the process commits about 11 GB), 32 GB is comfortable.
- About 6 GB free for the build, besides the dump, plus 13 GB for the RomFS when the install folder is on another disk than the dump.
On Linux the build needs the same RAM and disk space, and a Vulkan 1.3 driver (Mesa RADV or NVIDIA's). Linux 6.7 or later is faster (write watch).
Reporting a bug
Open an issue on https://github.com/Elie-0066/SPR-Recomp-Project/issues with the log, your GPU and driver, your system (Windows version, or Linux distribution and kernel), the SPR Recomp version and what you did before it failed. Never share generated files, keys, builds or game files.
The log is logs/dkb.log in the install folder, next to spr-recomp.exe (Windows) or spr-recomp (Linux); the four runs before it are dkb.1.log to dkb.4.log. With RecompLauncher, the install folder is the game folder inside the launcher's install folder. The setup's own log is in its work folder, shown at the end of the setup window.
A more detailed log. For a slowdown, stutter or low frame rate, start the game with the performance trace on. It adds a line every 60 frames with the frame time, what held the frame back and the GPU time:
- Windows (Command Prompt, in the install folder):
set TOTK_TRACE=perfthenspr-recomp.exe --boot - Windows (PowerShell, in the install folder):
$env:TOTK_TRACE="perf"; .\spr-recomp.exe --boot - Linux (terminal, in the install folder):
TOTK_TRACE=perf ./spr-recomp --boot
AMD: a log for a crash or a graphics glitch. Start the game with the GPU breadcrumbs, which name in the log the last shaders the GPU ran before a crash, together with the performance trace:
- Windows (Command Prompt, in the install folder):
set TOTK_CRUMB_BIND=1thenset TOTK_TRACE=perfthenspr-recomp.exe --boot - Windows (PowerShell, in the install folder):
$env:TOTK_CRUMB_BIND="1"; $env:TOTK_TRACE="perf"; .\spr-recomp.exe --boot - Linux (terminal, in the install folder):
TOTK_CRUMB_BIND=1 TOTK_TRACE=perf ./spr-recomp --boot
The game runs a little slower this way. Play until the crash or the glitch, then attach logs/dkb.log (and dkb.1.log if you started it again since) with a screenshot of the glitch, your GPU and driver version.
AMD owners can help test the recorder fence: the recorder thread (which records the GPU commands on a second thread, faster) is off by default on AMD because it crashed at launch in 0.1.8. Start the game the same way with TOTK_VK_RECORDER=1 instead of TOTK_TRACE=perf, and say in an issue whether it still crashes.
Play until the problem shows, close the game, then attach logs/dkb.log.
Full Changelog: v0.2.5...v0.2.6