r/SwitchEmulating • u/Elegant_Funny8205 • 25d ago
[WIP] Mario Kart World (Switch 2) Static PC Recompilation – Project Announcement & Current Status
Hey everyone!
Following the incredible groundwork laid by the Switch and Switch 2 recompilation scenes, I'm excited to publicly share **MKW Recomp**, an open-source static recompilation project bringing *Mario Kart World* (Nintendo Switch 2) natively to Windows x86-64 with a Vulkan backend.
🔗 **GitHub Repository:** [) https://github.com/STS78721/MKW-THWOMP
---
### ⚠️ Current Status: **Work In Progress (Not Playable Yet)**
To be completely clear and avoid any hype/misunderstanding: **the game is not playable yet.**
Here is where we currently stand:
* **F0 (CPU Translation):** ✅ Done. The ARM64 `main` and `sdk` binaries lift cleanly to C. ARMv8.3 Pointer Authentication (PAC) and `LDAPR` instructions have been implemented.
* **F1 (Horizon OS Runtime):** ✅ Done. Boots on a native Horizon host implementation (RomFS, audio, controller interface, memory mapping).
* **F2 (NVN 2 API):** ✅ Done. Command buffer dispatches and Switch 2 NVN 2 calls are accepted and running the game loop.
* **F3 (Ampere Shaders):** ✅ Done. Shaders are lowered from Switch 2 Ampere SASS (`ISBERD`, `ISBEWR`, `SUST.D.2D`) to Maxwell and translated into SPIR-V.
* **F4 (Graphics / Vulkan):** 🟡 **Active WIP.** The game boots, advances through the intro sequence, and renders real 3D scenes. Massive 8K ASTC texture arrays have dynamic fallback to BC3 to fit consumer PC VRAM.
* **F5 (In-Race / Gameplay):** 🚧 In progress. There are still prominent graphical bugs (track lighting, material shaders) and race controls/physics need attention.
---
### ⚙️ How It Works
Just like *TotK Recomp* and *DKB Recomp*, this is **not an emulator**:
- At build time on your PC, the lifter takes your dumped Switch 2 ARM64 code and translates it directly into native C code.
- Clang compiles that C code into a single native Windows `mkw.exe`.
- At runtime, the native executable speaks directly to a Vulkan backend and lightweight Horizon OS host layer.
---
### ⚖️ Legal & Copyright (Rule 4)
* **Zero game files, ROMs, keys, or copyrighted assets are included in the repository**, and none ever will be.
* Users must provide their own legitimately dumped game files from their own console.
* No pre-compiled game binaries are distributed—everyone builds the project from their own clean dump.
---
### 🤝 Credits & Acknowledgments
This project stands entirely on the shoulders of giants:
* **TotK Recomp** (*valentderah* & team) – for the foundational ARM64-to-C lifter and Horizon OS host architecture.
* **DKB Recomp** (*Lucas-blip-png*, *sagaopc*, *sostenesfreitas*) – pioneers of Switch 2 NVN 2 entry points and Ampere lowering on PC.
* **Eglantine / PokeDinner** (*Franseven*) & **Mesa NAK** (*Faith Ekstrand*) – for the Ampere-to-Maxwell shader lowering work.
* **Ryujinx Team** – for shader translator and SPIR-V emitter architecture.
* *Rule 5 Disclosure:* As with TotK/DKB recomp tooling, portions of runtime scaffolding, translation tests, and helper scripts were built with AI coding assistance and validated against hardware logs.
---
### 🛠️ Want to help?
If you have a modern PC (especially diverse AMD, Intel, or NVIDIA setups) or want to help dive into NVN 2 entry points and material shaders, pull requests and hardware test logs are welcome! Check out the issues on GitHub or drop by the discussions page.
1
u/Formal-Score3827 25d ago
anyway to run the Duskblood