Running Zelda: Tears of the Kingdom Natively on Mac — The MacNativeGames Project Guide
You just got an M-series Mac and want to play The Legend of Zelda: Tears of the Kingdom on it. Your options seem limited: throw a VM at it, run an emulator, deal with performance hits and configuration headaches.
MacNativeGames takes a different approach. Instead of emulating, it lets the game’s own code run directly on Apple Silicon. Sounds too good to be true? The project’s README is surprisingly terse, but once you unpack it, the technical approach turns out to be remarkably straightforward.
This article walks through the project’s README step by step — explaining the concepts, setup steps, configuration options, and gotchas in plain English. No external information added. Just a practical guide you can follow end to end.
What Is MacNativeGames Exactly? Why “Native”?
Here’s the short answer: 「MacNativeGames is not an emulator.」 What it does is take your own legally obtained copy of Tears of the Kingdom (in XCI or NSP format), along with your prod.keys, and run a Python script that produces a .app bundle you can launch directly on macOS.
The key word is 「native」. The game’s ARM64 code runs directly on Apple’s silicon — no virtual machine, no instruction translation layer wrapping it. The project only patches the parts that macOS doesn’t support natively: a small host program answers Switch system service calls, and the game’s NVN graphics API is reimplemented on top of Metal 4.
The repository ships with zero game content. You bring your own files. The project also explicitly states it has no affiliation with Nintendo.
In architecture terms, you’ve got three layers: game code running straight on ARM64, a host program simulating Switch services, and an NVN-to-Metal graphics translation layer. That’s one fewer translation layer than a traditional emulator, which theoretically means better performance.
How Does It Actually Work?
The README doesn’t include a diagram, but piecing together the references and acknowledgments gives you a clear picture of the stack.
「The NSO rewriter」 handles repackaging and modifying the game files. This project borrows heavily from d2r-mobile — the project that first got Diablo II: Resurrected running natively on Mac by executing Switch game code. MacNativeGames’ NSO rewriter, Horizon host, and NVN-on-Metal layer all start from d2r-mobile’s shared components.
「The shader translator」 has a longer chain. The game’s graphics shaders are written in NVIDIA’s Maxwell shader format, so they first go through Ryujinx’s shader translator to become SPIR-V, then through SPIRV-Cross (a Khronos Group project under Apache 2.0) to become Metal Shading Language (MSL). Ryujinx’s system service code also serves as a reference implementation.
「The build pipeline」 borrows nxnative’s “one script to build everything” approach and the NSP universal ticket reading method. The whole build chain requires no .NET, no cmake, and the resulting game runtime doesn’t need Python installed — the shader translator is precompiled as a native binary and shipped in the repository under games/totk/prebuilt.
What You Need Before You Start
Make sure your environment meets these requirements before diving in.
「Hardware:」
-
Mac with Apple Silicon chip -
macOS 26 or later (the graphics layer uses Metal 4); macOS 27 is also supported -
16GB RAM recommended
「Disk Space:」
-
About 25GB free in your working directory (not counting the game files themselves) -
If the app and working directory sit on the same APFS volume, large data files can share space via cloning -
Without cloning support, the app bundle needs an additional ~17GB
「Game Files:」
-
Tears of the Kingdom base version 1.0.0 (Product ID: 0100F2C0115B6000), in XCI or NSP format -
Your prod.keysfile -
For building versions 1.1.2 or 1.4.3, you also need the corresponding update packages (NSP or NSZ format, passed via --update) -
If using NSP: the package must include a universal ticket (unless the NCA is ticketless), and NSP files don’t ship system shared fonts — you’ll need to provide them via --firmwareor--shared-fonts
DLC, merged packages, and compressed bases (NSZ/XCZ) are not supported. Mac only.
Step-by-Step Setup
Step 1: Install Tools
You only need to do this once:
xcode-select --install
brew install opus libvpx python@3.14
Xcode command line tools and Homebrew are the base dependencies. You’ll need internet access too — the build process downloads dependencies and fetches a pinned version of the SPIRV-Cross source code.
Optional but recommended: if you have the Xcode Metal toolchain installed (xcodebuild -downloadComponent MetalToolchain), the build will automatically precompile startup shaders into the app. Without it, those shaders compile on first launch and again if you move or rebuild the app.
Step 2: Clone the Repo and Run the Build Script
Open Terminal, navigate to the MacNativeGames directory, and run the build script pointing at your game file and keys:
python3.14 build_app.py ~/Games/totk.xci -k ~/keys/prod.keys
If you’re using an NSP game file, you also need to specify fonts:
python3.14 build_app.py ~/Games/totk.nsp -k ~/keys/prod.keys --firmware ~/Games/firmware
Or reuse fonts extracted from a previous build:
python3.14 build_app.py ~/Games/totk.nsp -k ~/keys/prod.keys --shared-fonts /path/to/TOTK_build/totk/extracted/firmware/shared-fonts
The --firmware flag accepts a directory of .nca files (you’ll need to extract the firmware archive first) or the registered directory of an installed firmware. --shared-fonts accepts a directory containing the six font files (0-standard.bfttf through 5-nintendo-extension.bfttf).
The script downloads no fonts or key files on its own. XCI files read fonts from the game’s system update partition by default; if that partition is missing, you must provide fonts manually. Both input formats produce a macOS .app file.
Step 3: Launch the Game
After the build finishes, the app lands next to your game file (named Tears of the Kingdom.app). You can pass -o to put it somewhere else.
Open it from Finder and it runs. The build script actually launches the launcher in --check mode at the end — it verifies the game executable exists and lets macOS complete its first-launch gatekeeping. This step doesn’t test actual gameplay.
The app can stay where it is or be moved to /Applications. Copying it to a different volume may trigger additional space usage and macOS re-checking, during which the window might not appear immediately.
Build Time Reference
The README provides one data point: on an M4 Mac mini, a fresh local build of version 1.0.0 (before full shader preparation was added) took about 6 minutes total — roughly 1 minute rewriting the main code modules, 1 minute decrypting 17GB of game data, and 2–3 minutes for the macOS-checked app to finalize.
This is just a reference. Actual times depend on your hardware, disk speed, and network conditions. Subsequent builds are much faster because they reuse intermediate files. All intermediates live in the working directory next to your game file (TOTK_build, or wherever you pointed --work).
During the build, extracted modules, rewritten modules, RomFS, and shared fonts are all hash-checked against expected-v1.0.0.json, expected-v1.1.2.json, or expected-v1.4.3.json depending on your target version. The precompiled shader translator has its own SHA-256 check. If anything doesn’t match, the build aborts intentionally. Key values are never printed.
Building Version 1.1.2 or 1.4.3
Want to run a newer version? The process is the same, you just pass the update package:
python3.14 build_app.py ~/Games/totk.xci -k ~/keys/prod.keys --update ~/Games/1.1.2.nsp
NSZ update packages work too:
python3.14 build_app.py ~/Games/totk.xci -k ~/keys/prod.keys --update ~/Games/1.1.2.nsz
To build 1.4.3 directly from the same base:
python3.14 build_app.py ~/Games/totk.xci -k ~/keys/prod.keys --update ~/Games/1.4.3.nsz
If your base is NSP, just add --firmware or --shared-fonts as before.
The output is always the same Tears of the Kingdom.app — it only contains the version you built. To switch versions, quit the running game and rebuild with the same -o path. You won’t end up with duplicate launcher entries. The window title shows the current version (e.g., “Ver. 1.4.3”). Without --update, you always get 1.0.0.
You don’t need to separately download runtime tables or shader caches for 1.4.3 — the build process generates them from your game data automatically and packs them into the app. The repo already ships with 1.4.3 patch code and validation hashes; you just need your own base, update package, and keys.
Plan for about 40GB of free space for a full first update build, plus another ~19GB once the base data is cached. The merge step fetches a pinned hactool source commit and compiles it with clang/make. Temporary ticket files are user-readable only and get cleaned up after the merge finishes.
Save files continue to live in the usual profile directory. Before launching an updated version for the first time, the app creates a full backup as profile-before-1.1.2 or profile-before-1.4.3 in the same directory. If the backup fails, the game won’t launch. Keep these backups around if you ever need to roll back — don’t assume newer saves are backward compatible.
Controls
Gamepad Support
Any gamepad macOS recognizes (DualSense, Xbox controllers, etc.) maps to a Switch Pro Controller. Rumble and motion controls depend on both the controller hardware and macOS support — not every gamepad has a gyroscope.
Keyboard Mapping
Skip this if you’re using a gamepad. For keyboard players, here’s the default mapping:
| Keyboard Key | Switch Equivalent |
|---|---|
| W A S D | Left Stick |
| Arrow Keys | Right Stick |
| J | A |
| K / Space | B |
| I | X (Jump) |
| U | Y (Attack) |
| Q / E | L / R |
| Option / Shift | ZL / ZR |
| F T H G | D-Pad Left/Up/Right/Down |
| Z / C | Left/Right Stick Click |
| Return | + (Menu) |
| Tab / Esc | − (Map) |
Extra Hotkeys
-
「Key 1」: Toggle all screen overlays (hotkey hints, FPS counter, shader count, system load readout) -
「Key 2」: Cycle frame generation mode (off, 30+30, half refresh rate, unlimited) -
「Key 3」: Cycle graphics quality mode (MetalFX 2K, native 2K, off)
MetalFX is off by default — you have to press Key 3 to enable it. Resizing the window doesn’t auto-enable it. Text input (like naming your horse) works directly with your Mac keyboard.
Resolution Notes
“Native 2K” mode changes the game’s render canvas and UI to 2560×1440. But 3D scenes are still controlled by the game’s internal render scale — not every render target gets pushed to 1440p. Manual MetalFX mode works at any window size, including 4K.
Language Settings
Game and launcher text (boot screen, shader prep progress, screen overlays, keyboard hints) follows your Mac’s system language. On a Chinese system, the launcher shows Chinese; otherwise it defaults to English.
To override manually, use environment variables:
-
TOTK_LANGcontrols game language (e.g.,open --env TOTK_LANG=zh-Hans "Tears of the Kingdom.app") -
TOTK_UI_LANG=zhorencontrols launcher text
Shader Preloading: Why New Areas Stutter at First
This is the #1 question players ask, and the README dedicates a section to it.
Shaders are collected, compiled, and cached on the fly as you play. When you revisit areas you’ve already explored, frame rates and smoothness typically improve noticeably because the shader cache is already warm.
The README shares one test result: on a MacBook Air M4 and Mac mini M4, after collecting 8,582 shaders, shader preloading yielded ~90 FPS in gameplay and up to 120 FPS in menus. The project is clear though — this is early on-device observation data and doesn’t guarantee stable framerates across all versions and scenarios. Version 1.4.3 has separate measurement logs including first-compile stutter data.
That 8,582 number is just how many shaders this particular machine has collected so far — it’s not the game’s total shader count and not a cap. The cache keeps growing as you explore more areas.
「First-launch shader preloading」: The build process automatically prepares at least 8,000 shaders from your game data and bundles them into the app. Even with an empty user cache, the first time you launch the game it discovers and preloads this batch before showing the first frame. The current 1.4.3 build ships with 8,290 preloaded shaders. Initial GPU preloading may take a few minutes — bear with it.
Keep in mind these are shaders extracted from game resources, not every dynamic state combination you’ll encounter while playing. Entering new areas can still compile fresh shaders, so first-time stutter in a new area is expected behavior, not a bug.
New shaders and pipelines encountered during gameplay get written to pso_collected.tsv on your machine and are preloaded on the next launch. If you want to share your collection list, you can post that file — it only contains shader and pipeline identifiers, no save data or compiled shader binaries. The list is bound to the corresponding shader translation chain version.
Where Are Files Stored?
| Type | Path |
|---|---|
| Save files | ~/Library/Application Support/MacNativeGames/TOTK/profile |
| Shader cache | ~/Library/Application Support/MacNativeGames/TOTK/shader-cache (deleting it triggers full re-translation) |
| Runtime logs | ~/Library/Logs/MacNativeGames/totk.log (previous run logs in totk.previous.log) |
Known Limitations
-
Only base version 1.0.0 or base plus separate 1.1.2 / 1.4.3 update packages are supported. Other versions, DLC, merged packages, compressed bases (NSZ/XCZ), and custom tickets are not supported. -
No online functionality. amiibo not supported. -
Stutter may occur when encountering new shaders for the first time. Caching reduces repeated compilation but doesn’t guarantee zero stutter. -
38 automated tests cover generated container/update samples, relocation formats, working directory isolation, packaging, desktop entry migration, shader extraction, first-import cache retention, and 27 native RomFS path cases. However, standalone retail base NSPs and actual gameplay built from such inputs have not been tested.
Quick Checklist
Ready to try it? Run through this before you start:
-
Confirm your Mac has Apple Silicon and runs macOS 26+ -
Free up 25GB+ in your working directory (game files separate) -
Gather your game file (XCI/NSP) and prod.keys -
Install Xcode command line tools and Homebrew -
Run brew install opus libvpx python@3.14 -
(Optional) Install the Metal toolchain for better first-launch experience -
Clone or download the repo and cdinto it -
Run the build script with your game file and keys path -
Wait for the build to finish (first build may take several minutes) -
Open the generated app from Finder -
Be patient during first launch while shaders preload -
Start playing — new areas may stutter again (expected behavior)
Frequently Asked Questions
「Q: Is this an emulator? Will Nintendo come after me?」
A: The project explicitly states it is not an emulator. Game code runs directly on ARM64; the project only patches macOS incompatibilities. The repository contains zero game content and the project has no affiliation with Nintendo. That said, you still need your own game files and keys.
「Q: Will my Mac run this?」
A: You need an Apple Silicon Mac running macOS 26 or later. 16GB RAM is recommended. The project currently supports Mac only; iPhone and iPad versions are in development (iPhone 16 or later recommended).
「Q: Build failed. What do I do?」
A: Check that your game file hash and font hashes match the project’s validation list. The build intentionally aborts on mismatch. Key values are never printed to logs, so there’s no leakage risk.
「Q: Can I manage the shader cache manually?」
A: Yes. The cache lives at ~/Library/Application Support/MacNativeGames/TOTK/shader-cache. Deleting it triggers a full shader re-translation. You can also view and share your collected shader list via the pso_collected.tsv file.
「Q: Can I install multiple versions side by side?」
A: Every build produces the same Tears of the Kingdom.app filename. To switch versions, quit the game and rebuild with the same output path to overwrite. There’s no version selector in the launcher.
「Q: Will my saves survive an update?」
A: Yes. Saves live in a fixed profile directory. Before launching an updated version for the first time, the app creates a full backup as profile-before-1.4.3 (or similar). If the backup fails, the game won’t launch. Keep these backups around if you need to roll back.
That covers the full guide based on the MacNativeGames project README. The project is under active development — if you run into issues, check the docs directory in the repository for the latest information.

