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 app, on top of nxnative.
L6.3 (includes L6.2)
Highlights
- No more once-a-second hitches after an area change. Unused render targets are now freed 32 at a time, five times a second, instead of up to 256 once a second. More than 64 at once made the engine re-check every texture the game uses, a 120-250 ms freeze every second on an iPhone (logs 42, 46, 47). On an iPhone 18 Pro at 30 fps with frame generation: 0 such hitches in about 3 minutes, 0-2 dropped frames per 300 in most windows, even at "serious" heat (log 50).
- More CPU room for the render threads on iPhone (L6.2): the replay and encode threads may reserve up to 55% of a frame (30% before), the game's own thread 40% (50%).
- The launcher stays dark when the phone is in light mode, so its settings stay readable.
- The app has an icon again. A dump folder carries no icon, so builds since L6 had a blank one; the port now ships its own (
dm/games/0400486024DEC000/icon.png), used unless--iconnames another. - Upstream's default thread wake-ups again (no
DM_WAKE_UNLOCKED=0): they were not the cause of the hitch. - Everything from L6.1, the Master Sword fix included.
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
Status
- iPhone 18 Pro, 30 fps with frame generation, render scale 0.6 (log 50): frame time p95 34-46 ms, memory 4.6-5.8 GB, about 7 GB of render targets freed over the session.
- Area loads can still take a frame of 200-300 ms.
- The Master Sword cutscene has not been played with an L6.x build yet.
- Phones with 8 GB are untested; a test with an 8 GB iPhone is planned.
Credits
- Amiibo and NFC by Tizzle2x.
- Work by many people is in these builds; see the Credits and Acknowledgements.
Not affiliated with Nintendo.