Skip to content

V18 (pre-release): Potato mode for iPhones with less memory

Pre-release
Pre-release

Choose a tag to compare

@cheemu21 cheemu21 released this 09 Nov 17:38

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

  • Potato mode (launcher, off by default): for iPhones with less memory, such as an iPhone 15 Pro, which gives the game about 6 GB. It turns on memory savers ported from the A builds: a GPU memory guard that lets go of idle memory from 4,400 MB, a 64 MB texture recycle bin, a sweep of shared textures nothing uses, a shader warm-up that keeps nothing in memory, large memory pools kept in files, and render targets made only when a draw needs them.
  • With Potato mode off, nothing of it runs: the build plays as V17.
  • The commits from other authors keep their authorship (Pedro Nascimento's GPU memory guard, the recycle bin) or credit them with Co-authored-by.

Build settings

DM_UPSCALER=metalfx
DM_FPS_HOLD=off
DM_THERMAL_CAP=0
DM_QOS_MAP=1
DM_QOS_EDGES=45,59

Status

  • Not yet tested on an iPhone with Potato mode on.
  • 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.