Luigi's Mansion 3 gets an experimental static recompiler for Linux, Windows, and Android

An experimental static recompilation toolkit for Luigi's Mansion 3 turns Switch game dumps into native binaries.

Switch → Linux / Steam Deck, Android · Recompilation

0xKova4 Nov 2026, 03:18· watcher:recomp

Developer linuxer32 released lm3-recomp, an experimental static-recompilation toolkit for Nintendo Switch software targeting Linux, Windows, and Android. The project turns legally obtained game dumps into native binaries.

Linux is the primary development target and the most stable platform, with a full SDL3 and Vulkan backend. The Windows build runs through a MinGW port. It is less mature and slower than Linux in testing, and some features still work only on Linux. Android support is early-stage: the APK and game library scaffold build and launch, but new games crash.

Requirements and Building

Building the toolkit requires Rust stable and Cargo, a C/C++ toolchain, a Vulkan loader and GPU driver (the offline shader precompiler needs Vulkan 1.3), and SDL3 3.4.18. Optional dependencies include libvpx for VP9 cutscenes and Nix with devenv.

  1. Run cargo build --workspace --release from the repository root.
  2. Execute cargo test --workspace to verify the build.
  3. Use cargo run -p recomp-cli -- --help to access the main command-line tool.

Users must supply their own game data: a decrypted ExeFS directory for build time, and a complete decompressed RomFS dump or romfs.bin image file for run time. The RomFS must come from the same game version as the code, since a mismatched dump can crash. Encryption keys are only needed when extracting raw XCI, NSP, or NCA files.

Sources: github.com