Repository navigation
v0.2.4: a direct mouse camera, separate camera speeds, older CPUs, and three AMD fixes to try
Don't forget to follow me on X for news about the next releases: https://x.com/Lyriiiie
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.4
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.
-
Direct mouse camera (issue #47) - tested by its author on Windows with update 65536. The mouse now turns the player camera directly, up and down included, instead of acting as a right stick. F1 > Controls has the mouse sensitivity and a new Invert mouse Y row. The setup checks that the camera code of your game update is the one it knows; if not, it warns and keeps the old mouse behaviour. Simultaneous mouse and gyro, other game updates and Linux are not tested yet. Thanks to abriooo.
-
Separate horizontal and vertical camera speed (issue #50) - experimental: built and started on Windows, not yet tried with a controller in play. F1 > Controls has Camera horizontal sensitivity and Camera vertical sensitivity (10 to 300 %, 100 % is the game's own speed). They scale the right stick and the mouse camera, and apply at once. Thanks to dregomz for the request.
-
Processors without AVX2 (issue #51) - experimental. A CPU with SSE4.2 but no AVX2 (Intel before Haswell, older AMD) no longer stops the setup: it warns and builds the game for that CPU. The game gives the same results there, but runs slower. Checked with the lifter's tests built for such a CPU (no failure); not played on one. Thanks to Makein for the report.
-
AMD on Windows: three fixes for the horizontal streaks and washed-out sky and water (issues #14, #29, #49) - experimental, on by default on AMD. None of them has been tried on an AMD GPU yet, and the cause of the streaks is still not known, so they may not fix it: please report how it looks now.
- A draw that reads a picture it also writes reads a copy taken just before it, as on the Switch. This stopped thin flickering lines on AMD in XC2 Recomp.
TOTK_FEEDBACK_SNAP=0turns it off. - Shaders that read one number of a group of four at a computed position read the whole group, a known AMD Windows driver problem (from NX2navi and Ryujinx).
TOTK_VEC_INDEX_FIX=0turns it off. - A discarded pixel keeps running without output where the shader still needs it, as on the Switch (from TotK Recomp, where it fixed a light fringe on AMD).
TOTK_DEMOTE=0turns it off.
If the streaks are still there, please also try
TOTK_FEEDBACK=restart, set the same way as the variables in Reporting a bug, and say whether it changes anything. - A draw that reads a picture it also writes reads a copy taken just before it, as on the Switch. This stopped thin flickering lines on AMD in XC2 Recomp.
-
Faster frames after a level loads (issue #46) - experimental, measured by its reporters on Linux (RX 9060 XT, RADV): after a scene change, the game could keep copying 53 MB of GPU results back every frame, 35 instead of 55 fps. It now stops once that memory is no longer written. Thanks to the ForFans team (weluvjr) for the analysis.
-
Linux: RecompLauncher can install and start the AppImage - experimental. Thanks to Xarishark.
-
usnap_host = 1indkb.ini(orTOTK_USNAP_HOST=1) keeps a small per-frame copy in system memory instead of the GPU's, for GPUs without resizable BAR or behind Thunderbolt (an eGPU). Off by default, experimental: no gain has been measured on this game yet. Thanks to meas1-hue.
The first launch after the update translates the shaders again. It takes a few minutes, once; the loading screen shows it. The setup also recompiles the game, since the mouse camera changes the generated code.
Not fixed yet: the AMD crash in level 3 (issue #28), the Switch 2 Pro Controller over Bluetooth (issue #45) and the flickering foliage on Intel Arc (issue #37).
Everything from 0.2.3 (the fix for the AMD crash during combat, the loading screen at boot, faster draws) 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. 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.
What's Changed
- Add direct mouse camera controls for Splatoon Raiders by @abriooo in #36
- Let RecompLauncher set up and start the game on Linux by @Xarishark in #44
- TOTK_USNAP_HOST=1 puts the uniform snapshot arenas in host memory instead of the BAR by @meas1-hue in #48
New Contributors
- @abriooo made their first contribution in #36
- @Xarishark made their first contribution in #44
- @meas1-hue made their first contribution in #48
Full Changelog: v0.2.3...v0.2.4