Skip to content

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

Docs: release notes for v0.2.0 (bilingual front end)

LNPANDY5738460b8f38
diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md
index cfcb2855..363d62aa 100644
--- a/docs/RELEASE_NOTES.md
+++ b/docs/RELEASE_NOTES.md
@@ -1,43 +1,52 @@
-# NS Port Builder v0.1.0 — release notes
+# NS Port Builder v0.2.0 — release notes
-This is the text of the [v0.1.0 release](https://github.com/LNPANDY/nxnative-romfs-archive/releases/tag/v0.1.0), kept in the repository so it can be reviewed and updated with the code. 中文说明在英文下方。
+This is the text of the [v0.2.0 release](https://github.com/LNPANDY/nxnative-romfs-archive/releases/tag/v0.2.0). The v0.1.0 notes are kept in the git history. 中文说明在英文下方。
-NS Port Builder — a macOS window for the whole pipeline (unpack → module rewrite → shader compile → slim IPA → RomFS archive shards), so a first build does not need a terminal.
+Bilingual interface: the app now speaks English, and Chinese only when your device does.
<details>
-<summary>界面截图(点开)</summary>
+<summary>Screenshot (click to expand)</summary>
-<img src="../frontend/screenshots/main-window.png" width="620" alt="NS Port Builder">
+<img src="../frontend/screenshots/main-window-en.png" width="620" alt="NS Port Builder">
</details>
+## What's new in v0.2.0
+
+**The interface is bilingual.** Before this release it was Chinese-only, which shut out anyone who
+does not read Chinese.
+
+- **It follows your device.** On first launch, any Chinese variant (Simplified, Traditional, Hong
+ Kong, Taiwan) gets Chinese; **every other language gets English.**
+- **`中文` / `EN` in the title bar** switches at any time. The button shows the language you would
+ switch *to*, and the choice is remembered across launches.
+- All 78 user-visible strings live in one table as `key: (Chinese, English)` pairs. A missing
+ translation renders as the key itself rather than a blank button, and a self-check reports any
+ empty side at launch.
+- Values that carry data — a missing package's path, exit codes, the archive destination — are
+ translated as whole sentences with placeholders, so word order stays right in both languages.
+- Switching language re-renders the dependency rows and game-data slots immediately; it does not
+ disturb a running build.
+
+Also in this release: the label column no longer wraps ("Add-on content (DLC)" broke onto two lines
+at the old width), and the download now includes English and Chinese screenshots.
+
+Everything else is unchanged from v0.1.0: four inputs picked separately, dependency detection with
+one-click install, progress parsed from the script's own stage lines, and automatic RomFS archive
+shards.
+
## What this build is
-[`NS-Port-Builder-macOS-arm64.zip`](https://github.com/LNPANDY/nxnative-romfs-archive/releases/download/v0.1.0/NS-Port-Builder-macOS-arm64.zip) — the app itself, ad-hoc signed, Apple Silicon, macOS 13+.
-Unzip it anywhere and double-click. (Because the signature is ad-hoc, the first launch needs
-right-click → Open, or `xattr -dr com.apple.quarantine "NS Port Builder.app"`.)
+[`NS-Port-Builder-macOS-arm64.zip`](https://github.com/LNPANDY/nxnative-romfs-archive/releases/download/v0.2.0/NS-Port-Builder-macOS-arm64.zip)
+— the app itself, ad-hoc signed, Apple Silicon, macOS 13+. Unzip it anywhere and double-click.
+Because the signature is ad-hoc, the first launch needs right-click → Open, or
+`xattr -dr com.apple.quarantine "NS Port Builder.app"`.
**This is a front end only.** It drives the scripts of
[nxnative-romfs-archive](https://github.com/LNPANDY/nxnative-romfs-archive), so you also need a
clone of that repository on the same Mac. The app finds it automatically when it sits next to the
-checkout, and otherwise you pick it once with 选择仓库… (the row turns green when the folder is a
-real checkout — it contains `dm/tools/nx_extract/Program.cs`).
-
-## What it does
-
-- **Four inputs, picked separately**: base game, update, add-on content (DLC, multi-select) and
- `prod.keys`. `选整个文件夹…` fills all four at once by title ID (`…000` base, `…800` update,
- `base + 0x1000 + n` DLC), skipping 0-byte files. Files in different folders are staged as
- symlinks, and the build folder still lands next to the base game.
-- **Device dependencies, detected and installable**: Xcode + iOS SDK, the Metal Toolchain,
- Homebrew, `xcodegen` / `zstd` / `spirv-cross`, the .NET SDK and the Python packages. Each row
- shows ✓ / ✗; a missing one gets an 安装 button that runs the real installer. 开始构建 stays
- disabled until everything is green, so a first build does not die halfway through.
-- **Progress from the script's own stages**: the app parses the `[k/n]` lines the build writes, so
- the list follows the real plan with a live percentage per stage — no guessed five-step list.
-- **Archive shards** at the end, which is what makes a large game installable at all.
-
-Paths are shown with your home directory abbreviated to `~`.
+checkout, and otherwise you pick it once with Choose repository… (the row turns green when the
+folder is a real checkout — it contains `dm/tools/nx_extract/Program.cs`).
## Verified games
@@ -71,22 +80,27 @@ report what you find.
# 中文说明
-NS Port Builder —— 一个 macOS 窗口,把整条流水线(解包 → 模块改写 → shader 编译 → 瘦身 IPA → RomFS 归档分片)包起来,第一次构建不用碰终端。
+界面双语化:现在支持英文,只有设备是中文时才显示中文。
-## 这个包是什么
+## v0.2.0 新增
-[`NS-Port-Builder-macOS-arm64.zip`](https://github.com/LNPANDY/nxnative-romfs-archive/releases/download/v0.1.0/NS-Port-Builder-macOS-arm64.zip) 就是 App 本身,ad-hoc 签名,Apple Silicon,macOS 13+。解压到任意位置双击即可。因为用的是 ad-hoc 签名,**首次启动需要右键 → 打开**,或者执行 `xattr -dr com.apple.quarantine "NS Port Builder.app"`。
+**界面支持中英双语。** 在此之前只有中文,把不看中文的人挡在了外面。
-**这只是前端。** 它调用的是 [nxnative-romfs-archive](https://github.com/LNPANDY/nxnative-romfs-archive) 里的脚本,所以这台 Mac 上还需要 clone 那个仓库。App 会自己找:放在仓库旁边能自动发现,找不到就用「选择仓库…」指定一次(目录里有 `dm/tools/nx_extract/Program.cs` 才算真正的仓库,那一行会变绿)。
+- **跟随设备语言。** 首次启动时,任何中文变体(简体、繁体、香港、台湾)都用中文,**其他所有语言一律英文**。
+- **标题栏的 `中文` / `EN` 按钮**随时切换。按钮显示的是你**将要切换到的**语言,选择会被记住。
+- 全部 78 条界面文案集中在同一张表里,每条都是 `key: (中文, 英文)` 配对。缺少翻译时会直接显示 key 本身而不是空白按钮,启动时还会自检并报告哪一边为空。
+- 带数据的文案——缺失的包路径、退出码、归档目标目录——整句翻译并用占位符替换,保证两种语言的语序都正确。
+- 切换语言会立即重新渲染依赖列表和游戏数据槽位,不会干扰正在运行的构建。
-## 它能做什么
+本次还包括:标签列不再折行(`Add-on content (DLC)` 在原来的宽度下会断成两行),下载包内附中英文两版截图。
+
+其余功能与 v0.1.0 相同:四项输入分开选、依赖检测与一键安装、从脚本自身阶段行解析的进度、自动生成 RomFS 归档分片。
+
+## 这个包是什么
-- **四项输入分开选**:游戏本体、更新包、追加内容 DLC(可多选)、`prod.keys`。用「选整个文件夹…」可以按 title ID 一次填满四项(`…000` 本体、`…800` 更新、`base + 0x1000 + n` DLC),0 字节文件自动跳过。文件分散在不同文件夹时,App 会用软链接搭一个暂存目录,构建产物仍然落在本体旁边。
-- **设备依赖检测 + 一键安装**:Xcode + iOS SDK、Metal Toolchain、Homebrew、`xcodegen` / `zstd` / `spirv-cross`、.NET SDK、Python 包。每项显示 ✓ / ✗,缺失的直接点「安装」跑真正的安装程序。依赖没齐时「开始构建」是禁用的,不会跑到一半才失败。
-- **进度来自脚本自己的阶段**:App 解析构建输出的 `[k/n]` 行,列表跟着真实的构建计划走,每个阶段带实时百分比,不是猜出来的五步。
-- **最后自动产出归档分片**,这是大体积游戏能装进手机的关键。
+[`NS-Port-Builder-macOS-arm64.zip`](https://github.com/LNPANDY/nxnative-romfs-archive/releases/download/v0.2.0/NS-Port-Builder-macOS-arm64.zip) 就是 App 本身,ad-hoc 签名,Apple Silicon,macOS 13+。解压到任意位置双击即可。因为用的是 ad-hoc 签名,**首次启动需要右键 → 打开**,或者执行 `xattr -dr com.apple.quarantine "NS Port Builder.app"`。
-路径显示时会把家目录缩写成 `~`。
+**这只是前端。** 它调用的是 [nxnative-romfs-archive](https://github.com/LNPANDY/nxnative-romfs-archive) 里的脚本,所以这台 Mac 上还需要 clone 那个仓库。App 会自己找:放在仓库旁边能自动发现,找不到就用「Choose repository…」指定一次(目录里有 `dm/tools/nx_extract/Program.cs` 才算真正的仓库,那一行会变绿)。
## 已验证的游戏