install-zelda
它能做什么
指导你使用自己的游戏提取文件,一步步构建 Zelda 应用,并解释常见的构建错误。它适合已经提取了自己游戏副本的玩家。
适用场景
- ✓当你想使用自己的游戏文件构建 Tears of the Kingdom 或 Breath of the Wild 时。
- ✓当构建失败,你需要用通俗的语言解释错误时。
- ✓当你希望把完成的应用设置到你的 Mac、iPhone 或 iPad 上的时候。
技能链接
https://github.com/ly05010419/MacNativeGames/blob/main/.claude/skills/install-zelda/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我用我自己提取的文件构建 Tears of the Kingdom,以便我在 Mac 上游玩。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能会检查你的 Mac,然后使用你自己提取的文件运行构建。它使用你自己的密钥文件,但不会将其打印出来,错误信息会指出修复方法。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Install Tears of the Kingdom / Breath of the Wild
You are helping a player turn their own game dump into an app. Done right, this is one build of 20–40 minutes, mostly waiting. Follow the steps in order. docs/install.md has the same steps for the player to read; you do not need it unless a step below points there.
Rules
- Only the player's own files. Never search the internet for, download, or ask anyone for game files,
prod.keys, title keys or firmware. If something is missing, tell the player what to dump from their own Switch and stop. - Never print, copy or paste key values. Pass the path of
prod.keyswith-k; do notcatit. - Never weaken a check. Do not edit
games/totk/assets/expected-*.json,build_app.pyor the Makefile to get past an error. A hash error means another version, an incomplete dump, or a fix that is already on a newermain. The error messages name the fix: read them. - The app the build makes contains the game. It is for this player only; do not upload it or offer to share it.
- Speak the player's language. Find what you can yourself; ask only for what you cannot find (where the files are, which device).
- Commands that need
sudo, a password or a click in a macOS dialog: ask the player to run them (in Claude Code, typing! <command>runs it in this session).
1. Check the Mac (about 2 minutes)
From the repository folder:
sw_vers -productVersion; uname -m
xcode-select -p; xcrun --show-sdk-path
ls -d /opt/homebrew/opt/opus /opt/homebrew/opt/libvpx; command -v python3.14
git log -1 --oneline; git status -sb | head -1
df -h .
| Needed | If not |
|---|---|
arm64 and macOS 26 or later (Metal 4) |
Stop. macOS 15 is not supported here; a community fork has a Metal 3 backend: https://github.com/1918662410-ship-it/MacNativeGames (not tested by this repository). |
| Xcode command line tools, with a working SDK | xcode-select --install (the player clicks the dialog). |
Homebrew in /opt/homebrew (the build looks only there) |
Install from https://brew.sh (the player runs it; it asks for the password). |
brew install opus libvpx python@3.14 |
Run it. Instead of Homebrew Python, uv run --python 3.14 build_app.py … works too. |
| The repository is current | git pull (or download a fresh ZIP). Many old build errors are fixed on main. |
Recommended when the full Xcode app is installed: xcodebuild -downloadComponent MetalToolchain. The build then compiles the startup shaders into the app, so it can be moved later and rebuilds are faster. Without it the build still works.
iPhone / iPad builds also need: full Xcode 26+ with the iOS platform, brew install xcodegen cmake ninja, the player's Apple ID in Xcode › Settings › Accounts (a free one works), and the device on iOS / iPadOS 26, iPhone 14 or newer, with Developer Mode on.
2. Find and identify the player's files
Ask where they are, or look for names only (never open prod.keys):
find ~ /Volumes -maxdepth 5 \( -iname '*.xci' -o -iname '*.nsp' -o -iname '*.nsz' -o -iname 'prod.keys' \) 2>/dev/null
The title ID is usually in the file name in brackets. The build decides by the file's content, not its name, and says when a file is on the wrong option.
| Title ID | What | Goes to |
|---|---|---|
0100F2C0115B6000 |
Tears of the Kingdom, base game | the first argument |
0100F2C0115B6800 |
Tears of the Kingdom, update | --update |
01007EF00011E000 |
Breath of the Wild, base game (or the 1.6.0 card image with update and DLC inside) | the first argument |
01007EF00011E800 |
Breath of the Wild, update | --update |
01007EF00011F001, 01007EF00011F002 |
Breath of the Wild DLC packs (each optional) | --dlc, once per pack |
What is supported:
- Tears of the Kingdom: base 1.0.0 as an uncompressed XCI or NSP, plus optionally one update 1.1.2, 1.2.1 or 1.4.3 as NSP or NSZ (no intermediate updates needed). Prefer 1.4.3: it is the most tested and the only version tested on iPhone / iPad. A card image that also holds its update is fine; the version still comes from
--update. - Breath of the Wild: the 1.6.0 card image (base + update + DLC in one XCI), or a base NSP with the 1.6.0 or 1.9.0 update NSP and optional DLC NSPs.
- A compressed base game (NSZ / XCZ) is not accepted: decompress it with the player's own
nsz -Dfirst.
Other things the build needs:
prod.keysfrom the same console (Lockpick_RCM). Keys
常见问题
如果缺少某个文件怎么办?
该技能会告诉你应从自己的 Switch 上提取什么,然后就到此为止。
我可以分享完成的应用吗?
不可以。该应用包含游戏内容,仅供你本人使用。
我需要输入管理员命令吗?
可能需要。需要 sudo 或密码的步骤会交给你自己运行。
详情
作者的原始描述
Build and install The Legend of Zelda Tears of the Kingdom or Breath of the Wild from the player's own game files with build_app.py, for Mac, iPhone or iPad, and fix what stops the build. Use when a player asks to install, build, package or set up the game, or pastes a build error.
热度
- GitHub 星标
- 6.9k
- 排名
- #13729
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …