GUIDE / BEFORE YOU INSTALL

Before you build a Switch-native Mac app

MacNativeGames builds Tears of the Kingdom and Breath of the Wild; D2R Mobile builds Diablo II: Resurrected. nxnative adds a broader set of game profiles and a self-contained Mac-app target. Choose the project and exact game version first.

Start with your game

Shared checklist

  • The supported game versionKeep the base and update files separate where the builder requires it. The comparison below lists the accepted inputs.
  • Your prod.keysHave the path ready. MacNativeGames and nxnative read it during packaging; D2R uses it for extraction.
  • Comfort with TerminalThe core projects are run as commands. Keep the first error line if something stops; it names the step.
  • Free space on an APFS volumeTens of gigabytes during the build (see the table). Do not put the work folder on a cloud-synced or temporary folder.
  • Keep the workspace for rebuildsMacNativeGames reuses it for rebuilds; D2R Mobile’s app refers to files in ~/dm-work. A finished nxnative mac-app can move as a whole, but keeping its build cache speeds rebuilds.

MacNativeGames and D2R: established game-specific routes

Compare all input, tool and disk requirements
MacNativeGames (Tears of the Kingdom)D2R Mobile (Diablo II: Resurrected)
Game and versionTears of the Kingdom base 1.0.0, optionally with the separate 1.1.2, 1.2.1 or 1.4.3 updateDiablo II: Resurrected Switch release 1.0.34.0 (PC 3.3.94012) with the Reign of the Warlock expansion
What you hand itThe game file itself (XCI or NSP) and prod.keys; the script unpacks itThe ExeFS (main, sdk, subsdk0) and RomFS data/ folders placed in ~/dm-work — or a game package and prod.keys through dm/tools/extract_game.sh, which needs hactool
Tools on the MacXcode command line tools, Homebrew, opus, libvpx, Python 3.14Full Xcode (26.6 used by the project) with its Metal compiler, Homebrew, xcodegen, spirv-cross, .NET 10 SDK, Python 3.14
Build MacApple silicon with macOS 26 or laterApple silicon with full Xcode 26.6; that Xcode version requires macOS Tahoe 26.2–26.x
App runs onmacOS 26 or latermacOS 26 or later for the default app; 15–25 with the older-API build
Free spaceAbout 25 GB for the work folder (40 GB with an update); about 17 GB more if the app is on another volumesetup.sh asks for 30 GB before the game files are in place, 15 GB after: about 12 GB for the workspace and about 20 GB more to extract a game package

The D2R older-API option changes the app’s runtime target. It does not make Xcode 26.6 run on an older Mac system. See the D2R build prerequisites before preparing that build.

MacNativeGames · TOTK

Command shape
python3.14 build_app.py <game> -k <prod.keys> [--update …]
What you get
Tears of the Kingdom.app, next to the game file unless you pass -o
First launch
macOS checks the app once at the end of the build; the first start then verifies the game data
Version check
Every extracted file is compared with pinned hashes; a different version stops the build

D2R Mobile · Diablo II

Command shape
./setup.sh, then dm/tools/mac_app.sh (DM_MAC_M3=1 for macOS 15–25)
What you get
D2R Mobile.app in ~/dm-work/out/macapp
First launch
Asks you to choose the game resource folder (~/dm-work/data/switch/3.3.94012/Update)
Version check
The rewrite rules and scripts check the version item by item; another version stops with a message

nxnative: choose mac-app for a Finder app

Build requirements

Apple silicon, macOS 26.6+, full Xcode 27.1 and its Metal toolchain, arm64 Python 3.12+, .NET 10 and the listed build dependencies. Keep the base, update and optional DLC in one game folder.

Three different outputs

--platform mac-app makes a self-contained .app. --platform mac is the developer host. Omitting the platform builds an iPhone/iPad IPA.

Build-host requirements are separate from the generated app’s minimum OS. The optional NX2Apple graphical frontend’s macOS 13 launch requirement does not lower the shader-build requirement.

Game folder + prod.keys→mac-app build→Game.app

The app can move as a whole after building. Its saves are in Application Support/nxnative, rather than alongside the input files. The source lists 115 gallery games across Mac and iPhone; check each profile’s version and tested stage.

nxnative packaging and Mac-app source ↗

Breath of the Wild uses its own build route

Supported base + update→build_app.py→Breath of the Wild.app

Version 1.6.0

Use the supported card image containing the base and update, or supply the base with its separate 1.6.0 update. A compatible card image can also contain its DLC.

Version 1.9.0

Supply the base and 1.9.0 update. Each DLC pack is optional and supplied separately with its own --dlc; do not reuse the TOTK version choices.

  • An NSP still needs a shared-font source.
  • Default work folder: BotW_build. Its app, saves and logs are separate from TOTK.
  • The earlier f134a7b recipe is Mac-only. The later 933b6a0 route adds a 1.6.0 iPhone build. The 11 November 32d8643 source records 1.6.0 iPhone 14 play and an iPad reaching the title. Choose the BOTW source and mobile route →
Read the complete BOTW build guide →

What runs natively, and what the shader tool does

  1. Same processor family

    A Switch and an Apple silicon Mac both use ARM64 processors, so the game’s own program can run on the Mac’s chip after the parts macOS does not allow are rewritten.

  2. A small host

    The Switch system services the game calls are answered by a host program written for the Mac.

  3. Graphics on Metal

    The Switch’s NVN graphics calls are rebuilt on Metal. MacNativeGames reuses Ryujinx’s shader translator: shader code becomes SPIR-V, then SPIRV-Cross turns it into Metal shader source. Prepared shaders and a local cache reduce first-use work; a translator service handles shaders met at runtime.

Sharing a shader translator does not mean the game CPU code runs through Ryujinx. The CPU route, system-service host and graphics translator are separate layers. See the three-layer diagram →

The cost of this approach: each game needs its own rewrite rules and specific versions, and new versions need new work from the project. A general route for other Mac programs is explained in native, Rosetta or CrossOver.

Go to your game