MacNativeGames: Run Nintendo Switch ARM64 Code Natively on Apple Silicon with Metal

MacNativeGames: Run Nintendo Switch ARM64 Code Natively on Apple Silicon with Metal

GitHub Open Source
ly05010419/MacNativeGames

Run Tears of the Kingdom ARM64 code natively on Apple silicon with NVN graphics rebuilt on Metal.

Repository snapshot

  • Repository: ly05010419/MacNativeGames
  • Language: C
  • License: MIT
  • Stars: 7 320
  • Forks: 1 092

Daily open-source picks: GitHub Open Source on Telegram

What it is

MacNativeGames is a technical exploration focused on running Nintendo Switch game code natively on Apple silicon Macs, iPhones, and iPads. Rather than relying on a traditional hardware emulator, the project executes the game's original ARM64 binary code directly on the host CPU while rebuilding the NVN graphics pipeline on top of Apple's Metal API.

Why it matters

By leveraging the shared ARM64 architecture between Apple chips and the Switch's NVIDIA Tegra processor, this approach avoids the heavy overhead of CPU instruction translation. Graphics commands are mapped directly to Metal, allowing games to utilize modern Apple hardware acceleration while maintaining the original game logic and execution flow.

Key features

  • Executes original ARM64 game code directly on Apple silicon.
  • Translates NVN graphics API calls directly to Apple Metal.
  • Supports building native macOS applications and iOS IPAs from user-supplied dumps.
  • Offers experimental 6DoF VR streaming for Meta Quest 3 headsets.
  • Includes support documentation for community ports and auxiliary runtime hosts.

Quick start

To inspect the project structure and build scripts, clone the repository:

git clone https://github.com/ly05010419/MacNativeGames.git

Who should try it

This project fits developers and systems programmers interested in binary translation, graphics API mapping, and ARM architecture execution. It requires users to supply their own legally obtained game ROMs and system keys.

Verdict

A fascinating technical deep dive into cross-platform binary compatibility. It demands manual setup and patience, but offers a compelling look at native execution on Apple silicon.

Continue exploring

Get the next pick in Telegram: Follow GitHub Open Source

Curated from the repository README and metadata. No hands-on test is claimed; evaluate it in a sandbox before production use.

Report Page