Pre-release: source code only. No IPA and nothing from the game are attached or in the repository. Build your own from your own dump of the game (base game + update v131072) with the steps in the README, using the env file under "Build settings" below.
The Legend of Zelda: Ocarina of Time (Switch 2) as a native iPhone and Mac app, on top of nxnative.
L8.1: modded Link always shows, a usable ocarina mic, smoother play
Everything in L7.6, plus L7.7–L8.1.
Mods
- Modded Link models no longer go invisible. A mod's piece of Link that the game sets up too early in a session (a save loaded within about 20 seconds of starting) was never drawn: the reason the Goku mod vanished on some launches. Across 23 test launches, every early one was invisible and every later one showed. With a mod on, the game now ignores input for its first 20–25 seconds and shows a "Getting your mods ready…" countdown, so a save always loads after that point. With no mod on there is no wait. (
DM_MOD_INPUT_HOLD=<frames>changes it; 0 turns it off.)
Ocarina microphone
- Mic Sensitivity is a 0–100 % slider: 60 % is the old Normal, 90 % the old High, 0 % passes the microphone as it is.
- Test Microphone (All Settings → Controls): live meters for your microphone and for what the game hears, a light when the game would take it as a note, your pitch and the nearest ocarina note, and the slider applied live.
Smoother play
- No CPU stalls from memory the game writes all the time (nxnative PR seedds#3180 by dpadr): a page the game kept writing could make its threads fault over and over, costing frames and, in Castle Town, stopping them.
- Saving the shader archive no longer stalls a frame that needs a new pipeline (nxnative).
- Game data is read ahead in the background as the game sets it up (L7.7): long pauses at area loads went from 9 to 1 in a test run.
- Memory is made GPU-ready a little each frame instead of all at once at an area change (L7.8).
Memory and stability
- Memory pressure mode (L8.1): when the app nears 4.6 GB, or iOS leaves it less than 3 GB, unused graphics memory is given back sooner, so iOS does not start swapping the game out. That swapping caused stutter late in a long L8 session (5.5 GB, up to 101 MB read back in one frame).
DM_NVN_MEM_HIGH_MB/DM_NVN_MEM_ROOM_MBset the thresholds. - Texture memory is released reliably again (L8.1): an upstream change made freed texture heaps go only some of the time in this port (2 of 6 test runs); it is off by default (
DM_NVN_RES_PLACED_PARENT=1turns it on). - From nxnative: background shader builds and unused thread stacks give their memory back, upload staging no longer waits on residency commits, steadier clock across restarts, guest-file watcher start order.
Build settings
Unchanged from L7.6. Build again: the mod countdown, the mic tester and the new switches are in the app itself.
DM_UPSCALER=metalfx
DM_FPS_HOLD=off
DM_THERMAL_CAP=0
DM_QOS_MAP=1
DM_QOS_EDGES=45,59
DM_NVN_GPUPROF=every:600
DM_BOOTPROF=1
DM_GUEST_FILE=1
DM_NVN_TEX_MIP_LEVELS=2
DM_FRAMEGEN_SCALE=0.6
Status
- Tested on an iPhone 18 Pro (iOS 27.2) in LiveContainer: the ocarina by voice works; L8 played smoothly until a late area change pushed memory to 5.5 GB, which L8.1 addresses.
- L8.1 itself has not had a long session on a phone yet: all of its unit tests pass on the Mac. If you get stutter late in a session, send
log.txt: it now says when memory pressure mode turns on and off. - The mod countdown is new: if a modded model is still invisible after it, send
log.txt. - Being watched: a freeze at a change between areas (L7.4). L8 takes in nxnative's residency fixes in that area; if a freeze happens, wait 10 seconds, then send
log.txt. - iPhone 15 Pro and newer; iPhone 15 Pro / 16 Pro still untested by us.
Credits
- Amiibo and NFC by Tizzle2x.
- dpadr for nxnative PR seedds#3180, and seedds and the nxnative contributors for the upstream fixes in L8.
- Work by many people is in these builds; see the Credits and Acknowledgements.
Not affiliated with Nintendo.