[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116272":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":14,"stars30d":14,"stars90d":15,"forks30d":15,"starsTrendScore":14,"compositeScore":16,"rankGlobal":9,"rankLanguage":9,"license":17,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":18,"hasPages":18,"topics":20,"createdAt":9,"pushedAt":21,"updatedAt":22,"readmeContent":23,"aiSummary":24,"trendingCount":15,"starSnapshotCount":15,"syncStatus":25,"lastSyncTime":26,"discoverSource":27},116272,"ns2ios-shell","xinerqu\u002Fns2ios-shell","xinerqu","nxnative with a game-free shell: pack an IPA on Windows from your own NSP + prod.keys",null,"Python",55,15,53,1,0,44.21,"MIT License",false,"main",[],"2026-11-23 17:29:45","2026-11-23 07:28:26","# nxnative shell — pack an IPA without a Mac\n\nPlay your own Nintendo Switch games on iPhone and iPad. This fork of [nxnative](https:\u002F\u002Fgithub.com\u002Fseedds\u002Fnxnative) splits the\nbuild in two, so the Mac-only half happens **once** on a CI runner and everything that needs your game files happens on **your\nown machine — Windows, Linux or macOS, without Xcode**.\n\n| | Where | What |\n|---|---|---|\n| **1. Shell** | built by CI, downloaded once | A few MB of unsigned iOS app with **no game content at all** |\n| **2. Pack** | your machine | `scripts\u002Fnxn_pack.py` takes your NSP + `prod.keys`, rewrites the program, translates the shaders and writes them into the shell |\n\nThe shell is **game-agnostic**: one shell serves any game in the supported list. Nothing from any game ever reaches this\nrepository or CI.\n\n> 中文说明：[README.zh-CN.md](README.zh-CN.md)\n>\n> Upstream project and its own documentation (the Mac route): **[seedds\u002Fnxnative](https:\u002F\u002Fgithub.com\u002Fseedds\u002Fnxnative#readme)**.\n\n\n## Quick start (Windows)\n\n**Download one file: `ns2ios-packer.exe`** — the fifth asset of the newest release. That is the whole tool. It fetches the\nshell, the five executables and the packer itself **from that same release**, which is why the three can never fall out of\nstep with each other.\n\nWhat the machine still needs: **Python 3.9 or newer** (the packer is Python; the `.exe` is only its window), your own game\nfiles, and `prod.keys`.\n\n**Optional: if this machine has Apple's [Metal Developer Tools for Windows](https:\u002F\u002Fdeveloper.apple.com\u002Fmetal\u002F)**, the packer\ncompiles the shaders with it and the package needs **no first-launch shader compilation on the phone**. Without it nothing\nchanges: the shaders travel as source and are compiled once on the first launch (with a progress page, and the results are\nremembered). That toolchain is not ours to ship (its licence forbids it): only a copy you installed yourself is used, and if it\ncannot do the job the packer says so in one line and falls back to the source route.\n\n| Step | What you do |\n|---|---|\n| **1** | Run `ns2ios-packer.exe`. It looks up the newest release as soon as the window opens. |\n| **2** | Press **Check and download**. The shell zip, the five tools and the packer's source land in `ns2ios-packer-data\\versions\\v0.0.00xx\\`. |\n| **3** | The **Python** row finds your interpreter by itself; if it does not, press **Browse…**. Then press **Install deps** once — the packages go into that interpreter and nothing else. |\n| **4** | Pick the game folder (the one holding the NSP\u002FXCI), your `prod.keys`, and an **output folder**. Leave Library mode ticked, which it is by default. |\n| **5** | Press **Start packing**. Every step and its output appear in the log. The output folder ends up with **two things**: `ns2ios\\` (the game data, several GB) and `ns2ios.ipa` (tens of MB). |\n| **6** | Install `ns2ios.ipa` (SideStore, [Sideloadly](#notes-and-caveats) — which drops an entitlement, see the notes — or LiveContainer). The first launch compiles the shaders once, with a progress page. |\n| **7** | Copy the whole `ns2ios` folder into the **root of the Files app** (the app creates that folder there on its first launch). |\n\n**What an install looks like**: the app is called `ns2ios`, and on its first launch it creates a folder of its own in\nthe Files app, named after the app. The games themselves (RomFS, shader libraries, DLC) live in Files → `ns2ios` →\n`games` → `\u003Ctitle ID>`, and **reinstalling the shell touches none of it — the saves stay put too**.\n\n### Adding the next game\n\nLibrary mode (the default) is one app holding several games, so adding one is two things:\n\n1. **Pack it**: point the packer at the new game and press *Start packing* again.\n2. **Put it on the phone**: copy only the new **`ns2ios\u002Fgames\u002F\u003Ctitle ID>`** folder into `ns2ios\u002Fgames\u002F` on the phone,\n   then **install the new `ns2ios.ipa` over the old one** — that install is how the app learns about the new game.\n\n⚠️ **Do not copy the whole `ns2ios` folder again.** For a folder of the same name the Files app offers only *Replace*\nor *Keep Both*, and **Replace swaps the whole folder instead of merging into it**: `save\u002F` (saves and cheats) and the\nother games would go with it. Adding a game touches `games\u002F\u003Ctitle ID>` and nothing else.\n\nOnly want the new shell, no new game? The packer's **Repack IPA only** button writes a fresh `ns2ios.ipa` in\nseconds.\n\n**Where does it put things?** Everything downloaded lives beside the exe in `ns2ios-packer-data\\`, one folder per release.\nNothing is installed system-wide and the registry is untouched: delete that folder and the tool is gone.\n\n**Which games work**: see [docs\u002FSUPPORTED.md](docs\u002FSUPPORTED.md) — every one with its title ID and the version it was\nverified on, so you can match the hex in your file name against it.\n\n**Prefer the command line?** The window does nothing but assemble arguments for `scripts\u002Fnxn_pack.py`, which lives in the\nsource the tool downloaded. From `ns2ios-packer-data\\versions\\v0.0.00xx\\src\\ns2ios-shell-*`:\n\n```bat\npython scripts\\nxn_pack.py ..\\..\\..\\shell-\u003Cdate>-\u003Ccommit>.zip D:\\games\\hades2 ^\n    -k D:\\keys\\prod.keys --tools ..\\..\\..\\tools\n```\n\n`python scripts\\nxn_pack.py --help` lists every option; the window exposes the useful ones with a one-line explanation\neach. The GUI never invents anything the script cannot do.\n\n### After the pack\n\nThe **temporary files are removed as soon as the IPA is written**: the extraction, the rewritten modules, the split shaders\nand the assembled app tree add up to several times the size of the game (a 4 GB game leaves ~16 GB behind) and none of it is\nworth keeping. Only the few-KB log (`\u003Ctitle ID>_pack\\logs\\`) stays, because that is what explains a package that misbehaves\non the phone.\n\n- `--keep-work` keeps that tree, so repacking the same game skips the unpack and the translation\n- `--clean \u003Cgame folder>` clears out what an earlier run left\n- a cartridge dump (`.xci`) gets a `\u003Cfile>.xci.tid` next to it on the first pack, so the next one does not unpack it again\n\n## Cheats (Atmosphère format)\n\nThe launcher has a Cheats section; nothing extra to install:\n\n1. **Get a cheat file**: the usual Atmosphère `.txt` — entries start with `[Name]` and carry lines like `040A0000 address value`.\n2. **Paste** it into launcher → Cheats → \"Paste cheat codes\".\n3. **Switch on the entries you want.** The switches are remembered; clearing the text deletes the file from the phone too.\n4. **Press Play.** The panel writes `Documents\u002Fcheats\u002Fcheats.txt` and hands the switched-on names to the game.\n\n**Two kinds of entry, and the panel marks which is which:**\n\n| Mark | Meaning | On the iPhone |\n|---|---|---|\n| Changes values — safe | follows a pointer and changes a number in a game object (moon jump, infinite echoes) | works |\n| Patches instructions | rewrites an instruction of the game's program | **crashes on device**, so it starts off |\n\nTo try an instruction patch, turn on **Allow code patches** at the bottom of the section and switch on one entry.\n\n**Two protections:** a run that dies within 30 s of starting with a set of entries on turns those entries off next launch, with the reason under each one (one crash costs one launch); and addresses the rewriter itself changed are refused outright — those words are what makes the game run on iOS at all.\n\n**Versions must match:** the addresses belong to one version of the game. The panel compares the `BID:` in the pasted text with this build and says so in the footer when they differ.\n\n## Requirements\n\nOn the **packing machine**:\n\n| Need | How |\n|---|---|\n| The packer | `Source code (zip)` from the release — **`dm\u002F` must be there**, see above |\n| Python 3.9+ | `python -m pip install lz4 capstone fonttools backports.zstd pillow`, into **the interpreter that runs the packer** |\n| Five executables | From `nxnative-windows-tools.zip`, passed with `--tools`. They cover everything the packer shells out to, `zstd` included, so no separate utility hunt. The archive also carries `pyft\\`, a free-threaded Python (no GIL) that only the shader translation runs under: the same code there finishes about a third sooner. Nothing is installed, and a bundle without it translates as it always did |\n| `prod.keys` | Dumped from your own console. It never leaves your machine: it is passed to `nx_extract` as an argument and is not written to any log |\n\nNo .NET SDK, no C++ toolchain, no Mac. (Building the tools yourself is possible: `dotnet publish dm\u002Ftools\u002Fnx_extract -r win-x64\n--self-contained`, same for `dm\u002Fgfx\u002Ftools\u002Fdmsh_xlate`; SPIRV-Cross must be the `vulkan-sdk-1.4.357.0` tag.)\n\n**About Python**: a machine often has more than one, and the one `pip install` writes to must be the one that runs\n`nxn_pack.py`. The reliable form uses the same executable for both:\n\n```\nC:\\path\\to\\python.exe -m pip install lz4 capstone fonttools backports.zstd pillow\nC:\\path\\to\\python.exe scripts\\nxn_pack.py ...\n```\n\nThe packer checks for all five packages before it starts and prints the commands to run, rather than failing halfway.\n\n## File names do not matter\n\nThe packer identifies the game from the **metadata inside the NSP** — the plaintext `cnmt.xml` next to the (encrypted) content\nfiles, which carries the title ID, the content type (base game \u002F update \u002F DLC) and the version. So files can be named\nanything at all.\n\nThe `[XXXXXXXXXXXXX000]` and `[vN]` in a name are only read when a file carries no such metadata. **XCI cartridges** carry\nneither a ticket nor a readable header (an NCA header is encrypted with a key from its own key area), so on the first pack\nthe packer unpacks the dump and takes the title ID from the result, recording it in `\u003Cfile>.xci.tid`; later packs read that\ninstead of unpacking again.\n\nFormats: **NSP** (base game, updates, DLC), **XCI** (base game only) and **NUP** (one `.nup` holding the game, its\nupdates and its DLC — no keys needed; the packer unpacks it into `_nup_\u003Ctitle ID>` beside it, and `--clean` removes that\nagain). **NSZ is not supported** — unpack it first with `nsz -D \"file.nsz\"`.\n\n## Which games work, and which version\n\nAny game with a profile in [`dm\u002Fgames\u002F`](dm\u002Fgames\u002F). **Any version works**, with or without an update: the packer takes the\nnewest version it finds in the folder (override with `-p vN`) and builds it with the shaders split from that version's own\nfiles. Upstream tested each game on one version; on another version the app says so, and fixes made for the tested version\n(60 fps, for instance) do not apply to it.\n\nAn update is optional — the base game alone is enough. DLC files in the folder are packed too: each one's RomFS is\nextracted and mounted, so the game sees exactly the add-on content you put there, and none when the folder has none,\nexactly as on a Switch without them.\n\n## How it works\n\n```\nCI (once)          your machine                      iPhone\n─────────          ──────────────────────────────    ────────────────────\nshell_build.sh ──► nxn_pack.py\n  host program       ├ extract NSP      (nx_extract)\n  no game content    ├ rewrite program   (patch_nso.py)\n  no shaders         ├ split shaders     (shader_split.py)\n  no RomFS           ├ translate → MSL   (dmsh_xlate, spirv-cross)  ──► IPA ──► sideload\n                     ├ write Guest.framework (guest_dylib.py)            │\n                     └ assemble + pack (pack_ipa.py)                    ▼\n                                                                  first launch:\n                                                                  compile shaders\n```\n\nTwo things make one shell work for every game, both moved from compile time to run time:\n\n- the **module list** is read back from the `__dm\u003Cname>x0` sections of `Frameworks\u002FGuest.framework` (the game program is a\n  segment-only dylib instead of being compiled into the executable);\n- the **shader chain version** is read from the name of the `msl\u002Fb-\u003Cversion>` directory.\n\nThe shell is also compiled against a neutral placeholder profile, so the game's memory layout (`mem_used`, `app_pool`, …) is\nwritten by the packer into the app's `dm\u002Fenv.txt` and read by the host at startup.\n\n### Games that build their shaders at run time\n\nThe packer works from the game's own files; a few kinds of game keep their shaders somewhere else.\n\n**A LÖVE game just packs and plays.** LÖVE carries its shader wrapper as plain Lua inside the binary, so\n`dm\u002Fgfx\u002Ftools\u002Fgl_prebuilt.py` runs that wrapper instead of the game: handed the `resources\u002Fshaders\u002F*.fs` files it produces\nthe exact GLSL the game would compile at run time — the hashes match, because it is the same code doing the same work.\n`nxn_pack.py` does this by itself: nothing to install, nothing to run first. (Balatro's 19 `.fs` files come out as 35\nshaders; that is the mechanism, not a step you perform.)\n\n### Games that need one capture (**no Mac involved**)\n\nA few games cannot be packed in one go: they need one run of the game on the phone first, to collect the shaders it\nbuilds at run time, and then a second pack. **All of that happens on Windows plus the phone — no Mac** — it just costs one\nextra install and a minute of play.\n\n- **Super Mario Galaxy 1 and 2** (`010099C022B96000` \u002F `0100FD8022DAA000`, about a minute each): their shaders are not\n  programs in a file; they are what a GameCube\u002FWii GX pipeline configuration *becomes*, computed inside Hagi (a C++\n  shader compiler compiled to machine code) from `pipelineDB.pip`. There is nothing readable to run on a PC. Three steps:\n  pack with `--no-shaders`, install it, put `DM_VK_CAPTURE=vkcap` in `Documents\u002Fenv.txt` and run the game once, then pack\n  again with `--vk-capture`. Details: **[docs\u002FCAPTURE.md](docs\u002FCAPTURE.md)** ([中文](docs\u002FCAPTURE.zh-CN.md)).\n- **An OpenGL game that is not LÖVE**: the same shape, with `DM_GL_CAPTURE` and `--gl-capture` (the three steps are in\n  the section above).\n\nBoth count as **supported games**, just slower. Keep the captured folder: repacking the same game needs `--vk-capture`\nagain, not another run; a different game needs its own.\n\n### Games that cannot be packed yet\n\nTheir shaders sit inside the game's own Oodle or LZ5 archives, and only the game's own decoder can unpack those — code\nthat is Switch arm64 machine code, which only an Apple silicon (M-series) Mac can run natively. **The current packer has\nno such step**, so they fail on Windows, Linux and macOS alike. The list is the rows marked 暂不支持 in\n[docs\u002FSUPPORTED.md](docs\u002FSUPPORTED.md); the table below only records where each one keeps its shaders:\n\n| Game | Title ID | Where its shaders live |\n|---|---|---|\n| Bayonetta 3 | `01004A4010FEA000` | PlatinumGames PKZ |\n| DRAGON QUEST XI S | `01006C300E9F0000` | legacy Unreal pak (LZ5) |\n| FINAL FANTASY RESONANCE | `0100606026F12000` | Unreal ShaderArchive |\n| OCTOPATH TRAVELER 0 | `01005270232F2000` | Unreal ShaderArchive |\n| Pokémon Legends: Z-A | `0100F43008C44000` | Trinity packs (Game Freak) |\n\nThe packer stops as soon as it has read the title ID and loaded the game's profile — **before it unpacks anything** —\nand says which game it is and why; it never produces an IPA that installs but cannot draw. These carry a matching\nmark in the supported list.\n\n> Upstream's Mac route does pack these, in **one run**: it builds a Mac host inside the pack and unpacks the shaders\n> with the game's own decoder — no separate capture, no phone. The difference is that it wants that machine to be an\n> Apple silicon Mac, while the group above is the other way round: the phone captures and Windows packs, no Mac at all.\n\nEvery other game on the supported list packs and plays from its own files, LÖVE and Vulkan titles included.\n\n## Notes and caveats\n\n- **The IPA contains your game files.** It is for your own use; do not distribute it.\n- **The memory limit is about 3.4 GB, and the shell asks to raise it.** Without the `increased-memory-limit` entitlement iOS\n  allows a process about 3,375 MB, while the emulated game alone asks for 3,285 MiB, so a big title sits right against the\n  wall — and going over it is a **memory kill with no crash log**, not a crash. The shell is signed ad hoc at build time with\n  that entitlement inside `DmIOS`, because an unsigned binary has no signature for an install tool to read it from; whether it\n  survives the re-sign depends on the tool:\n\n  | How it is installed | Entitlement kept |\n  |---|---|\n  | AltStore Classic 2.2+, Impactor, Xcode with a personal team | yes |\n  | LiveContainer | yes (measured 2026-10-23: `6140 MB` on an iPhone 16 Pro Max) |\n  | SideStore with a free Apple ID | yes, after a one-off fix to the App ID (below) |\n  | Sideloadly | no (the game runs under the 3.4 GB cap as before) |\n\n  **How the SideStore + free Apple ID fix works** (one-off; every weekly refresh keeps it afterwards): a free account\n  can have this capability, but older SideStore builds never write it into the App ID\n  ([SideStore#1616](https:\u002F\u002Fgithub.com\u002FSideStore\u002FSideStore\u002Fissues\u002F1616)) — the install succeeds silently, no error,\n  the memory just stays at 3.3 GB. Fix it once:\n\n  1. Install the IPA with SideStore as usual (the App ID is now registered under your account, without the entitlement);\n  2. With the same SideStore and the **same Apple ID**, install\n     [GetMoreRam](https:\u002F\u002Fgithub.com\u002FhugeBlack\u002FGetMoreRam), sign in under Settings (two-factor applies), open\n     App IDs → Refresh, find `org.nxnative.\u003Ctitle ID>` and tap **Add Increased Memory Limit**. That one only: Extended\n     Virtual Addressing is paid-account-only and the shell does not need it. If the App ID is not in the list, check\n     that the Apple ID is the same one;\n  3. Reinstall the IPA in SideStore — **over the top, do not delete it first** (deleting loses the saves). The fresh\n     profile now carries the entitlement.\n\n  Alternatively, use a SideStore build with the [SideSign PR #4](https:\u002F\u002Fgithub.com\u002FSideStore\u002FSideSign\u002Fpull\u002F4) fix\n  (2026-10-05) — it works out of the box. Or skip the whole thing with AltStore Classic 2.2+ or LiveContainer, which\n  keep it unconditionally.\n\n  To tell: the boot line in `Documents\u002Flog.txt`, `boot: memory limit N MB` — about 3,375 MB means it did not take effect,\n  6–8 GB means it did. **Any game shows it**; there is no need for a big one, because the line is about what the process may\n  keep, not about what the game asks for. Once the game runs, `[nvn-mtl] memory up to frame N … headroom to the system memory\n  limit` keeps reporting the remainder.\n- **Each game is a separate app, so several install side by side.** The bundle ID comes from the title ID\n  (`org.nxnative.\u003Ctitle ID>`), so a second game does not replace the first and their saves are separate. Repacking the same\n  game updates it in place, saves intact. Packages built before this change still carried the shell's `org.nxnative.shell`\n  and did collide — repack, and delete the old one by hand.\n- **The shell and the packer belong together.** Use the shell from the same release rather than a zip kept from earlier: an\n  old shell may not understand what a new packer writes into it (the usual symptom is an app that dies while loading with\n  `unknown gate kind spin` in its log). The packer now reads the shell's own `dm\u002Fshell_info.txt` and stops at pack time\n  with what to do, instead of leaving it for the phone to find.\n- **First launch takes a while**: the phone compiles every shader once. Hades II's 140 shaders take about 5 s; bigger titles\n  take minutes (the progress page estimates). The system caches the result, so later launches start immediately.\n- To change a setting on the device without repacking, put `KEY=VALUE` lines in the app's `Documents\u002Fenv.txt`.\n- **Cheats** (Atmosphère format): the launcher has a **Cheats** section. Paste the codes into it and every entry the text\n  defines shows up as its own switch — turn on \"Infinite HP\" without turning on \"Infinite MP\". The text is written to\n  `Documents\u002Fcheats\u002Fcheats.txt` and the switched-on names to the host, so the next launch keeps both. One app holds one\n  game, so the codes cannot be handed to another game by accident; they do belong to **this version** of it (the panel\n  names the version, and absolute addresses from another version can crash the game). On the iPhone only memory values\n  apply — the app's code pages are signed, so a code that patches instructions does nothing and says so in the log.\n  `DM_LAUNCHER=0` (in `Documents\u002Fenv.txt`) skips the settings screen, and with it the switches.\n- If it crashes, the host writes `Documents\u002Flog.txt` — in almost every case that file names the reason.\n- Packing needs **disk space of roughly twice the NSP size**: the extracted RomFS, the staged app and the IPA coexist. The\n  temporary files are then removed automatically (`--keep-work` \u002F `--clean`, see above).\n\n## Repository layout\n\nOnly the first two entries have to exist for **packing**; the rest is what they depend on, plus what builds the shell.\n\n```\nscripts\u002Fnxn_pack.py              the packer; it lives in the repository, with dm\u002F beside scripts\u002F\ndm\u002F                              everything packing needs -- nothing works without it:\ndm\u002Fgames\u002F\u003Ctitle ID>\u002F             each supported game's parameters (modules, memory layout, rewriter and shader tables)\ndm\u002Ftools\u002F                        the rewriter (patch_nso.py), guest_dylib.py, nacp.py\ndm\u002Fgfx\u002Ftools\u002F                    the shader chain (shader_split, dmsh_build, nometal_run…)\ndm\u002Fhost\u002F dm\u002Fios\u002F                 host and iOS app sources (used to build the shell)\ndm\u002Fios\u002Ftools\u002Fshell_build.sh      builds the shell (CI, needs the macOS 26 SDK)\ndm\u002Fgames\u002F0000000000000000\u002F       neutral profile the shell is compiled against\n.shell-overlay.txt               files this fork adds or changes on top of upstream\ndocs\u002FSHELL.md                    the split in more detail\n```\n\n## Credits and license\n\nThis is a fork of **[nxnative](https:\u002F\u002Fgithub.com\u002Fseedds\u002Fnxnative)** by **seedds**, and owes most of its substance to it: the\nrewriter, the translation chain, the host, the game profiles and the thirty-odd device-verified titles are upstream's work.\n\nThe native-execution approach itself comes from **[d2r-mobile](https:\u002F\u002Fgithub.com\u002Fjhaizhou-ops\u002Fd2r-mobile)** by\n**jhaizhou-ops** (MIT), built for Diablo II: Resurrected. Upstream nxnative (first called smbw-mobile) started as a copy of its\ngeneric parts — the NSO rewriter, the Horizon host, the NVN-on-Metal layer and the iOS app shell — and fixes go both ways\nbetween the two projects. They are two separate projects by two different authors, each with its own game.\n\nThe shell route here follows d2r-mobile's `shell_build.sh`; `guest_dylib.py`, `nometal_run.py`, `dm_shader_prep.m` and\n`shell_build.sh` are ported from it.\n\n**The memory limit** is credited to **[LNPANDY\u002Fnxnative-romfs-archive](https:\u002F\u002Fgithub.com\u002FLNPANDY\u002Fnxnative-romfs-archive)**\n(MIT): `com.apple.developer.kernel.increased-memory-limit` has to be inside a placeholder ad-hoc signature, because an\nunsigned binary has no signature for an install tool to read it from — declaring it in the project alone does nothing. The\nmeasurements behind this (about 3,375 MB without it, Tears of the Kingdom killed at 3,342 MB resident) and which install\ntools keep the entitlement are theirs as well. The build-time signing here (`dm\u002Fios\u002FDmIOS.entitlements` and the `codesign`\nstep in `shell_build.sh`) is written for this fork; no code was copied.\n\n`nx_extract` uses **[LibHac](https:\u002F\u002Fgithub.com\u002FThealexbarney\u002FLibHac)**; the shader translator embeds Ryujinx's shader library;\nshaders are translated with **[SPIRV-Cross](https:\u002F\u002Fgithub.com\u002FKhronosGroup\u002FSPIRV-Cross)**; `zstd.exe` in the tools zip is\nMeta's **[zstd](https:\u002F\u002Fgithub.com\u002Ffacebook\u002Fzstd)** CLI v1.5.7, redistributed unmodified under its BSD licence.\n\n**License: MIT**, the same as upstream. [LICENSE](LICENSE) is upstream's own file and carries the original copyright notice\n(© 2026 jhaizhou — nxnative kept it from d2r-mobile, whose generic parts it started from). If you redistribute this fork or a\nbuild of it, keep that notice and this license with it. The MIT license covers the code only: game files, keys and any IPA you\npack are your own responsibility and are not covered by it.\n","这是一个在 Windows（或 Linux\u002FmacOS）上将任天堂 Switch 游戏 NSP 文件打包为 iOS 可安装 IPA 包的工具，无需 macOS 或 Xcode。项目采用两阶段设计：预构建的通用无游戏内容 iOS Shell（由 CI 生成）与本地运行的 Python 打包脚本（nxn_pack.py）协同工作，后者负责注入 NSP、重写程序逻辑、转换 Metal 着色器，并整合 prod.keys 完成签名准备。支持 Metal Developer Tools for Windows 加速着色器编译，否则自动降级为运行时编译。适用于个人设备越狱\u002F签名环境下的 Switch 游戏 iOS 移植场景。",2,"2026-11-24 04:53:23","CREATED_QUERY"]