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.
L7.5 (includes L6.4–L7.4)
L7 moves the port onto the newest nxnative engine. The goal is stable, steady play on more iPhones (iPhone 15 Pro and newer), with the app staying under 5 GB of memory.
Highlights
- Texture Memory Saver (on by default on iPhone, All Settings → Performance): the two finest detail levels of the game's large textures are left out. Peak memory on an iPhone 18 Pro dropped from about 5.2 GB to 4.6–4.96 GB.
- No memory spikes at area loads: texture uploads go to the GPU in batches of at most 48 MB.
- Lighter frame generation: the in-between frames are made at 0.6 of the picture's size (about 2 ms of GPU time). At 30 fps with frame generation on an iPhone 18 Pro, the median went from 11.5 to about 0.5 dropped frames per 300.
- Render Scale down to 0.25, labelled Ultra Potato Mode 🥔, for older phones.
- The Mac app with the same launcher as the iPhone (L6.4–L6.6), a simpler iPhone launcher that only shows the settings that help a phone, and the Performance HUD and launcher picture back.
- Better freeze reports (L7.5): if the picture stops for 5 seconds,
log.txtnow names the thread that holds the others up and shows where it is stuck. - Fix (L7.5): with
DM_QOS_MAP, a high-priority thread waiting on a game lock now lends its priority to the lock's owner. On this game's SDK (22) the owner was never found, so it got no boost.
Build settings
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
- iPhone 18 Pro, 30 fps with frame generation, render scale 0.6: memory peaks at 4.6–4.96 GB through the big areas; median about 0.5 dropped frames per 300.
- Being fixed: a member's game froze at a change between areas on L7.4. The cause is not known yet. If it happens on L7.5, wait 10 seconds, then send
log.txt: it now shows where the freeze sits. - Area loads can still take a frame of 300–700 ms.
- The iPhone 15 Pro and 16 Pro (8 GB) are still untested. On those, start with Render Scale 0.5 or lower.
Credits
- Amiibo and NFC by Tizzle2x.
- Work by many people is in these builds; see the Credits and Acknowledgements.
Not affiliated with Nintendo.