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.

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.pyfor 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-4koption. 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.
Your command
Fill in the two required paths to start.
Get matching sourceRun and find the output
Then install it on the device
Run after the build, with the device unlocked and connected by cable. Signs with the Apple ID in Xcode › Settings › Accounts.
Free space on the work folder’s volume
Where the build writes
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.keysand 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.pycommand above. - Works with the earlier guide source too.
- Gives the iPhone install command from the same inputs.
- 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. - 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 forBuild Game.command. - Choose the game and your files. The work folder and output app are under Advanced.
- 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.
- Open app or Show in Finder when it is done.
01Choose the game and match each input
02Check files before starting the build
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.
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.
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
| Your route | Required tools | Optional or next step |
|---|---|---|
| Mac · command line | Command 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 window | The 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 · IPA | The 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.
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.
xcodebuild -downloadComponent MetalToolchain 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.
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
- 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.
- Choose Generate my command, then Copy. Paste it in the Terminal window from step 3.
- Let all four build stages finish. If it stops, match the first error to the recovery guide.
- 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.
python3.14 build_app.py ~/Games/totk.xci -k ~/keys/prod.keys 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 / Code · about 3 min
Extract and verify executable files, then rewrite game code for Apple silicon.
- 2 / Data · several minutes
Extract and verify 17 GB of RomFS, obtain fonts and merge the selected update.
- 3 / Shaders · about 3 min, then 6–12 to compile
Prepare the startup shaders and compile them for your GPU.
- 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 ↗
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.
/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
- “Verifying game data” appears. Leave the game window open while the progress advances.
- 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.
- The game opens. Press 1 for the settings panel, or set up your controller layout.
- No progress or an error? Match the message to startup recovery. New shaders can cause brief stalls after play begins.
After the first launch
- New shader variants can briefly stall on first use. Repeating the same scene can reuse compiled variants.
- For update builds, the project backs up the old profile before switching versions.
- Create a controller layout if button positions or hold actions do not suit you.
- Choose picture and frame-rate settings in the panel once the game opens.
- Later source updates usually need only
update_runtime.py, not a full build. Update an existing app. - Before switching versions or adding mods, back up your save profile.

