Skip to content

Releases

Lichii OoT + shader precache v1 (#717 + #579), Windows

Choose a tag to compare

@ibsorn ibsorn released this 09 Nov 02:46

⬇️ Download: lichii-oot-579-windows-x86_64-msvc.zip (Windows x64, any x86-64 CPU)

Don't download "Source code (zip/tar.gz)": GitHub adds those and they contain no emulator.

Lichii for Zelda: Ocarina of Time (Switch 2) that builds the game's shaders before you play, so
new areas no longer freeze while shaders compile. mariohbd's OoT build v1
(Lichii nx2 + #717) with #579
(graphics pipeline libraries + shader warm-up from your game files).

No game files, keys or firmware included.

Measured on the test PC (i7-6700K, RTX 3070 8 GB, Windows 11, driver 610.88)

First visits to areas Before (OoT build v1) This build, after the warm-up
Worst 10 s of shader building on the GPU thread 1,912 ms 173 ms
Worst 10 s of draws waiting for shaders 2,658 ms 2 ms
Longest single shader build 229 ms 77 ms

From the emulator log, a few minutes of play each, not a controlled A/B.

Important: the first launch takes about 35 minutes (once)

The loading screen builds 4,660 compute shaders (4 min) and 59,324 graphics shader libraries (31 min)
on an 8-thread CPU. Let it finish; don't press Skip. Later launches take about a minute. It runs again
once after a GPU driver update. Needs about 1.7 GB of disk for the emulator cache + about 1 GB of
driver cache.

Setup (game Properties)

  • Graphics > Advanced: Shader libraries On, Precache shaders before game start Always,
    Switch 2 draws with unbuilt pipelines: Bounded wait (8 ms), GPU accuracy Fast
  • Graphics: resolution 1x · System: Docked
  • Add-Ons: Dynamic FPS by Dark on, FPS Unlock off

Compatibility

Tested on one PC only (above). Any x86-64 CPU runs it; Ocarina is CPU-bound. NVIDIA RTX should
behave like the test PC. AMD, Intel and GTX 10 are untested: on AMD there is an open zortos293#717 report of
RDNA2 device loss at save load; on GPUs without pipeline-library fast linking the libraries stay off and
only the compute precache runs. No Linux/macOS builds. Details in the README.

Build

Source: branch oot-579, binary from commit
129c9f0dc (workflow run), MSVC Release
without ThinLTO, update checker off. The zip adds the tuned nx2_switches.txt (same as
dist/nx2_switches.txt in the source) and the README.

SHA-256 (zip): 4a062cb395ff6ca1c736f2617986bcfacb6bb2886a5580ba3dc52eeeaf398811

GPL-3.0-or-later. Credits: the Lichii, Eden and yuzu developers, mariohbd, stephenjayakar (zortos293#717),
PantACRO4life and the zortos293#579 contributors, Dark (Dynamic FPS).