AIsaAIsaStudio English 打开 AIsa Studio

S2Arm 开源:把 Switch 游戏静态重编译到 iPhone/iPad/Mac 原生运行

原标题:jhaizhou-ops/S2Arm: Run your own Switch games natively on iPhone, iPad and Mac: game code rewritten to ARM64, graphics direct to Metal, one app for the whole library. Bring your own games and keys. 把你自己的 Switch 游戏原生带到 iPhone / iPad / Mac。

GitHub 新仓库 jhaizhou-ops/S2Arm 将自有 Switch 游戏通过静态重编译转为 ARM64 原生代码,图形直转 Metal,在 iPhone/iPad(iOS/iPadOS 18+)和 Apple silicon Mac(macOS 15+)上原生运行,非模拟器。提供 Mac/Windows 图形化 launcher,支持 AI 通过 s2armctl 控制接口完成导入、构建和排障;211 款游戏 95% 一次构建成功,Zelda 王国之泪构建约 34 分钟,iPhone 17 Pro Max 实测姆吉拉的 60 fps 满帧、发热后 37–43 fps。支持 Android/HarmonyOS 尚在开发中,Apache-2.0 许可。

为什么值得看

README 给出了静态重编译原理、211 款游戏 95% 构建成功率和实测帧率数据,可据此判断其在真机上的实际表现。

阅读原文 ↗

本页的摘要、推荐理由与解读出自 AIsa Studio 的 AI 风向智能体,原文版权归原作者所有。

原文

GitHub 上的新仓库 jhaizhou-ops/S2Arm,创建 1 天,已有 843 星(平均每天 837 星)。 Run your own Switch games natively on iPhone, iPad and Mac: game code rewritten to ARM64, graphics direct to Metal, one app for the whole library. Bring your own games and keys. 把你自己的 Switch 游戏原生带到 iPhone / iPad / Mac。 主题:apple-silicon, arm64, game-porting, ios, ipados, macos, metal, s2arm, static-recompilation, switch 语言:C#

README:

Your own Switch games, running natively on iPhone, iPad and Mac. Game code is rewritten to native ARM64 and runs directly on the device's processor, with graphics going straight to Metal. Your whole library lives in one app, and a few clicks in the Mac or Windows launcher take a game from import to play.

Platforms: iPhone / iPad (iOS / iPadOS 18 and later) · Mac (Apple silicon, macOS 15 and later) · Build on Mac or Windows · Android / HarmonyOS coming soon · License: Apache-2.0 · Bring your own games

简体中文 · Download the launcher · All releases · Evidence

A native port, not an emulator

The game's own ARM64 code is rewritten at build time and then runs directly on the processor in your iPhone, iPad or Mac. There is no CPU emulator in between. Graphics calls are translated straight to Metal, and system services come from a native host. That is where the speed, the low heat and the battery life come from. Evidence

One app, your whole library

Every game you import goes into the same S2Arm app; open it and pick what to play. The whole library takes a single App slot on your developer account, so adding a game never means installing another app or spending another signing slot. Evidence

Graphical launchers, next to zero setup

There is a graphical launcher for Mac and one for Windows. On first launch the welcome page boils everything down to three steps: get this computer ready, add your keys, add your games, with a single primary button at any moment. Everything else is either bundled or fetched in one click, and you never touch a command line.

After you click Build, every stage shows its progress, elapsed and remaining time, and disk use. Several games can queue up and build one after another. Evidence

Let an AI drive

Both the Mac and Windows launchers expose a control interface, s2armctl. An AI assistant can import games, build, install, follow progress and read errors, and every step shows up in the launcher window. A companion self-check, self-fix and feedback toolkit lets the AI find a problem, apply the documented fix, and, when it cannot, package a diagnostic bundle for you to file. Watch an AI diagnose and fix a real problem end to end: Evidence

Have an AI do it for you

Send this to your AI assistant (it needs to be able to run commands on your computer):

Please read https://github.com/jhaizhou-ops/S2Arm/blob/main/launchers/macos/skill/s2arm-operator/SKILL.md and then help me install my Switch game on my iPhone.

It moves forward with a few commands, and you can watch every step in the launcher window:

/Applications/S2Arm.app/Contents/Resources/s2armctl start        # open and connect to the launcher
/Applications/S2Arm.app/Contents/Resources/s2armctl next         # what to do now, who does it, and why
/Applications/S2Arm.app/Contents/Resources/s2armctl diag export ~/Desktop/S2Arm-diagnostics.zip   # export a diagnostic bundle if it cannot fix a problem

Anything only you can do (system permission prompts, signing in with your Apple ID, tapping Trust on your phone), the AI stops and asks you to do. On Windows, use s2armctl.cmd in the launcher folder with the same commands; exporting a diagnostic bundle is currently Mac-only.

Tested at scale

211 games surveyed with a 95% first-try build success rate. 4,700+ test runs on real iOS devices and 1,000+ on macOS. Evidence

Fast, smooth, and easy on the battery

On a 16 GB MacBook Air (M3), from importing a game to a finished iPhone build, completely cold:

Game Game files Shaders Build time
Diablo III 23.5 GB 1,222 6.4 min
Animal Crossing: New Horizons 12.0 GB 9,315 8.6 min
The Legend of Zelda: Tears of the Kingdom 17.5 GB 26,999 34 min

The Nintendo Switch 2 edition of The Legend of Zelda: Ocarina of Time, measured on an iPhone 17 Pro Max: a full 60 fps while the phone is cool, 37–43 fps once sustained load has heated it up, at about 0.15 J per frame. Evidence

Platforms

Platform Support
iPhone / iPad iOS / iPadOS 18 and later; every game is chosen inside one app
Mac Apple silicon, macOS 15 and later; builds locally and plays games right on the Mac
Windows Graphical launcher that builds and installs games for iPhone / iPad
Android / HarmonyOS Coming soon

Evidence

Getting started

  1. Download the Mac or Windows launcher from the download page and open it. Building for iPhone on a Mac needs the free Xcode from the App Store, signed in with your Apple ID; the launcher walks you through it.
  2. Import your own keys and games. Put the base game, updates and DLC in one folder and import them together.
  3. Choose iPhone / iPad or this Mac, then click Build.
  4. Follow the launcher to sign and install with your own Apple ID (the Windows launcher ships with the

原文版权归 GitHub 爆发仓库 及原作者所有,本站转载仅供阅读。如需删除,请联系 support@aisa.one。