Tears of the Kingdom / MacNativeGames

Build Tears of the Kingdom on Mac

Enter your file paths. Get the command, disk requirements and the exact folders the build writes to.

Editorial sky islands artwork for the Tears of the Kingdom Mac build wizard
Target
Apple silicon · macOS 26+

CHOOSE THE FILES AND SOURCE TOGETHER

Game version and source revision are separate choices

Which game files do you have?

Every route starts with the same base game 1.0.0. For an updated build, add just one cumulative update.

1.0.0
Base only. Leave the update field empty.
1.1.2
Base 1.0.0 + separate 1.1.2 NSP or NSZ update. Choose an October source for this version.
1.2.1
Base 1.0.0 + separate 1.2.1 NSP or NSZ update.
1.4.3
Base 1.0.0 + separate 1.4.3 NSP or NSZ update.

No intermediate updates are needed. A renamed file does not change its version; combined base/update packages and DLC are not supported.

Which project source are you using?

November guide · 821ce8c · 4 Nov 2026
The default checkout. Build 1.0.0, 1.2.1 or 1.4.3; for an older 1.1.2 app, use an October source or upgrade with your save. The settings panel includes the expanded interpolation choices.
October guide · 933b6a0 · 30 Oct 2026
Choose this dated checkout for the October workflow. Settings panel on key 1, native 4K on 16 GB Macs, update_runtime.py for later updates, and the iPhone install script.
Earlier guide · f134a7b · 22 Oct 2026
Choose “earlier guide” in Project source to reproduce that checkout: shortcut keys 1–5, unsigned IPA, no 4K or outside game data. The four game-version routes still apply.
Using a fork or an extra-feature branch?

The wizard pins a source revision. It does not switch to the latest default branch or pull-request code.

  • Native 4K started as PR #196 and is in the main project from d115ee5 (30 October), with its own --native-4k option. Saved picture choices are in main from 27 October.
  • The macOS 15 / Metal 3 fork has its own setup. The Mac steps here target the main project on macOS 26 or later.

Use the install guide from the exact fork or revision you built. Do not add a branch’s flags to an unrelated checkout.

Mac .app · game 1.0.0 · source 821ce8c

1. Your base game and keys

Use your base game 1.0.0 dump and keys from your own Nintendo Switch, obtained in accordance with applicable law. We provide commands, not game files or keys. Add an update separately in step 2.

In Finder, select the file and press Option–Command–C to copy its path. Paste it here without adding quotes; the command handles spaces and brackets.

2. Version and fonts

New November builds use 1.0.0, 1.2.1 or 1.4.3. Keep an October source for 1.1.2, or upgrade and keep your save.

An NSP has no system fonts. Choose firmware, extracted fonts, or a work folder that already has them. For an XCI without a system-update partition, use one of those font sources too.

Add a prepared mod (optional)

Use the folder containing exefs/ and/or romfs/. Main-module patches are merged at build time. Choose the mod route first.

Leave this off to keep your current data mods. Extra code modules such as subsdk9 are not loaded.

Output folders and disk conditions

Set the final app location now. Moving a built app can make its cached shaders compile again.

Outside the app, the app is a few hundred MB and later builds reuse the image. How the app finds it.

Your command

Fill in the two required paths to start.

Get matching sourceRun and find the output

THE SAME BUILD IN A WINDOW · CURRENT SOURCE

Rather not type the command? Use the builder window

Builder window

  • Pick the game, base, update, prod.keys and fonts with file choosers.
  • Check files lists each problem, with the command that fixes it when there is one.
  • Then Settings, Mods, Controls, Storage and Saves tabs for the built app.

Terminal and this page

  • Generate the exact build_app.py command above.
  • Works with the earlier guide source too.
  • Gives the iPhone install command from the same inputs.
  1. Install the tools, including Tk. The same tools as step 2 below, plus brew install python-tk@3.14. Without Tk, Build Game.command says so.
  2. Open the window. In the MacNativeGames folder from step 3, double-click Build Game.command, or run python3.14 -m tools.builder. After a ZIP download, macOS blocks the script once: choose Open Anyway in System Settings › Privacy & Security for Build Game.command.
  3. Choose the game and your files. The work folder and output app are under Advanced.
  4. Check files, then Build app. The window shows the four stages, the elapsed time and the log. Keep the Terminal window it opens; closing it cancels the build.
  5. Open app or Show in Finder when it is done.
Builder · choose the game, then your filesOpen original ↗

01Choose the game and match each input

English Builder game selector and the base game, prod.keys, update, firmware and shared-fonts fields.

02Check files before starting the build

The Builder’s Check files button and the disabled Build app button before the inputs pass validation.
The actual English Builder, opened on macOS from source 933b6a0 with no game files selected. Choose your own base, keys, update and fonts, then use Check files before Build app. Source ↗
View the complete window
MacNativeGames Builder in English with Tears of the Kingdom and Breath of the Wild, game and key file choosers, update and font inputs, and Check files and Build app buttons.

Open original at full resolution ↗

The window saves your paths and the last successful build in ~/Library/Application Support/MacNativeGames/Builder/settings.json, and each run’s output as ~/Library/Logs/MacNativeGames/builder-…log. It copies no game files. Its Settings and Mods tabs work for 1.4.3 apps only.

The window’s checks in Terminal · replace both paths
python3.14 -m tools.builder --cli --game totk --game-file ~/Games/totk.xci --keys ~/keys/prod.keys --check-only

“Build with a window” in docs/install.md at 933b6a0 ↗ · --dry-run prints the exact command instead

FROM FILES TO A MAC APP

Your first build, step by step

These steps and the screenshots below follow a Mac .app build. If your tools and source are ready, go to the command generator.

Building for iPhone or iPad? Select iPhone / iPad above, then follow the iOS tools and installation steps. An IPA does not open as a Mac app.

Prepare your Mac and game files

  • Apple silicon Mac with macOS 26 or later; 16 GB memory recommended.
  • Base game 1.0.0 as XCI or NSP, plus prod.keys.
  • A separate 1.2.1 or 1.4.3 update for a November build; 1.1.2 uses an October source.
  • For NSP: firmware or extracted shared fonts, unless valid fonts are already cached in the work folder.
  • 25 GB free for a fresh base build; 40 GB with an update.
Base 1.0.0XCI or NSPprod.keysYour keysbuild_app.pyRuns on your MacMac appOpen in Finder

Ready to continue: your base, keys, optional update and font folder have separate paths. The disk figures above are for a fresh Mac build; another output volume can need roughly 17 GB more.

Install the tools for your route

Build prerequisites · choose your target and interface
Your routeRequired toolsOptional or next step
Mac · command lineCommand Line Tools, opus, libvpx and Python 3.14. The commands below use Homebrew.Full Xcode is not required for this route. Its Metal toolchain can precompile startup shaders.
Mac · builder windowThe Mac command-line tools above, plus python-tk@3.14 for the graphical window.Open Build Game.command after installing Tk. Tk is not needed by this web command generator.
iPhone / iPad · IPAThe Mac build dependencies, full Xcode 26 or later with the iOS platform, and xcodegen cmake ninja.Prepare the device and signing, then select iPhone / iPad in the generator.

Upstream: ly05010419/MacNativeGames · 821ce8c install guide ↗. The October guide uses the same tool requirements.

For the Mac command-line route, open Terminal and run the one-time setup below. An existing developer-tools installation may report that it is already installed.

If brew --version is not found, install Homebrew from its official instructions ↗ before the brew install line.

One-time tool installation
xcode-select --install
brew install opus libvpx python@3.14

xcrun --find clang prints a path and python3.14 --version reports Python 3.14.

For the builder window, also run brew install python-tk@3.14. If you use uv instead of Homebrew’s Python, the upstream alternative is uv run --python 3.14 build_app.py … in place of python3.14 build_app.py ….

Optional: compile startup shaders into the app

If full Xcode is installed, its optional Metal toolchain can compile startup shaders into the app. Without it, the build still works and uses the Mac’s Metal cache for the app’s location.

Xcode Metal toolchain
xcodebuild -downloadComponent MetalToolchain

Optional Metal toolchain in the upstream install guide ↗

Missing C++ headers or developer tools?

Get the matching project source

Choose Project source above first. The commands below change with that selection. Run them once from a folder where you want the project, then keep this Terminal window open in MacNativeGames.

Download the project source
git clone https://github.com/ly05010419/MacNativeGames.git
cd MacNativeGames
git checkout 821ce8c898d54910d318c81a94728a29faad2c44
git rev-parse --short HEAD

Before building: git rev-parse --short HEAD prints 821ce8c. ls build_app.py finds the script. If you already cloned the project, cd into that folder before checking its revision; keep local changes before switching source.

For a newer revision, read its README before reusing a command. Project source and releases.

Generate, run and open

  1. Enter your paths above. Choose the source revision, input format, game version and font source. Example paths only demonstrate the command; replace them with your files.
  2. Choose Generate my command, then Copy. Paste it in the Terminal window from step 3.
  3. Let all four build stages finish. If it stops, match the first error to the recovery guide.
  4. Open the finished app in Finder. The result panel gives the exact path. Keep the app in its final location to reuse shader caches.
Manual commands · XCI base or NSP + 1.4.3

Run only the example matching your files, inside the source folder. Both work with the pinned source routes; replace every path. On a 16 GB Mac the current source adds native 4K to a 1.4.3 build unless you add --no-native-4k.

XCI · base 1.0.0 only
python3.14 build_app.py ~/Games/totk.xci -k ~/keys/prod.keys
NSP base + separate 1.4.3 update + firmware
python3.14 build_app.py ~/Games/totk.nsp -k ~/keys/prod.keys --update ~/Games/1.4.3.nsp --firmware ~/Games/firmware

For 1.2.1, pass its update instead. Version 1.1.2 uses an October source; November builds use 1.0.0, 1.2.1 or 1.4.3. Keep --firmware (or --shared-fonts) when using an NSP base.

Find the app: by default it is beside your base game file. A custom output path changes that location.

Read the build’s four stages

The wizard assembles a command; the build itself runs in your Terminal. A fresh build takes 20–40 minutes on an M-series Mac, longer on an 8 GB Mac. Lines such as ... still running (3 min) are normal.

  1. 1 / Code · about 3 min

    Extract and verify executable files, then rewrite game code for Apple silicon.

  2. 2 / Data · several minutes

    Extract and verify 17 GB of RomFS, obtain fonts and merge the selected update.

  3. 3 / Shaders · about 3 min, then 6–12 to compile

    Prepare the startup shaders and compile them for your GPU.

  4. 4 / App · 2–3 min

    Build the launcher, assemble the app and let macOS check it once.

Interrupted? Run exactly the same command again: the work folder keeps every finished step. Never run two builds on the same work folder. Stage times in docs/install.md ↗

TERMINAL · BUILD PROGRESSOpen full-size image ↗
Terminal shows code, data, shaders and app stages for a 1.4.3 build, with a macOS Verifying dialog at the lower right.
A base 1.0.0 + 1.4.3 build with the Metal toolchain installed, recorded before the 25 October settings panel. Current builds print the same four stages; the 2/4 overlay line now names the settings panel’s resolution, and 4/4 adds a pipeline-archive line. Shader counts and elapsed times vary.

On a phone, scroll the terminal output sideways or open the full image.

What the lines tell you

update identified … 1.4.3
The update was recognized from its contents. Check that the reported version is the one you intended.
3/4 shaders: compiling …
Shader preparation is still running. A long shader stage alone does not mean the build has stopped.
4/4 app: assembling …
The app is being packaged at the printed path. Let the following signing and macOS verification finish before opening it.

Build stopped with an error? Copy the first error, stage and source revision into the matching recovery steps. To resume, use the same command and work folder.

BUILD FINISHED → FIRST START

Open the finished app

Find the .app at its output path

Read App in the result panel above, or the final assembling … line in Terminal. With no custom output, a base at ~/Games/totk.xci produces ~/Games/Tears of the Kingdom.app.

In Finder, press Shift–Command–G, paste the output folder, then open Tears of the Kingdom.app. The TOTK_build work folder is not the app.

FINDER · THE FINISHED APPOpen full-size image ↗
Finder in Applications with Tears of the Kingdom selected and its app information window open.
This build used a custom output in /Applications. With the output field empty, find the app beside your base game file instead.

On a phone, pan across the Finder window or tap the full-size link above.

Want it in Applications from the start? Set an output path such as ~/Applications/Tears of the Kingdom.app before generating the command. Moving it afterward can require shader compilation at the new location.

Let macOS finish checking the app

The macOS “Verifying” dialog can appear while stage 4 is still running, as in the Terminal screenshot. Let the build finish; then double-click the app. A copied or moved app may be checked again.

If macOS refuses to open it, follow the specific macOS opening message before changing any settings.

Wait for game-data verification, then play

FIRST START · GAME DATAOpen full-size image ↗
The game’s first-start screen says Verifying game data, with 5.1 of 17.1 GB processed.
The small progress window belongs to the game. It checks the data inside the app before the game opens.
  1. “Verifying game data” appears. Leave the game window open while the progress advances.
  2. Shaders and pipelines are prepared. A progress bar follows the data check. Leave the window open until the progress finishes; later starts reuse the prepared data. Compare recorded startup and build times.
  3. The game opens. Press 1 for the settings panel, or set up your controller layout.
  4. No progress or an error? Match the message to startup recovery. New shaders can cause brief stalls after play begins.

After the first launch