MacNativeGames

MacNativeGames is a technical exploration porting Nintendo Switch games to Apple chips, running ARM64 code directly and rendering NVN graphics on Metal.

README

MacNativeGames

A technical exploration: can a Nintendo Switch game's NVN graphics be ported to Metal?
Tested with your own copies of Tears of the Kingdom and Breath of the Wild on Mac, iPhone and iPad, and of Ocarina of Time (Switch 2) on the Mac. Not an emulator: the game's own ARM64 code runs directly on Apple chips.

English | 中文

English

Legal

You must own the game. Use this project only with games that you bought, and with keys and system files dumped from your own Nintendo Switch. This is an independent, non-commercial project. It is not affiliated with, endorsed by, or sponsored by Nintendo. The Legend of Zelda and Nintendo Switch are trademarks of Nintendo.

The repository contains no game content and distributes none: no game program, art, text, audio, shaders or keys. Everything the game needs is made on your own computer from your own files when you build the app. The app you build contains the game, so it is for your own use only; do not share it. What the repository does hold is the information needed to make the port work: the patch code, the addresses and hashes used to check your files, and the shared shader list, which names shaders and bind states but contains no shader code.

Apple, Mac, iPhone, iPad, Apple Vision Pro and Metal are trademarks of Apple Inc.; this project is not affiliated with Apple. Other game titles and trademarks named here belong to their respective owners.

Whether dumping games, keys and system files is legal depends on where you live; check and follow your local laws.

Issues and pull requests that contain or ask for game files, keys or firmware will be deleted.

About

This project is a technical exploration, mainly feasibility experiments and analysis. The Nintendo Switch is an ARM system (an ARM64 CPU in NVIDIA's Tegra X1), and Apple chips are ARM64 as well, so we want to test whether its games can, technically, be ported to Apple chips. It started from one question: can the NVN graphics a Switch game was written for be rebuilt faithfully on Apple's Metal, and can the game's own ARM64 code run directly on Apple chips without an emulator? Tears of the Kingdom and Breath of the Wild are the test cases, because they push the graphics API hard. The repository records the experiments, measurements and findings along the way; it is a study of the technique, not a game distribution. It does not encourage piracy: use only your own game data, dumped from a game you bought and from your own Switch, never game files, keys or firmware downloaded from the internet or obtained from anyone else.

How it works: bring your game file (XCI or NSP) and your prod.keys; one script builds a Mac app or an unsigned iPhone/iPad IPA. The game's own ARM64 code runs directly on Apple chips (rewritten where the operating system requires it), the Switch system services are answered by a small host, and the game's NVN graphics are rebuilt on Metal. The iOS build requires iOS/iPadOS 26 and iPhone 14 or newer; Tears of the Kingdom 1.4.3 has been played on an iPhone 14 and an iPad, Breath of the Wild 1.6.0 on an iPhone 14 (on the iPad it reaches the title), see iPhone and iPad. Details are in How it works.

Switch 2 games (experimental)

Switch 2 games run on the same Tears of the Kingdom runtime: their Ampere (NVN2) shaders go through the same translator, and their SDK 20 services through the same host (docs/ns2-port.md). Ocarina of Time carries its own copy of that runtime in games/oot.

GameVersionPlatformStatus
The Legend of Zelda: Ocarina of Timeupdate 131072MacPlayable from the title into Kokiri Forest and the village on an M4, not played through; resolution, MetalFX upscaling, frame lock and frame interpolation in the settings panel; games/oot, install
Donkey Kong Bananzaupdate 458752MacPlayable, early; not fully tested. Builds from a .nup or a dump folder, with its add-on content (Emerald Rush loads; not played through)
Pokémon Pokopia2.0.1MacEarly: plays its opening into the first area (scripted test, not fully played).
Mario Kart World1.0.0MacCommunity port, experimental; build instructions

Ocarina of Time, Donkey Kong Bananza and Pokopia package as a Mac app with build_app.py. Not yet: iPhone / iPad (a build path for Ocarina of Time is being tested), add-on content other than Bananza's.

Switch 1 games
GameVersionPlatformStatusFolder
The Legend of Zelda: Tears of the Kingdom1.0.0, 1.2.1, 1.4.3Mac (up to native 4K on 1.2.1 and 1.4.3; 5K by default on 32 GB-plus Macs with 1.4.3), iPhone, iPad; Apple Vision Pro (windowed, early)Supportedgames/totk (Vision Pro)
The Legend of Zelda: Breath of the Wild1.6.0, 1.9.0Mac (up to native 4K); 1.6.0 also on iPhone and iPadSupportedgames/totk (shared runtime), list in games/botw
Super Smash Bros. Ultimate13.0.2, 13.0.5MacCommunity portgames/ssbu
Super Mario Odyssey1.3.0, 1.4.1MacCommunity port, early; built from MNG Launchergames/odyssey
Bayonetta 31.2.0MacCommunity port, work in progressgames/by3
Super Mario Bros. Wonder1.0.0, 1.2.1MacCommunity port, earlygames/wonder
Pokémon Legends: Arceus1.1.1MacCommunity port, earlygames/pla
Ori and the Blind Forest: Definitive Edition1.0.1MacCommunity portgames/ori
Super Mario Party Jamboree2.3.0MacCommunity port, experimentalgames/jamboree
WORLDEND SYNDROME1.0.0MacCommunity port, experimentalgames/worldend
Mario vs. Donkey Kong1.0.1MacCommunity port, earlygames/mvdk
Metroid Dread2.1.0 (base + update)Mac (validated); iPhone / iPad scripts updated, not yet built or validated on 2.1.0Community port, earlygames/dread
Unicorn Overlord (Asian release)1.05MacCommunity port, early; DLC optionalgames/unicorn
The Legend of Zelda: Echoes of Wisdom1.1.0MacCommunity port, early; an app, built from MNG Launchergames/eow
Animal Crossing: New Horizons1.2.1; 3.0.1, 3.0.3 (experimental)MacCommunity port; 3.0.3 builds from MNG Launcher, 60 FPS, 120 FPS on a 120 Hz screengames/acnh
Octopath Traveler 01.0.3, 1.0.4, 1.0.5MacCommunity port, work in progressgames/ot0
Hyrule Warriors: Age of Calamity1.3.0, 1.4.1MacCommunity port, experimental. A rewrite on the Zelda runtime (1.4.1) reaches the first battle at 30 fps; it has no Mac app yetgames/aoc, games/aocx
Mario Kart 8 Deluxe4.0.1MacCommunity port, early. A rewrite on the Zelda runtime plays VS and Grand Prix races at 60 fps; it has no Mac app yetgames/mk8d, games/mk8dx
Kirby and the Forgotten Land1.0.0MacCommunity port, earlygames/kirby
Luigi's Mansion 31.2.0MacCommunity port, work in progress; playablegames/lm3
Astral Chain1.0.1MacCommunity port, work in progress; the first frame is presented and the title flow runsgames/alc
Xenoblade Chronicles 31.0.0, 2.2.1MacCommunity port, playable; one-command build; a few shaders translate on first usegames/xc3
Pokémon Violet4.0.0MacCommunity port, work in progressgames/pokesv
Xenoblade Chronicles X: Definitive Edition1.0.0; 2.0.0 (diagnostic)MacCommunity diagnostic host, early field gameplay; external work folder requiredgames/xcx
Tomodachi Life: Living the Dream1.0.0MacCommunity port, experimentalgames/tomodachi
The Legend of Zelda: Link's Awakening1.1.0MacCommunity port, experimentalgames/la
The Legend of Zelda: Skyward Sword HD1.0.1MacCommunity port, experimentalgames/ss
Teenage Mutant Ninja Turtles: Shredder's Revenge1.0.0Mac; iPad targetCommunity port, experimental; not yet validated as a complete gamegames/tmnt
Persona 5 Royal1.0.2MacEarly: title, menus and the opening casino at the game's 30 fps, as a Mac app; battles and longer saves not testedgames/p5r
Red Dead Redemption1.0.4Mac; the iPhone / iPad app builds, not run on a deviceBring-up: plays to Armadillo Station at 30 fps; glass and some distant objects draw wrongly; no Mac app yetgames/rdr
The Witcher 3: Wild Hunt4.04bMacBring-up: the first in-engine scene, and gameplay at Kaer Morhen from a save, at 30 fps; no Mac app yetgames/w3
明星三缺一 2013v0MacEarly: title, menus and a game of mahjong against the AI at 30 fps, as a Mac appgames/mj2013

Community ports keep their own runtime, graphics layer and scripts in their folder.

MNG Launcher builds Tears of the Kingdom, Breath of the Wild, Ocarina of Time, Donkey Kong Bananza, Pokémon Pokopia, Metroid Dread, TMNT: Shredder's Revenge, Animal Crossing: New Horizons, Echoes of Wisdom and Super Mario Odyssey. Launcher 1.1.3 also builds Skyward Sword HD and WORLDEND SYNDROME; later releases do not. Every other game here is built with the steps in its folder.

VR: Tears of the Kingdom and Breath of the Wild on a Meta Quest 3 (6DoF)

Play Tears of the Kingdom 1.4.3 in a Meta Quest 3, with full 6DoF. The game runs on your Mac and draws the view for every head pose, streamed to the headset over the USB-C cable: turn your head and the camera turns; lean and crouch and it moves (Head position, 6DoF). First or third person, the game's sound in the headset. Quest 3 controllers and motion gestures are built in but not yet tested on a headset.

  • Tears of the Kingdom 1.4.3: the game renders one picture per frame, wide enough for both eyes, and each eye looks it up along its own rays; turning the head reprojects it to the newest pose. The picture is what the game draws without VR (grass, lighting, shadows). The stream to the headset is HEVC at the render size per eye chosen in the VR page (at most 2048×2208); on an M4 at 1536×1656 a Quest 3 showed about 70 fps and about 70 ms from input to display (measured 2026-11-10; 2048×2208 H.264, the setting before, gave 53 fps and 132 ms). Both eyes see the same picture, so there is no stereo depth by default.
  • Stereo depth for Tears of the Kingdom (experimental, off by default): the game still runs each frame once; the graphics layer replays the frame once per eye with the eye moved sideways by half the eye distance, so both eyes are real renderings of the same moment. It costs about half the frame rate (about 30 fps against 53 with one picture, at 2048×2208 on an M4) and has no switch in the VR page yet. The game has no stereo renderer of its own, and an earlier attempt that ran the game's render jobs twice was removed because it damaged the picture (no grass, wrong lighting).
  • Breath of the Wild 1.6.0 / 1.9.0: the game's own same-frame stereo renderer (the one of its Labo VR mode) draws both eyes with the headset's projection and eye distance; see the install page for its settings and limits.

One script builds and installs it, the headset side included: zeldaVR/install.md (code in zeldaVR). VR stays off in the normal app.

Windows games

windows_games holds Windows PC games, one folder each. They are statically recompiled into arm64, and their runtime draws with Metal. As with the Switch games, you bring your own copy and nothing from the game is in the repository.

GameVersionPlatformStatusFolder
Command & Conquer: Red Alert 2 and Yuri's Revenge1.006 and 1.001 (Steam release)Mac, iPhone, iPadCommunity port; a skirmish match plays on the Mac and iPhone 14, saves work on the Mac; English, 繁體中文, 简体中文windows_games/ra2
Recommended install

Hand it to an AI assistant. Open this repository in Claude Code, Codex, or any other AI assistant you like, tell it where your own game file and prod.keys are, and ask it to build and install the app and to sort out whatever comes up on your Mac. It follows the install skill, runs every step and checks the result; you just wait with a coffee. Installing and testing by hand is not recommended: there are many steps, and every Mac, game version and dump is a little different. If you prefer a window, MNG Launcher builds the games named above the VR section: download its signed DMG from Releases. For Red Alert 2 it needs only your own Steam install (no prod.keys) and follows its own skill.

Install skill

The install skill (.claude/skills/install-zelda/SKILL.md) is a short guide written for the assistant: which of your files goes where, the command for your case, how long each step takes (a build is 20–40 minutes; it must not be stopped), and the fix for each common error. Claude Code finds it by itself (or type /install-zelda). With any other assistant, start with: "Read .claude/skills/install-zelda/SKILL.md and follow it to install Tears of the Kingdom for me."

Red Alert 2 has its own: .claude/skills/install-ra2/SKILL.md (/install-ra2), for the Mac and iPhone / iPad builds, the movies made smaller for the phone and the Chinese languages. "Read .claude/skills/install-ra2/SKILL.md and follow it to install Red Alert 2 for me."

Let's maintain the shader list together: no more stutter

Tip

Every shader in the shared list is ready before you play. On a Mac the game does not stop to compile it, and on an iPhone or iPad nothing is missing from the picture. The more places players cover, the smoother the game gets for everyone.

The shared shader list now holds 18,365 shader variants (14,760 shaders) from the Mac, iPhone and iPad: only states a build does not make by itself, since every build makes each shader's default variant. Every build makes them from the player's own game files, so the list holds identifiers only, never game data. Helping takes no setup:

  1. Play. Every build carries each shader of the game for its default bind state. When your game meets a shader in a state that variant does not serve, or builds a render pipeline the app's list lacks, it notes it in shader-list-contribution.txt; default variants are never noted.
  2. Once the file holds 100 new rows (shaders and pipelines together), the game asks you one question before it starts, the same on a Mac, iPhone and iPad. With "Contribute shaders" the game sends the rows over HTTPS to the shader inbox (mac-native-games.com) on its own, shortly after it starts and then every half hour, and never interrupts your play. "Don't contribute" sends nothing. The switch in Settings changes your answer at any time.
  3. Everyone's next build carries them. Nobody stutters there again.

Only shader and pipeline identifiers, the game and app versions, the device model and system version and a random id are sent (on a Mac also the random id and nickname of the contributors board): no game data, saves or personal information. Nothing is sent before you answer "Contribute shaders". There is nothing to file by hand: contributions are no longer taken as GitHub issues (since 12 November 2026).

Stuttering when you first start playing or enter a new scene is expected while new shaders compile—don't be surprised. Performance typically improves as the cache warms up, and every shader the shared list gains is one nobody stutters on again.

Counting active players

The MNG Launcher and every game report at most once a day to mac-native-games.com, so we can count daily, weekly and monthly players and how many stop playing. A report holds four things only: a random install id of the device (on a Mac one file, ~/Library/Application Support/MacNativeGames/install-id.txt, shared by the Launcher and every game; on an iPhone or iPad a hash of the app's vendor id), the program (Launcher or the game), the platform and the version. No name, account, game file, save or IP address is kept; the site stores the id only as a salted hash and deletes the rows after 120 days.

It is on by default. To turn it off: on a Mac, MNG Launcher › Settings… (⌘,) and untick Count me as an active player — this stops it for the Launcher and every game of the Mac (it writes the file usage-stats-off beside install-id.txt); on an iPhone or iPad, the game's page in the Settings app.

What's new

  • 2026-11-23: Donkey Kong Bananza builds from a .nup or a dump folder, with its add-on content (Mac). Emerald Rush loads from your own files; it has not been played through.
  • 2026-11-23: Pokémon Pokopia's picture is no longer too dark (Mac).
  • 2026-11-23: Persona 5 Royal 1.0.2 and The Witcher 3 4.04b on Mac, early. Persona 5 Royal reaches the opening casino as a Mac app (games/p5r); The Witcher 3 plays at Kaer Morhen from a save, without an app yet (games/w3).
  • 2026-11-22: Red Dead Redemption 1.0.4 and 明星三缺一 2013 on Mac, early. Red Dead Redemption plays to Armadillo Station, without an app yet (games/rdr); 明星三缺一 plays a game of mahjong as a Mac app (games/mj2013).
  • 2026-11-22: Age of Calamity and Mario Kart 8 Deluxe have rewrites on the Zelda runtime, without an app yet (games/aocx, games/mk8dx).
  • 2026-11-22: Breath of the Wild's Game Over title and cutscene name cards no longer show the wrong characters.
  • 2026-11-14: WORLDEND SYNDROME 1.0.0 on Mac, experimental. Built from your own base files; title through ADV, saves and the first loop were played (games/worldend).
  • 2026-11-13: experimental TMNT Mac source port. Private-input build tools and host source are available under games/tmnt; complete playability and iOS are not validated.
  • 2026-11-11: Rankings, an anonymous frame-rate board (Tears of the Kingdom, Breath of the Wild, Ocarina of Time, Mac). A settings tab of its own (key 1) shows the latest board, one group per frame lock and interpolation setting. Join the board is off by default and never asked; once on, the session is kept on your Mac every 5 minutes and sent at start and every 30 minutes; your own row is green and everyone shows as an anonymous name (controls). Shad