Skip to content

Play your own Switch games on iPhone/iPad — one-click macOS app, no terminal. | 把 Switch 游戏装进 iPhone:图形界面一键构建,不用命令行。Bring your own game.

README: no emoji in the headings, contents and lists

v0lumehi16a7cec1129a
diff --git a/README.md b/README.md
index 47621465..0915386b 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
<div align="center">
-# 🎮 NX2Apple
+# NX2Apple
**Your Switch games, running on your iPhone.**
@@ -20,8 +20,8 @@
> **New in v0.4.5**
>
-> - 🖥️ **Mac app output** — build a double-clickable `.app` instead of an IPA
-> - 📱 **Older iPhones and iPads** — turn on BC texture decoding when building
+> - **Mac app output** — build a double-clickable `.app` instead of an IPA
+> - **Older iPhones and iPads** — turn on BC texture decoding when building
A macOS app takes your own game dumps and does the whole thing with a few clicks — unpack, rewrite
@@ -37,63 +37,63 @@ steps to get it onto the device.
---
-## 📖 What this is
+## What this is
This is a community fork of **[nxnative](https://github.com/seedds/nxnative)** — the NSO rewriter,
the Horizon host, the NVN-on-Metal layer and the per-game profiles are upstream work, and this fork
follows upstream automatically. What it adds:
-- **🖱️ A GUI app for everyone.** [nxnative for Mac](frontend/README.md) is a game library and a
+- **A GUI app for everyone.** [nxnative for Mac](frontend/README.md) is a game library and a
build tool in one window: pick a game's folder, choose *This Mac* or *iPhone / iPad*, and the build
runs with live progress from the script's own counts. Finished Mac games appear in the library with
their eShop key art, start with **Play**, and keep per-game launch options (the iPhone launcher's
settings: frame rate, console mode, upscaling, …). Device dependencies are detected and installed
with one click; English or Chinese, following the system. **It also downloads the repository for you
and updates itself** — no git knowledge needed.
-- **📦 A RomFS archive.** Tears of the Kingdom's 304,243 files become 127 shards — the difference
+- **A RomFS archive.** Tears of the Kingdom's 304,243 files become 127 shards — the difference
between an iOS install that fails with `PackageExtractionFailed` and one that works (details
below).
- **⏸️ Interrupted builds resume.** Extraction, DLC, module rewrite and shader compilation are kept
and reused: a failed or stopped build continues where it left off, and a rebuild after a tweak
reuses everything unchanged (upstream's pipeline; the app drives it with its own build folder).
-- **🔄 Follows upstream automatically.** A daily GitHub Actions job re-applies the fork's features
+- **Follows upstream automatically.** A daily GitHub Actions job re-applies the fork's features
onto upstream's tree, verifies the result (script parse, archive reader test, a macOS host build)
and pushes — or opens an issue with the log when a patch no longer fits.
-- **🎯 79 game profiles** with the required update version listed per game. Three are verified end
+- **79 game profiles** with the required update version listed per game. Three are verified end
to end on this fork; 45 are reported playable on an iPhone upstream.
---
-## 📚 Contents
+## Contents
-- [✨ Features at a glance](#features-at-a-glance)
-- [🚀 Quick start](#quick-start)
-- [🎮 Supported games](#supported-games)
-- [🔧 How it works](#how-it-works)
-- [📝 Update history](#update-history)
-- [🤝 Contributing shaders and game support](#contributing-shaders-and-game-support)
-- [⚠️ Limitations](#limitations)
-- [🙏 Credits](#credits)
-- [⚖️ Legal](#legal)
+- [Features at a glance](#features-at-a-glance)
+- [Quick start](#quick-start)
+- [Supported games](#supported-games)
+- [How it works](#how-it-works)
+- [Update history](#update-history)
+- [Contributing shaders and game support](#contributing-shaders-and-game-support)
+- [Limitations](#limitations)
+- [Credits](#credits)
+- [Legal](#legal)
---
-## ✨ Features at a glance
+## Features at a glance
-| | Feature | Notes |
-|---|---|---|
-| 🖱️ | **One-click build** | Pick your files, press build. No command line, ever |
-| 📦 | **RomFS archiving** | 300,000 files → ~100 shards, so a 16 GB game installs |
-| 🔁 | **Resumable builds** | A stopped build continues; unchanged work is reused |
-| 🧩 | **79 game profiles** | Each with the exact update version it needs |
-| 📲 | **Install guide** | The three steps to the phone, with Reveal-in-Finder |
-| 🌏 | **Bilingual** | English / 简体中文, picked from the device language |
-| ⬇️ | **Self-installing** | Downloads the repository and updates itself |
-| 🔄 | **Auto upstream sync** | Daily, verified, with a fallback issue if a patch breaks |
+| Feature | Notes |
+|---|---|
+| **One-click build** | Pick your files, press build. No command line, ever |
+| **RomFS archiving** | 300,000 files → ~100 shards, so a 16 GB game installs |
+| **Resumable builds** | A stopped build continues; unchanged work is reused |
+| **79 game profiles** | Each with the exact update version it needs |
+| **Install guide** | The three steps to the phone, with Reveal-in-Finder |
+| **Bilingual** | English / 简体中文, picked from the device language |
+| **Self-installing** | Downloads the repository and updates itself |
+| **Auto upstream sync** | Daily, verified, with a fallback issue if a patch breaks |
---
-## 🚀 Quick start
+## Quick start
1. **Download the app** — [latest release](https://github.com/LNPANDY/NX2Apple/releases/latest)
(`NS-Port-Builder-macOS-arm64.zip`). Unzip, right-click → Open the first time.
@@ -108,7 +108,7 @@ follows upstream automatically. What it adds:
---
-## 🎮 Supported games
+## Supported games
**3 verified end to end on this fork** (build → install → play on a real iPhone), **29 reported
playable upstream**, **58 profiles** in total. The full table with the exact update version each
@@ -122,9 +122,9 @@ game needs is [below](#games).
---
-## 🔧 How it works
+## How it works
-### 🖥️ The GUI front end
+### The GUI front end
`frontend/` is a macOS app that does steps 2–5 below with a window instead of a terminal, for
people who would rather not read a build log: four inputs picked separately (base game, update,
@@ -202,7 +202,7 @@ Chinese (including which games are verified), are on the
[releases page](https://github.com/LNPANDY/NX2Apple/releases) and in
[docs/RELEASE_NOTES.md](docs/RELEASE_NOTES.md).
-## 📝 Update history
+## Update history
Newest first. The fork follows upstream daily, so its game list and host fixes arrive automatically.
@@ -222,7 +222,7 @@ Newest first. The fork follows upstream daily, so its game list and host fixes a
| 2026-10-20 | v0.2.0 | Bilingual (English / 中文) |
| 2026-10-20 | v0.1.0 | First release: GUI front end, RomFS archiving |
-## 🤝 Contributing shaders and game support
+## Contributing shaders and game support
Each new game needs its own bring-up: a profile (build IDs, memory layout, texture slots), a shader
reader if it packs them in a form we do not read, and patch points. **Two ways to help, both
@@ -237,7 +237,7 @@ useful:**
Issues with a full `Documents/log.txt` get looked at first — that log usually names the exact
missing piece.
-## 🔄 Staying current with upstream
+## Staying current with upstream
A scheduled GitHub Actions workflow (`.github/workflows/sync-upstream.yml`, daily 21:30 UTC, also
runnable by hand) follows [seedds/nxnative](https://github.com/seedds/nxnative): it re-applies this
@@ -247,7 +247,7 @@ pushes — or opens an issue with the log when a patch no longer fits, pushing n
fresh repository rather than a true fork, so GitHub's own "Sync fork" does not apply here; the last
synced upstream commit lives in `.upstream-ref`.
-## 🛠️ Using it
+## Using it
### 1. Build the app (as upstream)
@@ -359,7 +359,7 @@ The index may sit at any of these places; the reader tries them in order:
<DM_ROMFS>/romfs/romfs.idx
```
-## 📲 Playing
+## Playing
**Touch controls.** Two layouts (tap the button at the top centre to switch): 2D (left stick,
A/B/X/Y, shoulders, − / +) and 3D (adds a D-pad, a right stick and L3 / R3). With no controller
@@ -382,7 +382,7 @@ DM_OPMODE=0 # handheld mode: 720p render instead of the docked 1080p
goes wrong, send `log.txt` (the previous run is `log.prev.txt`). Short stutters the first time a new
scene appears are normal: the app compiles graphics for it once and remembers them.
-## 🎯 Using it for another game
+## Using it for another game
The archive format has nothing game-specific in it: the packer walks whatever directory you give it
and the reader looks paths up in that tree. To switch games:
@@ -408,7 +408,7 @@ Three things to watch for:
Games from upstream's tested list (4–6 GB) need roughly 20–30 shards at 200 MiB, well inside the
limit, and their memory footprint is far below the per-app budget that stops Tears of the Kingdom.
-## 🧩 What changed against upstream
+## What changed against upstream
Five files added, four modified. The fs layer keeps its normal path handling: when an archive is
open, `host_path_ex` hands out a synthetic path (`@romfsarc:<guest path>`) for entries on the
@@ -434,7 +434,7 @@ past the end would return the next file's bytes).
The mount is recognised by its **directory**, not its name: titles differ (`rom` for most games,
`content` for Tears of the Kingdom).
-## 🗂️ Games
+## Games
79 game profiles ship with this repository. A profile is what makes a build possible —
the game's build IDs, memory layout, shader tables and per-game switches — and this fork adds the
@@ -526,7 +526,7 @@ update layers over it). "无(v0)" = the base game alone is enough.
| Brain Memory Training Academy | `0100F5D01DA3A000` | 无(v0) | Profile present; not verified on a phone |
| Super Mario Galaxy 2 | `0100FD8022DAA000` | 1.4.0 (v393216) | Profile present; not verified on a phone |
-## ✅ Verified on
+## Verified on
- **Tears of the Kingdom** (0100F2C0115B6000, v1.0.0 + update 1.4.3): 304,243 files packed into 127
files; all 304,243 byte-compared against the source (`verify: OK`); the game runs from the archive
@@ -552,7 +552,7 @@ to tell from `Documents/log.txt` (resident + headroom: ~3,375 MB = not in effect
<a id="limitations"></a>
-## ⚠️ Limitations
+## Limitations
**What to expect before you start:**
@@ -573,7 +573,7 @@ to tell from `Documents/log.txt` (resident + headroom: ~3,375 MB = not in effect
- **No dedup or compression.** Shards are the source bytes verbatim, so `verify` is a plain
comparison and a repack is deterministic.
-## 🙏 Credits
+## Credits
**Community contributors** — this project's code is not one maintainer's output:
@@ -600,7 +600,7 @@ All of the emulation work is other people's. This repository adds the archive su
`dm/third_party` ships other projects with their licenses ([list](dm/third_party/README.md)).
-## ⚖️ Legal
+## Legal
**What this project is.** A build tool for games you already own. It reads dumps you made of your
own cartridges and purchases, on your own machine, and produces a package for your own device.
diff --git a/README.zh-CN.md b/README.zh-CN.md
index dbb1ed74..f5521961 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -1,6 +1,6 @@
<div align="center">
-# 🎮 NX2Apple
+# NX2Apple
**你的 Switch 游戏,跑在你的 iPhone 上。**
@@ -20,8 +20,8 @@
> **v0.4.5 新增**
>
-> - 🖥️ 可输出 Mac App
-> - 📱 支持老的 iPhone 和 iPad,构建时开启 BC 纹理
+> - 可输出 Mac App
+> - 支持老的 iPhone 和 iPad,构建时开启 BC 纹理
一个 macOS App 拿你自己导出的游戏文件,点几下就把整件事做完——解包、为 Apple 芯片重写游戏代码、把
@@ -36,57 +36,57 @@ shader 翻译成 Metal、打包出装得进手机的瘦身 IPA 和分片 RomFS
---
-## 📖 这是什么
+## 这是什么
本仓库是 **[nxnative](https://github.com/seedds/nxnative)** 的社区 fork——NSO 重写器、Horizon 宿主层、
NVN-on-Metal、各游戏的 profile 都是上游的工作,本 fork 自动跟随上游。在此之上它增加了:
-- **🖱️ 给普通用户的图形界面。** [nxnative for Mac](frontend/README.md) 把游戏库和构建工具放在一个窗口里:
+- **给普通用户的图形界面。** [nxnative for Mac](frontend/README.md) 把游戏库和构建工具放在一个窗口里:
选好游戏文件夹,选择「这台 Mac」或「iPhone / iPad」,构建过程按脚本自己的计数实时显示进度。构建好的
Mac 游戏带着 eShop 封面出现在游戏库里,点 **Play** 即可启动,并可为每个游戏设置启动选项(与 iPhone
启动器相同:帧率、主机模式、超分辨率等)。设备依赖自动检测并一键安装;界面跟随系统语言显示中文或英文。
**它还会替你下载仓库、并自己更新自己**——完全不需要懂 git。
-- **📦 RomFS 归档。** 《王国之泪》的 304,243 个文件变成 127 个分片——这就是 iOS 从
+- **RomFS 归档。** 《王国之泪》的 304,243 个文件变成 127 个分片——这就是 iOS 从
`PackageExtractionFailed` 安装失败到安装成功之间的差别(细节见下)。
- **⏸️ 构建中断可续。** 解包、DLC、模块改写和 shader 编译都会保留复用:失败或中途停止的构建从上次
继续,参数没变的重新构建直接复用一切。
-- **🔄 自动跟随上游。** 每天一次的 GitHub Actions 把本 fork 的特性重新应用到 upstream 新树,验证
+- **自动跟随上游。** 每天一次的 GitHub Actions 把本 fork 的特性重新应用到 upstream 新树,验证
(脚本解析、归档读取测试、macOS 宿主编译)后推送——补丁对不上时开 issue 附日志,不推送。
-- **🎯 79 个游戏 profile**,每个游戏需要的更新包版本单独列出。三个在本 fork 完整验证;44 个上游
+- **79 个游戏 profile**,每个游戏需要的更新包版本单独列出。三个在本 fork 完整验证;44 个上游
报告 iPhone 可玩。
---
-## 📚 目录
+## 目录
-- [✨ 功能一览](#功能一览)
-- [🚀 快速开始](#快速开始)
-- [🎮 支持的游戏](#支持的游戏)
-- [🔧 工作原理](#工作原理)
-- [📝 更新历史](#更新历史)
-- [🤝 参与贡献:着色器与新游戏](#参与贡献着色器与新游戏)
-- [⚠️ 限制](#限制)
-- [🙏 致谢](#致谢)
-- [⚖️ 法律](#法律)
+- [功能一览](#功能一览)
+- [快速开始](#快速开始)
+- [支持的游戏](#支持的游戏)
+- [工作原理](#工作原理)
+- [更新历史](#更新历史)
+- [参与贡献:着色器与新游戏](#参与贡献着色器与新游戏)
+- [限制](#限制)
+- [致谢](#致谢)
+- [法律](#法律)
---
-## ✨ 功能一览
+## 功能一览
-| | 功能 | 说明 |
-|---|---|---|
-| 🖱️ | **一键构建** | 选好文件,按一下构建。全程不用命令行 |
-| 📦 | **RomFS 归档** | 30 万文件 → 约 100 个分片,16 GB 的大作也装得上 |
-| 🔁 | **断点续传** | 中断的构建接着跑;没变的部分直接复用 |
-| 🧩 | **79 个游戏 profile** | 每个都标注它需要的精确更新版本 |
-| 📲 | **安装引导** | 装到手机的三步,带「在访达中显示」 |
-| 🌏 | **中英双语** | 跟随设备语言,标题栏随时切换 |
-| ⬇️ | **自助安装** | 自动下载仓库,App 自己也能更新自己 |
-| 🔄 | **自动同步上游** | 每天一次,带验证;补丁失效会开 issue |
+| 功能 | 说明 |
+|---|---|
+| **一键构建** | 选好文件,按一下构建。全程不用命令行 |
+| **RomFS 归档** | 30 万文件 → 约 100 个分片,16 GB 的大作也装得上 |
+| **断点续传** | 中断的构建接着跑;没变的部分直接复用 |
+| **79 个游戏 profile** | 每个都标注它需要的精确更新版本 |
+| **安装引导** | 装到手机的三步,带「在访达中显示」 |
+| **中英双语** | 跟随设备语言,标题栏随时切换 |
+| **自助安装** | 自动下载仓库,App 自己也能更新自己 |
+| **自动同步上游** | 每天一次,带验证;补丁失效会开 issue |
---
-## 🚀 快速开始
+## 快速开始
1. **下载 App** —— [最新版本](https://github.com/LNPANDY/NX2Apple/releases/latest)
(`NS-Port-Builder-macOS-arm64.zip`)。解压,首次启动右键 → 打开。
@@ -100,7 +100,7 @@ NVN-on-Metal、各游戏的 profile 都是上游的工作,本 fork 自动跟
---
-## 🎮 支持的游戏
+## 支持的游戏
**3 款在本 fork 完整验证**(构建 → 安装 → 真机可玩)、**29 款上游报告可玩**、**共 58 个 profile**。
每款游戏需要的精确更新版本见[完整表格](#支持的游戏)。
@@ -113,9 +113,9 @@ NVN-on-Metal、各游戏的 profile 都是上游的工作,本 fork 自动跟
---
-## 🔧 工作原理
+## 工作原理
-### 🖥️ 图形界面
+### 图形界面
`frontend/` 是一个 macOS App,用窗口代替终端完成下面的第 2–5 步,给不想读构建日志的人用:四项输入
分开选(本体、更新、DLC、`prod.keys`)、依赖面板检测并安装缺的东西、脚本真实的阶段列表和实时百分比、
@@ -176,7 +176,7 @@ romfs.00 ... .125 126 个分片,每片 200 MiB,源文件字节原样
</details>
-## 🖥️ 图形界面
+## 图形界面
`frontend/` 是一个 macOS App,用窗口代替终端完成下面第 2–5 步,给不想读构建日志的人用:带封面的游戏库;
构建页(选一个游戏文件夹,或分别选本体、更新包、DLC 和 `prod.keys`;目标为 Mac 或 iPhone);直接显示
@@ -202,7 +202,7 @@ cd frontend && swift run # 或直接双击 frontend/nxnative.app
[Releases 页面](https://github.com/LNPANDY/NX2Apple/releases),仓库内也存了一份:
[docs/RELEASE_NOTES.md](docs/RELEASE_NOTES.md)。
-## 📝 更新历史
+## 更新历史
最新在上。本 fork 每天跟随上游,标「同步上游」的条目是自动来的。
@@ -222,7 +222,7 @@ cd frontend && swift run # 或直接双击 frontend/nxnative.app
| 2026-10-20 | v0.2.0 | 中英双语 |
| 2026-10-20 | v0.1.0 | 首个版本:图形界面、RomFS 归档 |
-## 🤝 参与贡献:着色器与新游戏
+## 参与贡献:着色器与新游戏
每款新游戏都需要单独的 bring-up:profile(build ID、内存布局、纹理槽位)、必要时的 shader 读取器、
以及补丁点。**两种帮忙方式,都有用:**
@@ -235,7 +235,7 @@ cd frontend && swift run # 或直接双击 frontend/nxnative.app
带完整 `Documents/log.txt` 的 issue 会优先看——那份日志通常能直接指出缺的是什么。
-## 🔄 跟随上游更新
+## 跟随上游更新
一个定时的 GitHub Actions 工作流(`.github/workflows/sync-upstream.yml`,每天 21:30 UTC,也可手动
触发)跟随 [seedds/nxnative](https://github.com/seedds/nxnative):通过 `scripts/sync_upstream.py`
@@ -244,7 +244,7 @@ cd frontend && swift run # 或直接双击 frontend/nxnative.app
新建的仓库而非真正的 fork,GitHub 自带的「Sync fork」用不了;上次同步的上游提交记录在
`.upstream-ref`。
-## 🛠️ 使用方法
+## 使用方法
### 1. 构建 App(与上游相同)
@@ -350,7 +350,7 @@ App 会先找 `romfs.idx`(`dm/ios/Sources/main.m` 的 `romfs_locate`)。没
<DM_ROMFS>/romfs/romfs.idx
```
-## 📲 游玩
+## 游玩
**触屏操控。** 两种布局(点顶部中央的按钮切换):2D(左摇杆、A/B/X/Y、肩键、−/+)和 3D
(增加十字键、右摇杆和 L3/R3)。未连接手柄时,触到控件以外的区域会送到游戏的触屏。
@@ -371,7 +371,7 @@ DM_OPMODE=0 # 掌机模式:720p 渲染而不是底座的 1080p
发出来(上一次运行的是 `log.prev.txt`)。新场景第一次出现时短促卡顿是正常的:App 会为它
编译一次图形并记住。
-## 🎯 换其他游戏
+## 换其他游戏
归档格式里没有任何与具体游戏绑定的东西:打包工具遍历你给的目录,读取层在那棵树里查路径。换游戏只需要:
@@ -394,7 +394,7 @@ DM_OPMODE=0 # 掌机模式:720p 渲染而不是底座的 1080p
上游测试列表里的游戏(4–6 GB)按 200 MiB 大概需要 20–30 片,远低于上限,内存占用也远低于
《王国之泪》撞上的那个单 App 预算。
-## 🧩 相对上游的改动
+## 相对上游的改动
新增 5 个文件,修改 4 个。文件系统层保留原有的路径处理:归档打开时,`host_path_ex` 对归档挂载点上的
条目返回一个合成路径(`@romfsarc:<guest 路径>`),`OpenFile` / `GetEntryType` / `OpenDirectory`
@@ -417,7 +417,7 @@ DM_OPMODE=0 # 掌机模式:720p 渲染而不是底座的 1080p
挂载点按**目录**识别,而不是按名字:各游戏的挂载名不同(多数是 `rom`,《王国之泪》是 `content`)。
-## 🗂️ 支持的游戏
+## 支持的游戏
本仓库自带 79 个游戏 profile。profile 决定了一个游戏能不能构建——build ID、内存布局、
shader 表、每个游戏各自的开关;本 fork 在此基础上加了 RomFS 归档层,让大体积游戏能装得下。
@@ -511,7 +511,7 @@ shader 表、每个游戏各自的开关;本 fork 在此基础上加了 RomFS
「上游报告 iPhone 可玩」是上游项目的结果,本 fork 未重新测试。只有 profile 不保证游戏能启动——
游戏所需的宿主改动属于上游工作,本 fork 跟随上游。
-## ✅ 验证情况
+## 验证情况
- **《王国之泪》**(0100F2C0115B6000,v1.0.0 + 更新 1.4.3):304,243 个文件打成 127 个文件;
304,243 个文件全部与源目录逐字节比对通过(`verify: OK`);游戏从归档正常运行于 macOS
@@ -533,7 +533,7 @@ ad-hoc 签名——无签名的二进制没有可供侧载工具读取 entitleme
resident + headroom:约 3,375 MB = 未生效,6–8 GB = 已生效)见
[dm/ios/ENTITLEMENTS.md](dm/ios/ENTITLEMENTS.md)。
-## ⚠️ 限制
+## 限制
- **只读。** 归档从不写入;存档和临时数据照旧走各自的挂载点。
- **大小写敏感查找。** 名称按源目录树原样存储,所以宿主的 APFS 大小写不敏感别名机制对归档条目
@@ -542,7 +542,7 @@ resident + headroom:约 3,375 MB = 未生效,6–8 GB = 已生效)见
- **索引常驻内存。** 《王国之泪》是 28 MB(其中 17.9 MB 是名称)。分片不常驻。
- **不做去重或压缩。** 分片是源字节原样,所以 `verify` 就是直接比对,重复打包的结果是确定的。
-## 🙏 致谢
+## 致谢
**社区贡献者** —— 这个项目的代码不只是一个维护者的输出:
@@ -565,7 +565,7 @@ resident + headroom:约 3,375 MB = 未生效,6–8 GB = 已生效)见
`dm/third_party` 里随附了其他项目及其许可证([列表](dm/third_party/README.md))。
-## ⚖️ 法律
+## 法律
**本项目是什么。** 一个为你**已拥有**的游戏做构建的工具。它读取你在自己机器上从自己的卡带和购买中
导出的文件,产出一个装到你自己的设备上的安装包。本仓库、App 和任何 Release 中都不包含、也不分发