Featured answer
Give me an overview of nxnative
nxnative is a tool that packs Nintendo Switch games you own, supplied as an NSP folder or .nup file along with your prod.keys, into an unsigned IPA or Mac app that runs natively on Apple silicon Macs, iPhone and iPad. The build entry point is scripts/build_ipa_from_nsp.py, and the dm/tools/nx_extract C# tool, which depends on LibHac and uses Program.cs as its entry point, handles extraction. At runtime, the host in dm/host, starting from dm/host/main.c, runs the game in a process on macOS and iOS, answering its operating system calls and passing controller, touch, sound and frame-rate data to the platform. Guest graphics calls enter through the NVN entry file in dm/gfx/nvn, which maps the Switch graphics API onto Metal, and dm/games holds per-game profiles that set options and fixes for each title. The repository has 1657 files: the Application layer holds 936, Utility 242, Config 44 and Docs & Tooling 37, so start reading with scripts/build_ipa_from_nsp.py and dm/host/main.c.
| Layer | Files |
|---|---|
| Application | 936 |
| Utility | 242 |
| Config | 44 |
| Docs & Tooling | 37 |
Basis: Inferred · knowledge graph· as of 804809c