Skip to content

X1 (pre-release): Wide view, the save crash fixed, render-target recycling

Pre-release
Pre-release

Choose a tag to compare

@cheemu21 cheemu21 released this 10 Nov 16:28

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 (X1)

  • Fixes the crash right after a save: V23 could stop with -[NvPkg buffer]: unrecognized selector (from nxnative).
  • Wide view (launcher, off by default): the game renders the screen's shape instead of 16:9 with black bars. Nothing is stretched.
  • Render targets are recycled: a change of render scale or dynamic resolution reuses freed GPU memory instead of taking new memory each time (from nxnative).
  • Up to 16 command allocators in flight instead of 8: the CPU no longer waits for a free one.
  • More fixes from nxnative:
    • a stopped Core Haptics engine no longer closes the app;
    • each audio renderer plays from its own blocks;
    • cube textures in array slots read every face.
  • Includes V23: no more magenta textures.

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_METAL_HUD=0

Status

  • Played 47 minutes on an iPhone 18 Pro (30 fps, render scale 0.60). Memory stayed at 5.5 GB for 32 minutes, then grew with the areas to a 7.4 GB footprint, and iOS ended the app. X2 fixes this.
  • Keep at least 15 GB free on the phone: the game stops itself under 5 GB free.

Not affiliated with Nintendo.