The project's README from github.com/adriadam10/mkw-recomp. As one markdown file: README.md.
Mario Kart World (Nintendo Switch 2) recompiled to run natively on Linux and Windows.
Releases · Help wiki · Discord · Changelog · Contributing · Architecture · Sources · Roadmap · Performance · Issues · Discussions · Archive
English · 简体中文 · Español · العربية · हिन्दी · Português (Brasil) · Português (Portugal) · Deutsch · Tiếng Việt
Mario Kart World (Switch 2, versions 1.0.0 and 1.8.0) turned into a native program for Linux and Windows. You need your own copy of the game, dumped from your own console: nothing of the game is in this repository or its releases.
It is a recompilation, not an emulator. The game's AArch64 code is translated to C ahead of time and compiled for your CPU (x86-64, or AArch64 on Linux); there is no CPU interpreter or JIT. The GPU is not emulated either: NVN2, the Switch 2 graphics API, runs on top of Vulkan, and the game's shaders are translated to SPIR-V ahead of time.
Early, and moving fast (12/11/2026):
The open work, in order (details: docs/project/roadmap.md):
Stuck? Search the wiki first: installation, settings, controls, known errors by their log line and a FAQ.


exefs/ and romfs/, decrypted; 1.8.0 with the update
merged into the base RomFS), or the same dump packed as one .nup or .nx file..AppImage on Linux
(-aarch64 on ARM; glibc 2.31 or newer: Debian 11, Ubuntu 20.04, SteamOS and later) or the .zip on Windows,
unpacked into a folder. About 30 GB free.chmod +x the AppImage first), open Game files, optionally Choose game folder (default on Linux:
~/.local/share/mkw-recomp, or the folder you unpacked the AppImage into with --appimage-extract), point it at your
dump and press Set up. The first setup takes a while: it compiles
the whole game and downloads NVIDIA's nvdisasm and ptxas (84 MB on Linux, 126 MB on Windows). Then Play.With RecompLauncher, use Easy Setup and select your decrypted
.nup, .nx or the folder containing exefs/ and romfs/. It builds the game in the game's recompdata folder in
your Recomp Library and uses the copy there to rebuild after updates. Allow about 30 GB free in that library.
RecompLauncher handles updates for this installation. The game, its settings and saves stay in that one folder whether
you use Easy Setup or set it up from the start screen, on Windows and on Linux (where the launcher unpacks the AppImage
into the library).
Requirements: x86-64 CPU with AVX2 (without it: the -windows-x64-noavx2.zip or -x86_64-noavx2.AppImage package, SSE4.2; or, on
Linux, AArch64 with ARMv8.2: LSE, FP16, RCpc, DotProd, CRC32), a GPU with
Vulkan 1.3 (VK_EXT_mesh_shader recommended), 16 GB of RAM recommended. In a Docker or Podman container on Linux,
allow userfaultfd in the seccomp profile (Docker's default refuses it), or it runs several times slower.
To add your machine to the performance list, open a performance report.
Beyond the console, all optional and off (or at the console's value) by default:
gamecontrollerdb.txt in the game folder.They only start after a command sent to their second USB interface, which Windows leaves without a usable driver. Once per controller, with Zadig:
057E and 2069 Pro Controller,
2066/2067 right/left Joy-Con, 2073 GameCube). Not Interface 0: replacing it hides the controller from other apps.The same applies to a virtual controller with those IDs (Switch2Connect's USB/IP mode). To undo it, uninstall that interface's device in Device Manager with "delete the driver" ticked.
The start screen's Mods page has two tabs:
.zip,
.rar or .7z with romfs/, exefs/ and/or plugin/ inside).Mods that replace game files (romfs/) apply at the next start. Mods that patch the game's code (exefs/ .ips or
.pchtxt, such as 200cc or 30 FPS) rebuild the game before you play (a few minutes). Two mods that change the same
file: the page asks which one wins. It also warns about mods that replace graphics settings or shaders.
A mod with a plugin/ folder carries a native plugin (.dll or .so) that runs its own program on your computer:
turn it on only if you trust its source. For modders, the API is one header,
runtime/plugin/mkw_plugin.h, explained in the wiki's
Writing a plugin; more in the wiki's
Mods page.
Mods are made by others and not tested here: one can crash the game or damage your save. Keep a copy of your save, report a mod's problems to its author, and when you report a bug here say which mods were on (the log lists them).
Linux, with uv, clang, lld, ninja, SDL3, Opus, libvpx, zstd, xxHash, the Vulkan headers and VMA 3.4.0 (details in
tools/build/README.md). Put your dump in game/ (game/exefs, game/romfs) or set
MKW_GAME=<dir>, then from the repo root:
uv run python recomp/gen.py --exefs game/exefs --jobs 8 # --out/--patches default to the dump's version (1.8.0: build/generated-180)
uv run tools/shaders/extract.py && uv run tools/shaders/translate.py
uv run tools/build/build.py # build/mkw; --target windows builds mkw.exe with llvm-mingw (windeps.py)
build/mkw
Shortcuts: make build, make appimage (make help lists them all). On Windows itself, from a packed dump, or on
AArch64: see tools/build/README.md. Translating the shaders needs the SM86 encoding
specification, generated from NVIDIA's nvdisasm (not shipped): tools/shaders/README.md.
Everything generated goes to build/, never to git.
| Folder | Contents |
|---|---|
| recomp/ | The generator: AArch64 → C |
| runtime/ | What plays the console: kernel, memory, SDK replacements, NVN2 over Vulkan, audio, input, menus, launcher |
| sm86/ | The shader translator: SM86 SASS → GLSL → SPIR-V |
| i18n/ | Menu, start screen and setup texts in every language (gettext .po) |
| tools/ | Analysis, setup, build, game runs, diagnostics |
| tests/ | Tests without the game or a GPU, run in the CI on Linux and Windows |
| docs/ | Research, sources, performance |
| third_party/ | Sources built into the Linux runtime: the FidelityFX SDK's FSR 3 upscaler |
.github/ |
CI, issue and pull request templates |
At the root: pyproject.toml and uv.lock (the tools' Python environment), .gitignore, .gitattributes
(merge=union for the lists every PR appends to), LICENSE, CONTRIBUTING.md, ARCHITECTURE.md (the whole process in one diagram), CHANGELOG.md, AGENTS.md (guide for
coding agents) and Makefile.
| Topic | Decision | Why |
|---|---|---|
| CPU | AArch64→C lifter based on totk-pc-recomp's (MIT), extended to ARMv8.1-8.3 (LSE atomics, CAS, LDAPR; PAC as identity, MTE tags as 0) | Same engine family, already scales to a large executable |
| System | The SDK's nn::* functions replaced by name, signatures from the mangled names of main's 1 289 imports |
No console services to emulate |
| Graphics | NVN2 over Vulkan: 529 of its 699 functions share their name with NVN1; 170 are new | Recompilation, not GPU emulation |
| Shaders | Our own SM86→SPIR-V translator, offline, with a decoder generated from the DocumentSASS / nvsass-disassembler specification | Covers mesh/task and what Maxwell lacks |
| Switch 2 extras | HDR automatic when the display is HDR (Settings > Screen > HDR); DLSS, ray tracing and touch off by default, their NVN2 functions exist but do nothing | Console hardware extras, not needed to play |
| Defaults | The console's look and resolution; lower settings are options | The player chooses |
Written with Claude (Anthropic's coding agent) doing most of the typing, under my direction, in about ten days of full-time work (489 commits from 30/10/2026), each reviewed, measured or tested before it went in.
MIT License. Code taken from other projects keeps its own license next to it (LICENSE.* files in
recomp/, runtime/, sm86/decode/ and
runtime/third_party/): totk-pc-recomp, nvsass-disassembler, Dear ImGui, bc7enc,
stb_image, AMD FidelityFX FSR 1, Roboto, Noto Sans Arabic and Noto Sans Devanagari. Every source, with its license and
what was taken (code from MIT projects only; from GPL projects, ideas only):
docs/project/research.md.
This product uses NVIDIA DLSS (Super Resolution and Frame Generation, NVIDIA DLSS SDK, © NVIDIA Corporation),
AMD FidelityFX Super Resolution 3.1 (© Advanced Micro Devices, MIT) and RenHDrum (MIT) for HD vibration. They
are not in the package: the settings download each one from its maker's release when you pick it. NVIDIA, NVIDIA RTX
and DLSS are trademarks of NVIDIA Corporation; this project is not sponsored or endorsed by NVIDIA or AMD. Their
notices and licenses are in the package's licenses/ folder
(tools/build/THIRD_PARTY_NOTICES.txt).
Mario Kart World is © Nintendo. This project is not affiliated with or endorsed by Nintendo, contains no game code or assets, and does not help to obtain them.
Mods belong to their authors and their own licenses. This project is not affiliated with GameBanana or any mod's author, does not host, review or distribute mods, and is not responsible for what a mod does: the start screen only shows GameBanana's public listing and downloads a mod from there when you ask.
See CONTRIBUTING.md. Bugs and performance reports go to Issues, questions to Discussions.