OunceRecomp v0.9 brings The Legend of Zelda: Ocarina of Time (Nintendo Switch 2) to Linux
OunceRecomp v0.9 is an Ahead of Time recompiler that runs The Legend of Zelda: Ocarina of Time (Nintendo Switch 2) natively on Linux.

HookedBehemoth released OunceRecomp v0.9, an Ahead of Time recompiler that runs The Legend of Zelda: Ocarina of Time for Nintendo Switch 2 natively on Linux without an emulator. HookedBehemoth developed and tested the project on Linux with Mesa RADV on an AMD RX 6950 XT. The tool translates the game’s AArch64 code to LLVM IR and compiles it into a native Linux program.
You need a dump of program 0400486024DEC000, update v131072, build e0f3ccfa, as other versions do not work. Building takes tens of minutes and about 60 GB of disk space, and running uses about 10 GB of RAM. The runtime reimplements system software, records NVN2 graphics calls, and replays them on Vulkan through a direct back end, using a fork of Eden’s shader recompiler to translate Switch 2 shaders to SPIR-V.
How to try it
- Install Rust and Cargo, and set up the other tools listed in the development guide, then build the recompiler tool from HookedBehemoth/OunceRecomp.
- Extract your game dump and register it using
ounce dump <your-game.nup> --extract <folder> --set. - Build the renderer, lifted code, and game binaries by running
ounce build oot. - Launch the game window with sound and your saves using
ounce run oot.

