github cheemu21/kid-with-sword-remake l10.1
L10.1 (pre-release): Wide View HUD fixed, new screen buffers nearly free

pre-releaseone hour ago

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.

L10.1: Wide View HUD fixed, new screen buffers nearly free

Everything in L10, plus L10.1. Measured on an iPhone 18 Pro (iOS 27.2) in LiveContainer.

Fixes

  • Wide View's HUD is no longer stretched. L10's faster per-draw path (nxnative's per-draw caches) skipped the HUD's correction, so the hearts, buttons and menus were drawn stretched across the wide screen. The shaders that draw the HUD now always take the corrected path; every other shader keeps the fast one.

Performance

  • New screen buffers are cleared inside the frame's own GPU work instead of through a separate upload, wherever they are made (render targets in GPU-only memory; textures the CPU writes keep the old path so their data cannot be overwritten). In the game's busiest area, about 2,500 new buffers every 10 seconds:

    L10 L10.1
    Cost per new buffer about 495 µs 22–24 µs
    CPU per frame for new buffers 7.5 ms 0.2 ms
    Dropped frames per 300 there 58 1–2
  • New switch: DM_NVN_ZERO_MAIN=0 goes back to the upload batches.

Build settings

Unchanged from L10.

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.5
DM_NVN_PASS_SPLIT=0
DM_NVN_ANISO_MAX=4

The shaders are the same as L10's: no slow first start when coming from L10.

Status

  • Smooth (0–5 dropped frames per 300) until iOS cuts the CPU. After a couple of minutes, sooner on a phone that is already warm, iOS can drop it to about 1.5 GHz even at the "fair" heat level, and frames drop then (84–110 per 300). Less CPU work per frame is the next target. Start from a cool phone.
  • This source also contains a measurement switch for a second yield back-off (DM_YIELD_BACKOFF_B, only with DM_AB). It was measured and does not help Ocarina, so it is off; it changes nothing in normal play.
  • iPhone 15 Pro and 16 / 16 Pro (8 GB) are untested by us.

Credits

  • Amiibo and NFC by Tizzle2x.
  • seedds and the nxnative contributors for the engine, including Alexander Gurov for the per-draw caches this release works with.

Don't miss a new kid-with-sword-remake release

NewReleases is sending notifications on new releases.