New Super Mario Bros. Wii Gets a Native Linux Port via WiiCompiled
A native Linux port of New Super Mario Bros. Wii using the WiiCompiled static recompilation toolchain with Rev 1 and Rev 2 support.
A new fork of the NSMB-Wii-Native-Port repository brings a native Linux build of New Super Mario Bros. Wii, a platformer for the Nintendo Wii, using the WiiCompiled static recompilation toolchain.
This release adds support for both Revision 1 and Revision 2 of the USA game dump. It detects the revision automatically and uses a pre-linked REL layout for Rev 2’s shifted heap addresses. Extracted discs have no physical BCA track, so the BCA anti-piracy check is handled by High-Level Emulation (HLE) and returns success.
Rendering uses a Vulkan renderer powered by Aurora and Dawn, and audio uses native AX and DSP voice mixing. The build needs clang, lld, cmake, and the .NET 8 SDK; the project was tested on Fedora 44. MangoHud works with the binary: launch it with mangohud ./WiiCompiled to see an FPS and GPU overlay. The repository ships no game files, so you need your own legal USA dump.
How to Build and Run
- Clone the repository and install dependencies:
git clone https://github.com/fakerdoeslinux/NSMB-Wii-Native-Port.git
cd NSMB-Wii-Native-Port
sudo dnf install -y clang lld alsa-lib-devel cmake ninja llvm dotnet-sdk-8.0
- Extract your legal SMNE01 game dump using Dolphin’s “Extract Entire Disc” feature.
- Unpack and prelink the game binaries:
python3 projects/nsmbw/tools/unpack_game.py /home/you/nsmbw-game/DATA ../game
python3 projects/nsmbw/tools/prelink_rels.py ../game
- Build the project and run the binary:
./projects/nsmbw/tools/build-linux.sh --game /home/you/nsmbw-game/DATA
cd ../nsmbw-local-build
./WiiCompiled
Configuration options in ~/.local/share/WiiCompiled/Config.toml support widescreen 16:9 ratios, custom window dimensions, and Hor+ fill modes for ultrawide monitors.

