Repository navigation
V19 (pre-release): MetalFX at render scale 0.25, GPU profile
Pre-release
Pre-release
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 (the v1 dump: base game + update v131072) with the steps in docs/games/kid-with-sword-remake.md, with an env file holding the lines under "Build settings" below.
The Legend of Zelda: Ocarina of Time (Switch 2) as a native iPhone and Mac app, on top of nxnative.
In this build (V19)
- MetalFX at render scale 0.25: at 0.25 the game picks another upscaler network, which the port did not count as the end of its upscaler chain, so the game's own heavier upscaler ran. MetalFX now takes it too. On an iPhone 18 Pro the GPU time fell from 12-13 ms to about 10-11.7 ms a frame.
- GPU profile built in: one frame in 600 is timed pass by pass and dispatch by dispatch (
[gpuprof]lines in log.txt; the profiled frame runs a little slower). - Includes V18.
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_NVN_GPUPROF_CS=1
DM_METAL_HUD=0
Status
- Tested on an iPhone 18 Pro (render scale 0.25, 60 fps).
- Known: the game closes at the first ocarina note (Impa, Zelda's Lullaby), which blocks the main quest. Fixed in nxnative main; the fix is not in this build yet.
- Keep at least 15 GB free on the phone: the game stops itself under 5 GB free.
- At 60 fps the phone heats up within one to two minutes and iOS lowers the clocks; 30 fps holds for long sessions.
Not affiliated with Nintendo.