Skip to content

About

Red Tunic- Zelda OOT Remake Recomp. An unofficial native PC recompilation of Ocarina of Time (the Switch 2 remake), built on your PC from your own copy, optimized specifically for testing purposes on AMD systems.

Resources

Contributing

Stars

35 stars

Watchers

2 watching

Forks

 
 

Latest commit

 

History

3,943 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Red Tunic: Radeon iGPU tuning and Steam Deck / Linux focus

Red Tunic 4.4.0

An unofficial native PC recompilation of the 2026 Nintendo Switch 2 remake of The Legend of Zelda: Ocarina of Time. Built locally from your own supported copy, with AMD Radeon iGPU tuning and Linux / Steam Deck handheld play in focus.

Download 4.4.0 · Project website · How to play · Release notes · Technical docs · Website source

Get it on RecompLauncher

Hardware, with context

AMD Radeon integrated graphics Steam Deck & Linux handhelds
Tuned and measured on Ryzen 5 5625U / Radeon Vega / 16 GB shared RAM. The reference profile uses modest output and render sizes, pressure-aware texture budgets and conservative compute defaults. A development focus, with portable Linux builds and controller-friendly play. Steam Deck-specific performance measurements are still pending; Radeon PC numbers are not Deck benchmarks.
Radeon tuning guide · Measured runs Linux setup · RecompLauncher support

Red Tunic targets shared-memory GPUs and compact PCs. Performance depends on the scene, driver, resolution and memory pressure. Experimental mesh reuse and shared fallback scratch remain opt-in; no universal frame-rate or stutter-free claim is made.

Your copy. Your PC. Your build.

  1. Bring your own game. Use a supported, decrypted .nup or an extracted folder containing exefs and romfs: update v131072, build e0f3ccfa.
  2. Choose your setup. Extract the Windows ZIP and open RedTunic.exe, open the Linux AppImage, or let RecompLauncher run Easy Setup. The download contains build tools, not the game.
  3. Build and play locally. Choose output, upscaling and controller settings. For an existing standalone installation, keep its output directory when updating to retain saves, settings and compatible shader caches.

RecompLauncher keeps its own build, saves and settings under recompdata. It does not move an existing standalone installation or its original shader cache.

Tuned with evidence

  • Native x64 + Vulkan. The project builds a PC executable from your copy and replays its GPU work through Vulkan, including compute mesh fallback where native mesh shaders are unavailable.
  • A budget for shared memory. 4.3.0’s texture-memory controls remain available; 4.4.0 adds integrated-GPU heap-budget accounting to the existing pressure logic.
  • Keep your shader work. The 4.4.0 host changes preserve the translator and cache format. Local validation reused 47,798 cached programs and reported zero pipeline compilations. Compatibility still depends on GPU, toolchain and configuration.
  • RecompLauncher support. Named game inputs, verified build-ID checks, setup progress, settings, saves and direct play ship in the portable releases.
  • The Red Tunic identity, embedded. The Windows program contains the original cloak icon at seven sizes and Red Tunic 4.4.0 file/product metadata.
  • Experiments stay optional. Four camera-turn runs found the combined experimental group 10.9% slower in mean frame time on the reference APU. Those switches stay off by default. Measurements and limitations

See the world again

Actual Red Tunic validation capture beside the lake and bridge, rendered on Radeon Vega

Actual Red Tunic validation capture on Radeon Vega / Windows. Game imagery © Nintendo. This is not a Steam Deck performance claim.

Official 2026 remake footage A closer look
▶ IGN: Official Gameplay Overview ▶ IGN: Ocarina of Time Remake Preview
Official gameplay footage via IGN, September 2026. IGN’s preview, October 2026.

IGN videos show the Nintendo release, not Red Tunic benchmarks. No public-domain license is claimed for Nintendo or IGN imagery; the project’s header graphics are original vector artwork.

Put on the Red Tunic

Your system Get started
Windows x64 Portable ZIP — extract the whole folder and open RedTunic.exe.
Linux x86-64 / SteamOS AppImage or portable tarball; glibc 2.35+.
RecompLauncher Install the release, select your supported game and run Easy Setup. Integration guide

Checksums & all release assets · Report an issue · Source and licenses

Red Tunic is independent and unofficial, based on Hookshot. Nintendo, AMD, Valve and IGN retain their respective trademarks and media rights. No game files, keys, prebuilt game executables, saves or shader caches are distributed.

Deep dive: implementation, earlier releases and controls

Radeon Vega mesh reuse

Opt-in preview in the development source. Red Tunic can capture mesh geometry and task visibility from live play. On Windows Vega, eligible mesh draws can reuse GPU-generated geometry when their uniforms and read-only storage buffers match byte for byte. The comparison stays on the GPU, and changed inputs generate fresh geometry. On our Ryzen 5 5625U, GPU tests passed for both exact matches and changed inputs. A camera-turn FPS gain in Hyrule Field is still unverified. See the mesh capture and testing guide.

Red Tunic Vega path from native x64 through 720p Vulkan to 1080p output

Built around integrated Radeon

Red Tunic's reference system is a Ryzen 5 5625U with Radeon Vega and 16 GB of shared RAM. On new installs with the tested Windows Vega adapter, the Builder applies the 720p output profile and the texture and pacing settings automatically. Read the Vega rendering guide and measured test runs.

Builder preview

Game setup Startup
Red Tunic Builder game-setup screen with an example installation path Red Tunic Builder starting with the original crimson cloak icon

The previews show the Windows Builder in a game-free setup. See the brand artwork notes for the icon and preview sources.

Updating

Get new Windows Builder archives from Red Tunic Releases. Extract the new Builder into its own folder, open it, and select the existing game output directory to rebuild with the bundled version. Keep the game output directory to reuse your saves and settings. For a source checkout, use git pull --ff-only and rebuild locally.

Latest development build

For development snapshots, use the source at the latest commit you want to test and record its commit ID with your results.

Changes in 4.3.0

The Graphics menu adds Material array limit and Texture cache ceiling for tuning texture memory at runtime. Existing matching shader and pipeline caches can be reused when updating with the compatible Windows toolchain. See the 4.3.0 release notes.

Changes in 4.2.4

Windows Vega gets the tested profile automatically. It keeps exact CPU ASTC decoding, retains expensive textures within a pressure-aware budget, and enables the measured compute and mesh optimizations. The item-wheel and inventory return holds the last complete gameplay frame briefly and fades back into live rendering. The Builder also verifies a reused archive's identity and detects incomplete replacements. See the 4.2.4 release notes.

The 4.2.4 Linux AppImage includes the Builder and its tools for x86-64 Linux with glibc 2.35 or newer. It builds the game locally from your own supported dump.

Changes in 4.2.2

The renderer reads existing pipeline notes sequentially. Experimental switches add bounded CPU texture preparation, binding reuse, and a Windows Vega prefetch pause under memory pressure. Camera testing showed similar hitch counts, so the experiments are off by default. See the 4.2.2 release notes.

The Linux AppImage runs on x86-64 Linux with glibc 2.35 or newer. Open it to build Red Tunic from your own supported dump. The release packages contain the Builder and its tools. Builds create their shader caches locally.

Changes in 4.2.1

CPU ASTC decoding uses equivalent integer rounding and batches block rows across slices. The Vega preset continues to use the CPU path for texture compatibility. See the 4.2.1 release notes.

Changes in 4.2.0

Windows Radeon Vega 1002:15E7 builds get the tested 720p performance profile. CPU ASTC decoding is the default for visual compatibility. Expensive recently used textures get priority during ordinary budget eviction. See the 4.2.0 release notes.

Changes in 4.1.0

The Windows Vega path adjusts texture lookahead under memory pressure and preserves live depth images when eviction cannot safely preserve their contents. Optional Vulkan paths cover texture hash reuse, background imports, and verified zero-depth clears. See the 4.1.0 release notes.

Changes in 4.0.6

Windows Radeon Vega 0x15E7 now reuses exact decoded ASTC pixels while keeping the parallel decoder for large uploads. Texture prediction saves its list during light frames. See the 4.0.6 release notes.

Changes in 4.0.3

Restores Water Temple textures and HUD on the tested Windows Vega adapter (PCI 1002:15E7) using CPU ASTC decoding and synchronous loading of cached graphics programs. The Windows Builder uses the Red Tunic window icon and matching branding. See the 4.0.3 release notes.

Changes in 4.0.2

Read the 4.0.2 release notes for installation, upstream changes and verification.

If 4.0.0 reports A portable game needs the packaged Builder setup launcher, close the Builder and apply RedTunic-v4.0.0-portable-build-fix.zip from the release assets. Extract it beside the existing RedTunicBuilder directory and replace tools/nx2/make_game.py. Reopen the Builder and retry the build.

The ZIP distribution now builds a game that launches directly through hookshot.exe. Rebuild an existing game by selecting its output folder in the Red Tunic Builder. The archive's own Python, compiler and portable home remain in use.

Version 4.0.2 integrates Hookshot through commit 38b90dfe (fetched 23 November 2026), including 547 upstream commits since the Red Tunic 4.0.0 base. Red Tunic retains its AMD APU resolution and cache policies, native CPU tuning, FP16 sharpening, procedural loading fire and red UI. The merged source requires fresh validation before performance comparisons with 4.0.0.

Changes in 4.0.0

Area Red Tunic change
Branding and CPU target Red Tunic name and its original release branding. Ryzen builds use x86-64-v3 and tune for the detected Zen generation.
Loading and settings Animated procedural fire and embers below the startup logo, eased progress during shader and pipeline preparation, and red tints in the game menu and Windows Builder.
Internal resolution On matching AMD integrated graphics, Auto (this PC) fixes the render scale at two thirds and a fresh install selects 1920 × 1080 docked output. The 3D scene renders at 1280 × 720 in that configuration. The preset selects the in-game upscaler and reduces grass and shadow settings to 75%.
Native Vulkan and task/mesh draws Uses native Vulkan mesh shaders where supported by hardware and driver policy. The compute fallback handles task and mesh work on Vega and avoids an extra transfer barrier for indirect setup. Eligible draw passes use the game's barrier ordering on AMD APUs.
Outdoor culling Windows AMD integrated graphics use the renderer's batched visibility-query copy when coherent host memory is available and parallel replay is off. Set RX_VK_OCC_COPY=0 to compare against direct query-pool reads.
Shared memory and textures AMD APU policy caps the texture cache at 1024 MB and the idle-import budget at 4096 MB. These are separate cache budgets. Eligible opaque ASTC textures can use BC1, while textures that need alpha retain an alpha-capable format. Texture staging and eviction reuse existing resources where possible.
Area transitions and streaming Windows read-only .zs streams use sequential read-ahead. When enabled with HL_MEM_COLD=1, the Windows cold-page worker time-slices pool and heap scans at about 1 ms apiece and resumes their cursors on later passes. A single OS call can run longer.
Cold shaders Capture prewarm, asynchronous shader work and quick-pipeline controls are available. On AMD, RX_VK_AMD_COMPUTE_NOOPT_KEY bypasses the driver optimizer for one 16-digit Red Tunic compute program key. Identify it with RX_VK_PIPELINE_TRACE=1. The Kokiri-specific key still needs confirmation in a local trace.
Image quality experiments RX_VK_SHARPEN_FP16=1 enables native FP16 color taps for SDR sharpening on supported AMD GPUs. RX_VK_RT_NO_STORAGE=1 lets eligible AMD color targets omit storage usage so the driver can retain compression. The latter is opt-in.
JakePC profile Local settings defer readbacks for sizes 40, 2000 and 3980, give texture lookahead and quick builds 4 ms each, prefer asynchronous AV1 on Windows with four dav1d fallback threads, share CPU cores with replay, and enable SDR FP16 sharpening.

Project status

The Windows reference system has rendered the Water Temple and a lakeside gameplay route on Radeon Vega. The 720p internal preset is tested at 1080p output. Results on other hardware, scenes and settings can differ.

Measured on the reference PC Average FPS Frames over 250 ms Frames over 500 ms
Local 4.0.5 optimization test, baseline → patched 8.30 → 13.44 34 → 8 9 → 0
Exact ASTC cache and light-frame writes, baseline → patched 9.66 → 10.27 16 → 15 2 → 2

Each row is one 360-frame camera-turn comparison at the same settings within that pair. See tested configurations for the build, driver and test setup.

A separate player report described 30–60 FPS in Hyrule Field with grass, foliage and shadow density set to Low, and about 50% less stutter. It did not include a comparison build or frame-time capture.

Install and play

What you need

Use 64-bit Windows 10 or 11, or a supported x86-64 Linux distribution, a Vulkan-capable GPU, and your own copy of the supported game build (program 0400486024DEC000, update v131072, build e0f3ccfa). Build from a .nup or extracted romfs and exefs folders. Keep the game dump, keys, generated code, shaders and saves on your PC.

Clone the Red Tunic source, then see Build from source for dependencies and commands. After building, launch the generated game executable from the output folder. The existing runtime filenames, including hookshot_options.ini and hookshot_env.txt, are used for config compatibility. Use Graphics → Quality preset → Auto (this PC) for the AMD profile. At 1920 × 1080 output, keep the fixed two-thirds render scale for 720p internal rendering.

On Windows

  1. Download RedTunic-v4.3.0-Windows-x64.zip and its SHA-256 file from Red Tunic 4.3.0. Use Get-FileHash .\RedTunic-v4.3.0-Windows-x64.zip -Algorithm SHA256 to verify the archive.
  2. Extract the entire archive into a short path such as C:\RedTunicBuilder and open HookshotBuilder.exe. The archive includes the Windows build tools and the Builder runtime.
  3. Select your own supported .nup or extracted game folders, choose a separate game output folder, and build. Open the generated hookshot.exe in that folder to play.

The Builder sets the Vega profile when Windows reports a single Radeon adapter with PCI ID 1002:15E7. Existing options keep the values you already chose.

The redistribution archive contains the Builder, source and dependencies. The game executable, game data, keys, local saves and compiled caches are produced or supplied locally.

On Linux

  1. Download RedTunic-v4.2.4-x86_64.AppImage and SHA256SUMS from the Red Tunic 4.2.4 release.
  2. Verify the download with sha256sum --ignore-missing --check SHA256SUMS. Run chmod +x RedTunic-v4.2.4-x86_64.AppImage, then open it.
  3. Select your supported game dump and choose a separate game output folder. Open the same AppImage to play after the build finishes.

Linux uses the host Vulkan driver. See Build from source if you prefer to build the Builder locally. The Steam Deck playbook covers the inherited handheld setup.

Where the files go

The build writes to the directory given to --out. The output folder holds user/ for saves, cache/ for shader and pipeline data, and hookshot_options.ini and hookshot_env.txt for settings.

If something goes wrong

For a bug report, include your Red Tunic version, GPU driver, output and render resolutions, scene and reproduction steps. See common issues and answers and the development guide for troubleshooting and benchmark tools.

Low FPS or stutter

Record the area or transition, whether it is the first visit since launch, and whether it repeats after the shader cache warms. Include frame-time percentiles and the slowest frame if available.

AMD texture workaround

If an AMD driver shows texture corruption, compare the ASTC as RGBA8 setting in the Developer menu. RGBA8 raises texture memory use, which matters on integrated Radeon graphics. Record which texture and scene changed in your report.

In-game menu

By default, press Insert, F1 or Esc in game. On a controller, press Home or Select and Start together; on a DualShock 4 or DualSense, clicking the touchpad does the same as F1, unless a row of Controls takes the touchpad as its input. The same keys close it; with every Menu shortcut, Esc goes back a page or closes the open menu. F1 always works. Controls → Menu shortcut can leave Insert free for another overlay (F1 only). With Insert or F1, or with F1 only, Esc does not open the menu: it only lets the mouse go. Options saved by an older version on Insert or F1, the default then, move to Insert, F1 or Esc; F1 only stays. F12 saves a screenshot of the game's picture as a PNG in the game folder's screenshots folder, menu open or not (the menu and the FPS counter are not in it); not while a control waits for its key, and not when a control is bound to F12. The menu's tabs are Graphics, Audio, Gameplay, Controls, NFC and Debug, and Mods when you have mods: Q and E (or Tab and Shift+Tab) switch between them, LB and RB on a controller (or the triggers). Up and Down choose a row, Left and Right change it (Enter changes it too); beside the rows, the help says what the row is and, on a line of its own, what the value chosen does. On a controller the D-pad chooses and changes, A changes too and opens a page (Motion, Controls, the Teleport list, the inventory), and B goes back or closes the menu: A and B are the buttons your layout puts the Switch's A and B on (with the Nintendo layout, A is the right face button). The mouse is free while the menu is open: click a tab, click a row's name to choose it (its value stays), click the left or right half of a value to lower or raise it, drag a slider, turn the wheel to scroll the rows (it never changes a value), and right-click to go back. The button prompts at the bottom show the keys or the controller's buttons, whichever you used last. Your choices are saved in hookshot_options.ini in the game folder.

The menu, the FPS counter and the start-up screen are drawn in the style of the game's own menus. They use the game's own menu font, read into memory from your game files (the romfs folder the game runs from) the first time one of them is drawn. It is never copied anywhere, and Hookshot does not include it. Without it, or if it has no Latin letters, they use Libertinus, which Hookshot includes.

The rows marked "after a restart" below are read when the game starts. While one is changed, it is tagged "After restart" and the help on the Graphics tab lists it; closing the menu then asks whether to restart now. Later keeps the change for the next start (and is not asked again until you change one of those rows); Restart now saves your choices and starts the game again, so progress since your last save is lost.

A row for something this PC cannot use is not shown: NVIDIA Reflex and AMD Anti-Lag 2 without a GPU and driver that have them, the DLSS model where DLSS does not run. HDR paper white and HDR peak brightness show only while HDR is on, the HDR tone mapper only with HDR set to Native.

The Graphics tab groups its rows under section titles: Resolution and upscaling, Frame generation and latency, Screen, HDR, Detail, and GPU and memory (last: the rows to change when something is wrong). The Gameplay tab's are Game, Text and language, Screen, and System (Discord status, Bug report, Restart and Quit); the Controls tab's Controller, Camera, Mouse, Movement and Menu. The table lists those tabs' rows in that order.

Tab Option Choices Default
Graphics Quality preset Custom, Minimum (4GB), Low (6GB), Balanced (8GB), High (12GB), Ultra (16GB+), Auto (this PC) Auto (this PC) on a first start; Custom in an options file from before it
Aspect ratio The shapes your screen's resolutions have, narrowest first (5:4, 4:3, 16:10, 16:9, 21:9, 32:9, ...), your monitor's own marked "(monitor's)" (after a restart) Your monitor's
Output resolution The Aspect ratio's sizes: your screen's resolutions and the common ones (1440p, 4K, 5K at 16:9; 1920x1200, 2560x1600 at 16:10; 3440x1440 at 21:9; ...), and 2048x1152 (the game's own) at 16:9 (after a restart) 2048x1152
Custom output size A size of your own, typed as <width>x<height> (after a restart) None
Profile Docked, Handheld (after a restart) Docked
Upscaler Game's own, NVIDIA DLSS, NVIDIA DLAA (only in builds with NVIDIA's DLSS SDK, below; DLSS and DLAA on RTX GPUs), AMD FSR 3.1 (every build, on GPUs it runs on, below), AMD FSR 4, AMD FSR 4 Native AA (only in builds with FSR 4, below), Off (no upscaling) Game's own
DLSS model Transformer (K) (CNN (E) in its place on cards with less than 7 GB of video memory), Transformer 2 (M), Transformer 2 (L), NVIDIA default (shown where DLSS runs; used by DLSS and DLAA) Transformer (K); CNN (E) under 7 GB
DLAA before the bloom Off, On: where NVIDIA DLAA smooths the picture, after the game's bloom and tone map or before them (shown with NVIDIA DLSS or DLAA; changeable with the Upscaler on NVIDIA DLAA only; changes at once; RX_VK_DLSS_PRE_BLOOM over it for one run) Off
Render resolution Auto (the game's own dynamic resolution), 100%, 75%, 67%, 50% (each with its size). With DLSS, FSR 3.1 or FSR 4: Auto, Quality (67%), Balanced (58%), Performance (50%), Ultra Performance (33%). With DLAA or FSR 4 Native AA: Native. With Off: Auto, 100%, 75%, 67%, 50%, 33% Auto
Sharpness 0 to 100%, in steps of 10 0%
Frame generation Off, Auto (it shows who makes its frames: FSR 3.1 FG or Built-in FG), 2x to 8x; with DLSS FG up to what NVIDIA's runtime makes on the GPU (6x on an RTX 50, 2x on an RTX 40) Off
Frame generation by Shown while Frame generation is on. DLSS FG (NVIDIA DLSS Frame Generation: RTX 40 and newer, with a temporal Upscaler), FSR 3.1 FG (AMD FSR 3.1's frame interpolation, from the scene's depth and motion: any GPU), Built-in FG. DLSS FG is offered only where it runs; elsewhere the row has FSR 3.1 FG and Built-in FG, and its line at FSR 3.1 FG says why not DLSS FG (the log has NVIDIA's answer). At DLSS FG, FSR 3.1 makes the frames DLSS FG does not (Frame generation's Auto). At DLSS FG, the game's own menus, movies and loading screens show only the game's own frames (they have no Upscaler picture to make frames from): the row's line and the FPS counter say DLSS FG paused. With an Upscaler that is not temporal, the built-in one makes the frames and the line says why. RX_VK_DLSS_FG=1 fixes the row at DLSS FG for a run. Changes at once DLSS FG where it runs, else FSR 3.1 FG (an options file's Auto from before is this default)
Game frame rate cap 60, 90, 120, 144, 165, 240 FPS, Uncapped, 30 FPS (after a restart) 60 FPS
NVIDIA Reflex Off, On, On + Boost (shown only on NVIDIA GPUs with VK_NV_low_latency2) Off
AMD Anti-Lag 2 Off, On (shown only on AMD GPUs with VK_AMD_anti_lag) Off
Fullscreen Off, On (the same as F11) Off
Fullscreen monitor Auto (current monitor), or a named connected screen. While windowed, chooses the next fullscreen destination; while fullscreen, moves the game. An unavailable choice is retained with a temporary fallback. Auto (current monitor)
V-Sync Auto, On, Off Auto
Window scaling filter Off, Catmull-Rom, Lanczos Off
CRT filter Off, Lottes aperture grille, Lottes consumer TV, Hyllian Fast, zfast CRT (changes at once; Native HDR bypasses it) Off
CRT lines 240, 480, 720 virtual lines (shown with a CRT filter on; changes at once; capped at half the destination height) 240
Ultrawide menus Full width; Centred, blurred sides; Centred, black bars (with the Aspect ratio at the monitor's shape) Centred, blurred sides
HUD layout Screen's edges; Middle 16:9 (on a screen that is not 16:9; HOS_WIDE_UI, when set, decides) Screen's edges
HDR Off, Expanded, Native (the game's) Off
HDR paper white 80 to 400 nits (while HDR is on) 200 nits
HDR peak brightness 400 to 4000 nits (while HDR is on) 1000 nits
HDR contrast 50% to 200% around mid grey (while HDR is on) 100%
HDR tone mapper Vanilla (the game's curve), PsychoV35 (RenoDX's; with HDR set to Native. DLSS, FSR and TAAU do not take its scene yet: the game's own upscale runs) Vanilla
Texture detail Auto, Full, Medium, Low Auto
Anisotropic filtering Game's, 2x, 4x, 8x, 16x 16x
Shadow resolution Auto (for the card's memory), Game's (1600), High (2200), Highest (3072): the sun's shadow maps, applies at once Auto
Foliage distance 25% to 150% (400% uncapped), in steps of 25; applies immediately 100% (original)
Object detail 100% to 250% (400% uncapped), in steps of 25; applies immediately 100% (original)
Grass density None, 25% to 200% (300% uncapped), in steps of 25; applies immediately 100% (original)
Shadow distance 25% to 200% (400% uncapped), in steps of 25; applies immediately 100% (original)
Contact shadows On, Off On
Base quality Normal, Low (handheld) Normal
GPU device Auto, or each graphics card by name (after a restart) Auto
Audio Volume 0 to 100%, in steps of 5 100%
Mute in background Off, On Off
Output device Default or a named playback device (Windows, and Linux through SDL); applies live Default
Speaker layout Auto, Stereo, 5.1, Mono (layout changes after a restart; Mono/Stereo live on stereo output) Auto
Microphone Off, Default, or each microphone by name Default
Microphone gain Software input level, 0–400%; applies to new samples without changing system volume 100%
Test microphone Start/stop capture; live levels appear in the help box for Test microphone and Microphone gain Stopped
Gameplay Game speed Per frame, Real time Real time
Field of view 50% to 150%, in steps of 5; applies immediately during gameplay 100% (original)
Skip title screen Off, On (after a restart) Off
Skip opening Off, On (skips the new-game opening: the story movie and Navi waking Link; later cutscenes and the title screen stay) Off
Item wheel Off, On (hold R or L for a wheel of your items: point with either stick, let go to equip) Off
Cycle items Off, Last used, Basic, +Bombs, +Tools (a tap of R or L changes the item on ZR within its group) Off
Text speed Normal, 2x, 4x, Instant Normal
Text size Original, 110%, 125%, 150%, 175% (dialogue, Navi and signs) Original
Game language The game's 16 languages, each by its own name (after a restart) The one built with
Menu language Auto (the game's language), or English, Português (Brasil), Español (Latinoamérica), Español (España), Français, Deutsch, Italiano, Nederlands, Polski, Русский, 日本語, 한국어, 简体中文, 繁體中文 Auto
FPS counter Off, FPS, Frame time, Graph, Breakdown, Dev Off
FPS counter position Top right, Top left, Bottom right, Bottom left Top right
FPS counter size Auto, Small, Medium, Large Auto
FPS counter details Opens the FPS counter details page: Version and hardware at every level (Off, On; Off), then a line each of the Dev level (VRAM, Textures, Draws, Dispatches, Render passes, Draws skipped, Texture uploads, Pipelines built, GPU slot waits, Queue submits, Write-backs) and the CPU and GPU lines (Off, On; On) Version and hardware off, every line on
Menu size Small, Medium, Large Medium
Discord status Off, On ("Playing Hookshot" and the time played in your Discord status, while Discord runs on this PC) On
Bug report Saves a report into a new folder in bug-reports (below)
Controls Controls Opens the Controls page
Controller in background Off, On Off
Stick dead zone Default (24%), 5%, 10%, 15%, 20%, 30% Default (24%)
Vibration Auto, Basic, Off Auto
Vibration strength 25% to 200%, in steps of 25 100%
Test vibration an action: Confirm buzzes the controller used last; the value says what plays it Motors
Motion Opens the Motion page: Motion controls (Off, On; On), Motion sensitivity X (10% to 600%) and Y (10% to 300%; 100%), Invert motion X and Y (Off, On; Off), Motion deadzone (Low, Standard, High; Standard)
Camera speed 50% to 400%, in steps of 25 100%
Invert camera X Off, On Off
Invert camera Y Off, On Off
Disable camera centering Off, On Off
Mouse camera As the stick, Native As the stick
Mouse sensitivity 0.10 to 5.00 1.00
Invert mouse vertical Off, On Off
Invert mouse horizontal Off, On Off
Auto run Off, On Off
Walk mode Hold, Toggle Hold
Walk speed 15% to 90%, in steps of 5 45%
Menu shortcut Insert or F1; F1 only; Insert, F1 or Esc Insert, F1 or Esc
Controller menu button None, Home, Back left (GL), Back right (GR) Home
Compact menu key Right Shift, Right Ctrl Right Shift
Layout preset Nintendo (Def), Xbox / PC, Swap Face, Switch 2 Pro, Custom (on the Controls page) Nintendo (Def)
Button prompts Auto, Switch, Xbox, PlayStation 4, PlayStation 5, Steam Deck (on the Controls page) Auto
NFC NFC tag The tag files of your NFC folder, by their names The first
Tap tag Holds the chosen tag to the game's reader
Remove tag Takes it off the reader
Scan tag on controller Reads a tag you own with a Switch 2 Pro Controller (USB) and saves it in your NFC folder
Debug Debug tools Off, On (the tools below it while on) Off
Developer: Frame pacing Off, On Off
Developer: Threaded rendering Auto, On, Off (after a restart). Auto is On with 6 or more processor cores for the game, and the render thread alone with 4 or 5 Auto
Developer: Descriptor reuse Off, On (after a restart) On
Developer: Sampler cache Off, On (after a restart) Off
Developer: Robust buffers Auto, Off, On (after a restart) Auto
Developer: Uncap detail sliders Off, On: the four detail rows above past their safe max Off
Developer: Present queue Off, On (after a restart) Off
Developer: ASTC as RGBA8 Off, On (after a restart) Off
  • Quality preset sets Render resolution, Window scaling filter, Sharpness, Frame pacing, Game speed, Profile and the video memory limits for a card with that much memory. It leaves the Upscaler and Frame generation as you chose them: with DLSS, FSR 3.1 or FSR 4, the preset's resolution becomes their nearest mode. Changing most other rows yourself sets it back to Custom.
  • Auto (this PC), which a first start begins on, chooses for the PC it runs on: the memory tier from the card's video memory (an integrated GPU, a Steam Deck or a card without mesh shaders at Minimum), DLSS on an NVIDIA RTX card or FSR 4 on an AMD RX 9000 where the build has them (else the game's own upscaler), and the screen's size as the Output resolution where the tier has the memory for it. In the first minute of play it then measures the GPU: while frames are missed with the GPU over 90% busy it lowers the Render resolution a step, and while the frame rate cap holds with the GPU under half busy it raises it a step, up to the best mode that still upscales (DLSS or FSR Quality, or 100% with the game's own; never DLAA or native AA). At most two steps; a PC that holds its cap keeps its picture. It chooses again when the card or the screen changes. hookshot_log.txt's Auto (this PC) lines say what it chose and why.
  • Menu size is how large the menu, the FPS counter and the start-up screen are drawn: Medium unless you choose Small (a desk) or Large (a TV across the room). It stays the same whether you use a controller or the keyboard and mouse.
  • Field of view changes the gameplay camera's vertical angle: 100% keeps the game's view, higher shows more of the world and lower brings it closer. The game's zoom changes remain relative to your choice. Aiming has been tested in the 50% to 150% range, including with ultrawide enabled. Cutscenes, the HUD and movies keep their own view. The setting is saved as field_of_view in hookshot_options.ini.
  • Skip title screen starts the game with your most recent save: Hookshot presses A through the title screen and its file list as soon as the game has a save. Until you have saved once, it leaves the title screen alone, so a new game can still be started. It applies after a restart; turn it off to watch the intro and use the title.
  • GPU device matters on a PC with more than one graphics card (a laptop's integrated and dedicated GPUs, or a second card for Lossless Scaling). Auto prefers a dedicated one, and only cards with Vulkan 1.3 are listed. hookshot_log.txt lists every card as vk: device <n>; RX_VK_DEVICE=<n> chooses one for a single run and wins over the menu.
  • Threaded rendering: On draws the picture on threads of its own (a render thread and a recorder thread) while the game goes on to its next frame, for a higher frame rate on a processor with threads to spare; it is still being tested and can show flashes. Off draws it on the game's own thread, as before. Auto chooses by the processor's cores for the game, each core counted once however many threads it runs: On with 6 or more, the render thread alone with 4 or 5 (where the recorder thread beside it was slower), Off with fewer, and Off wherever the mode is not safe. It applies after a restart. RX_VK_ASYNC and RX_VK_RECORDER, when set, choose for one run.
  • Frame generation makes extra frames between the game's own. It adds a little input delay, and fast motion can show artifacts. Frame generation by chooses who makes them: DLSS FG, NVIDIA DLSS Frame Generation where it runs (RTX 40 and newer, at 2x up to what NVIDIA's runtime makes on the GPU: 6x on an RTX 50, 2x on an RTX 40; the Frame generation row stops there, and a higher value saved before shows and runs as that top. AMD FSR 3.1 makes the frames it does not, such as Frame generation's Auto), and the default there; FSR 3.1 FG, AMD FSR 3.1's frame interpolation (any GPU it runs on, at every multiplier and at Auto, from the scene's depth and motion; below), the default everywhere else; Built-in FG, the renderer's own. Frame pacing shows frames at an even interval: less stutter, up to one frame of delay. It paces the frames that frame generation shows, so it has no effect while Frame generation is Off. A fixed multiplier shows each frame at its own time on the game's timeline whether Frame pacing is On or Off (with V-Sync On, one a refresh at most).
  • Game frame rate cap limits the frames the game renders. With a cap of 60 and Frame generation at 2x, the output can reach 120 FPS. Choose Auto in Frame generation to target the display's refresh rate instead of a fixed multiplier. 30 FPS reduces rendering work for handhelds and slower PCs while keeping real-time game speed. It is the last option in the row so existing saved caps keep their meaning. At 30, Game speed follows real time even if Per frame is selected. A cap past 60 is experimental: the game keeps real time, but some cutscenes and bosses still count frames and can misbehave (the intro's narration running ahead: #1742). 60 is the safe choice. Gohma's ceiling-positioning fault is fixed, tested in complete fights at about 98-99 FPS and at 60. Uncapped renders as fast as the PC can (the game still keeps real time). A display that waits for its refresh still holds the frames to its refresh rate: V-Sync on, or the driver's FIFO mode. HOS_FPS_MAX=30 or <61-1000> sets a cap for one run.
  • Bug report writes a folder bug-reports/<date>_<time> in the game folder with what an issue needs: report.txt, which answers the upstream Hookshot game problem form's questions under its own headings (the version, the map you are in, your graphics card and driver, CPU, RAM and system, the menu options and the RX_/HOS_ switches you changed) and ends with a link that opens the form with them filled in (the switches by name only); hookshot_log.txt (this run's log so far) and hookshot_log.1.txt (the run before's, which has the crash if the game crashed last time); and picture.png, the game's picture without the menu. Your home folder is written ~ (%USERPROFILE% on Windows) and your user name <user> in the logs' paths. A switch's value is written only when it is a number, a size or on/off, and never for a name with TOKEN, KEY, ROOM, SECRET, PASS, SERVER or USER in it; other values read (value left out). Nothing else goes in (no saves, no game files, not hookshot_options.ini or hookshot_env.txt themselves), and nothing is sent: open the form, write what happened, and drag the folder's files into it (from File Explorer on Windows, a file manager on Linux; on a Steam Deck, in Desktop Mode). The row then shows the folder's name. A game that stops before its menu can be used leaves its log as hookshot_log.1.txt: start it again, or attach that file yourself.
  • The scaling rows, in the picture's order: Output resolution is the size of the game's whole frame, HUD included. The Upscaler fills it from the 3D: the game's own network, NVIDIA DLSS or DLAA (the 3D at full size, edges smoothed), AMD FSR 3.1, or AMD FSR 4 or its Native AA (below). DLSS and DLAA look softer than the game's own: set Sharpness to around 80% with them. Off is no upscaler at all: the game's own network is left out too, and the 3D is stretched to the output with a plain linear filter (the fastest choice, below). DLSS model chooses their network (below). Render resolution is the 3D's share of the output. The Window scaling filter then scales the frame to your window, and Sharpness sharpens it, by the picture's pixels: when the window is much larger than the picture (the Handheld Profile's 1536x864 on a 4K screen), a Sharpness kept from an older version is stronger than it was, so a lower one may suit.
  • Aspect ratio and Output resolution: the menu lists the resolutions your screen offers (its display modes, as Windows lists them, DSR's included), with the common sizes of each of those shapes your screen does not list (1440p, 4K and 5K at 16:9, 1920x1200 and 2560x1600 at 16:10, 3440x1440 at 21:9, ...), grouped by shape. Aspect ratio lists the shapes, your monitor's own marked "(monitor's)" (the default: 21:9 on an ultrawide, 16:10 on a 16:10 screen); Output resolution then lists that shape's sizes, your screen's own marked "(native)". A size larger than your screen is drawn at that size and scaled down to the window. The marks are for the monitor the game's window is on, and follow it: moved to another monitor, or the desktop's resolution changed while playing, the menu adds that screen's sizes. On Linux the screen's size comes from SDL (the primary display). A portrait screen has no shape the game can draw, so the row shows Monitor's shape as a value of its own there. Docked only. A shape other than 16:9 widens the cameras (21:9, 32:9) or narrows the picture (16:10, 4:3, 5:4); the HUD keeps its 16:9 size with its corners at the screen's edges (HUD layout: or in the middle 16:9, as before), and movies stay in the middle 16:9. At 16:9 on a 5120x1440 (32:9) monitor, the game's 16:9 picture is stretched across the 32:9 output, sharp but wide. Options saved by an older version at 16:9, the default then, move to Monitor's shape on a screen narrower than 16:9 (16:10 such as the Steam Deck's, or 4:3), where 16:9 only adds bars above and below; an ultrawide keeps its 16:9. The output's rows below show the sizes for the output you chose. At your screen's own size the HUD and text map pixel for pixel. Above 2560x1440 the game's render targets get a bigger GPU pool, so a full-size 3D fits. Where the screen's modes are not known (Linux), the menu offers 1920x1080, 2560x1440, 3840x2160, 5120x1440 and 5120x2880. For a size the menu does not offer, type it in Custom output size (Enter or the pad's confirm button to edit and set it, Esc or the back button to cancel). On a controller, D-pad Left/Right moves the caret, Up/Down cycles its digit or separator, the right shoulder inserts a digit and the left shoulder removes a character. At the end, Up/Down adds a character. The shown Paste button still pastes; with a keyboard, Ctrl+V or Shift+Insert does the same. Full-width digits and x become ASCII. Or set output_res=<width>x<height> in hookshot_options.ini: each side a multiple of 8, at least 640x360, at most 5120x2880's pixels, and between 5:4 and 48:9 in shape. The menu says why it refuses a size; in the file, anything else uses the game's 2048x1152. The Output resolution row chooses the typed size from its list when it is already there, including sizes found after a monitor change, or offers it as your own choice and selects its shape. Typing a 16:9 size keeps Aspect ratio on the monitor's shape when it already follows the monitor. The size this run started with stays available until the next start, so returning to the starting shape still restores that size even after a custom-size edit. A picture wider or narrower than 16:9 is kept to 5120x2160's pixels, so above that a size of another shape is not a native frame. A size's own shape sets the camera's, even when the OS reports a single 16:9 primary monitor. For three 16:9 monitors, use 5760x1080 or 7680x1440 and a window or logical display that spans all three. Both render at full size: 7680x1440 has 5120x2160's pixels, the most a wide picture takes. For one run, set HOS_OUTPUT_RES to a size, such as HOS_OUTPUT_RES=3840x2160.
  • Window scaling filter matters only when your window's size differs from the Output resolution: for the sharpest picture, set the Output resolution to your screen's, and the row shows "Not needed (window = output)". It and Sharpness also work when Frame generation is Off.
  • Anisotropic filtering keeps textures sharp on surfaces seen at a slant: the paths and floors ahead of Link. The game asks for 1x or 2x, which at a PC's resolutions smears the ground a few metres off; 16x costs little on most cards, and Game's is the console's own. RX_VK_ANISO=<n> sets it for one run (0: the game's). It is for the game's textures: a picture the game drew itself and reads back (one level, no mipmaps) keeps the game's own anisotropy.
  • Foliage distance, Object detail, Grass density, Shadow distance, Contact shadows and Base quality change how far the game draws its small plants, detailed models, grass and shadows, live. They are hotoni's Graphics-Menu mod for Lichii (its exefs part, which Hookshot cannot load: see Mods) written again for Hookshot. Higher distances cost CPU and GPU time. They stop where the game starts to break: far foliage flickers past 150%, grass thins out past 200%, shadows move in steps past 200%; Debug > Developer > Uncap detail sliders lifts the caps. Base quality Low is the game's own handheld preset. At their defaults nothing of the game is changed.
  • Upscaler Off (dlss=6 in hookshot_options.ini) is for slow GPUs and for measuring: no DLSS, no FSR, and not the game's own network either, which otherwise runs on every frame (at the game's usual 3/4 share it scales the 3D up and smooths its edges; at 100% a pass of the same kind still smooths them). In its place the 3D is stretched to the output with a linear filter, and the HUD is drawn over it at the output's size as always. Nothing is kept from frame to frame, so there is no ghosting, but no anti-aliasing either: edges are jagged, and below 100% the picture is soft. The Render resolution then sets the 3D's size alone (Auto, 100%, 75%, 67%, 50%, 33%): lower is faster. RX_VK_DLSS, RX_VK_FSR4 and RX_VK_FSR set for a run go over it, as over the row's other choices.
  • Texture detail with DLSS, FSR 3.1 or FSR 4: DLSS and DLAA sample the world's textures as NVIDIA's DLSS guide asks: at the output's size and one mip step finer (the game's own bias + log2(3D / output) - 1), which DLSS resolves over its frames, so they keep the detail of the full-size picture instead of the 3D's smaller size. FSR 3.1 and FSR 4 sample them one finer mip step for each halving of the 3D below 75% (the game already does so for its own 75%). RX_VK_UPSCALE_LOD_BIAS=0 turns it off; RX_VK_DLSS_LOD_OFFSET=<steps> sets DLSS's extra step for a run (-1 by default, 0 for none, down to -3).
  • NVIDIA Reflex Off is the game as without it. RX_VK_REFLEX_LOG=1 logs the driver's latency timings every 300 frames while it is on.
  • AMD Anti-Lag 2 Off is the game as without it. It works with Frame generation too: each game frame's present stage is given when that frame itself is shown, not at the made frames before it.
  • Profile runs the game as the console docked (at the Output resolution) or Handheld (1536x864): lighter on the GPU.
  • Mesh shaders (how the game's mesh programs, much of the scenery, run) is no longer a menu row: changing it made the next start translate every shader again. The game uses the GPU's own mesh shaders where it has them, and the compute path where it has not and on Linux AMD cards (issue 2245). For troubleshooting, RX_VK_MESH_SHADERS=compute in hookshot_env.txt uses the compute path on every GPU (try it if your card crashes or leaves objects out; usually a little slower), and RX_VK_MESH_SHADERS=native the GPU's own for every draw. A mesh_shaders= line left in hookshot_options.ini is no longer read.
  • Ultrawide menus: with the Aspect ratio at the monitor's shape, the pause, item and map menus stay in the middle 16:9, with what the game draws beside them out of focus, or black; Full width stretches them over the whole screen, as before. Loading screens and pre-rendered movies get the same sides. It changes at once.
  • V-Sync: Auto is mailbox where the driver has it (no tearing, no wait for the display); otherwise On, or on Windows Off. On waits for each refresh (FIFO): no tearing, at most the display's rate. Off shows each frame at once and can tear (where the driver cannot, it is Auto). It changes at once. RX_VK_FIFO=1 (On) or RX_VK_IMMEDIATE=1 (Off) chooses for one run.
  • Robust buffers (Debug tab, Developer): a read past a buffer's end is dropped instead of stopping the GPU. Auto is on, on every card; Off can be faster on some NVIDIA cards.
  • ASTC as RGBA8 (Debug tab, Developer): the AMD texture workaround below.
  • Present queue (Debug tab, Developer): the presents on a GPU queue of their own. Off by default; On makes frame generation's frames more even with V-Sync Off on some cards (an RTX 5090), but lost the GPU on others with frame generation on (an RTX 5080). It applies after a restart; RX_VK_PRESENT_QUEUE in hookshot_env.txt or the environment chooses over it at every start while it is set (the row then shows it and cannot be changed). If the game crashes or the screen goes black with it on and you cannot reach the menu, put RX_VK_PRESENT_QUEUE=0 in hookshot_env.txt, then turn the row off and take the line out.
  • Game speed: with Per frame, the game runs slower whenever it is below 60 fps. Real time keeps it at normal speed down to 15 fps.
  • FPS counter shows in a corner (FPS counter position; at the top right while the menu is open), at one of four levels. FPS is the number alone (an options file's old On); with frame generation on, it also shows the game's own rate and who makes the frames: Base 60, DLSS FG (NVIDIA DLSS Frame Generation), FSR 3.1 FG or Built-in FG. Frame time adds the game's frame time and its 1% low (the rate of the slowest 1% of frames over the last 10 seconds). From this level on, the number and the frame time are green at the Game frame rate cap's rate, amber under it and red under two thirds of it. (The cap's rate is the display's refresh instead with V-Sync On when that is slower; with Uncapped and V-Sync not On there is no line, and the colours are against 60.) Graph adds the frame times of the last 4 seconds (each point the slowest frame of its span, so no stutter is missed), with a dashed line at the Game frame rate cap's frame time and a red mark over frames that took more than twice it; its scale follows the usual frame, so a spike is drawn at the top rather than flattening the rest. Breakdown adds where the frame's time went on the game's presenting thread, as a bar and in numbers: the game's own code (Game), recording and submitting the GPU's work (Renderer), waiting for the GPU (GPU wait), and waiting for the frame's turn (Pacing: the frame rate cap, vsync, Reflex); then the GPU's own time per frame, and the shaders built and draws left out in the last 4 seconds (red marks on the graph where they happened, the usual cause of a stutter).
  • Volume scales the game's whole sound, on top of the game's own sound settings and Windows' volume. Its steps follow a curve so they sound about even: 50% is a quarter of the level (-12 dB). Mute in background silences the game while another window has the focus; an overlay such as Steam's or Discord's does not count as another window while the game was in front.
  • Output device, under Audio, selects a playback endpoint, with Default following the system output. Changes briefly restart the audio stream. A missing endpoint falls back to Default and is retried; its saved choice is retained. HOS_AUDIO_DEVICE overrides selection for that run without changing the saved choice. Windows saves the endpoint's persistent ID. Linux uses the loaded SDL2/SDL3 backend and device name, resolved again when opening playback; device numbers are not saved. A renamed device is treated as missing. Identically named Linux outputs are ambiguous and are not offered; use Default and the system mixer to route those.
  • Speaker layout is the speakers the game mixes its sound for. Auto is 5.1 when the selected/default output device has 5.1 or more speakers, else stereo; Stereo or 5.1 chooses one whatever the device has (5.1 on stereo speakers is mixed down). Auto counts the speakers Windows names, not the channels: an audio interface whose outputs are not set up as surround speakers (a Focusrite Scarlett's 8 outputs, for one) is stereo, so voices and the ocarina do not go to an output with nothing connected. For one run, HOS_AUDIO_CHANNELS=2 or 6 chooses stereo or 5.1 and wins over the menu.
  • Microphone is what the ocarina hears when the game's own microphone option is on (an instrument, or humming). Default follows Windows' default recording device; the list shows each microphone by name, and a change applies at once. A chosen microphone that is unplugged stays chosen (shown as not connected): Default stands in until it is back. On Linux (SDL2) two microphones with the same name cannot be told apart: the first is used. Windows must allow desktop apps to use the microphone (Settings, Privacy & security, Microphone). HOS_MIC_LOG=1 logs what the game reads, a line a second.
  • Microphone gain changes captured samples for Hookshot only, from 0% to 400% (100% unchanged); it does not change the system's input volume. Boosting raises noise too, and excessive levels clip. It applies to newly captured samples; samples already buffered for the game keep their previous gain.
  • Test microphone starts and stops capture on request. During a test, the help box for Test microphone and Microphone gain shows a read-only bar labeled Testing, with the incoming percentage before gain and the adjusted one after it, and says when it clips, falls back to the default device, cannot capture or has no recent samples. Opening the Audio tab alone never starts a test, and Microphone Off prevents one; leaving the tab, closing the menu or losing focus stops it. No microphone sound is played back or saved.
  • Game language is the game's own text, language.txt in the game folder: the row writes it once you leave the row, and the game reads it at its next start (HOS_LANGUAGE, when set, wins over the file, as for the game). Where the folder cannot be written the row goes back to the file's language. Menu language is this menu's: Auto follows the language the game runs in until the restart (English (UK) and French (Canada) take English and French). The translations are machine-made and want checking by speakers of each language: each is one line in gpu/vk/menu_i18n.h. Place and item names stay English for now. Japanese, Chinese and Korean letters come from the game's own fonts for them, with Windows' (Yu Gothic, Microsoft YaHei, Microsoft JhengHei, Malgun Gothic) or Linux's Noto CJK where a game font lacks one.
  • Discord status shows "Playing Hookshot" and the time played in your Discord status. It is on by default and does nothing unless a Discord client is running on this PC; with the row Off nothing is sent to it.
  • Controller in background: On keeps the controller working while another window has the focus. The keyboard and mouse still need the game's window.
  • Mouse camera: Native turns the camera with the mouse one to one, as in a PC game. As the stick uses the mouse in place of the right stick. The - and = keys change the sensitivity in game too. When another camera takes over, Native leaves it alone; on returning, mouse look starts from the game's current pitch and yaw rather than restoring the old view.
  • Disable camera centering: On stops the game gradually turning the camera toward your movement, so it does not fight native mouse look. Off keeps the game's standard behavior. Changes apply immediately with either Mouse camera mode. Manual controls, explicit recentering and scripted camera headings still work; automatic pitch adjustment is unchanged.
  • Camera speed is how fast the right stick turns the camera, in percent of the game's own speed. The camera keys follow it, and so does the mouse with Mouse camera on As the stick; Native mouse look has its own sensitivity. The game's own camera speed option still picks the speed this multiplies.
  • Stick dead zone: how far a stick moves from center in any direction before it counts. Default is about 24%. Use a lower value for a precise stick or a higher one for a stick that drifts. The game also applies its own dead zone.
  • Auto run: the sprint goes on after the run button (A) is let go. Hold A for 0.4 s while moving (the roll, then the sprint, as usual), let go, and A stays held for the game while the stick stays pushed; a short press (a roll on its own) is not kept. Letting go of the stick or pressing A again stops it (a long hold keeps it again). Only while Link is yours to move: an event (a talk, a cutscene), the pause menu, the map, the Insert menu and the ocarina's notes end it, so A never picks an entry, skips text or plays a note there.
  • Vibration picks how the controllers vibrate. Auto, the default, plays the best each one can: a DualSense on a USB cable its voice coils (the game's fine vibration, both bands as they are), a Switch Pro Controller or Joy-Con its own HD rumble, every other controller its two motors. Basic plays the two motors on every controller. Off stops it all.
  • Vibration strength scales it, every controller's: 100% is what the game asks for, from 25% to 200%. A change gives a short buzz at the new strength. The game's bands go to a controller's heavy and light motors by their frequency.
  • Test vibration buzzes the controller used last for half a second, and its value says what plays that controller now (Motors, HD rumble, Fine haptics (cable), ...); its help line says why, for example a DualSense whose sound card was not found, or RenHDrum missing.
  • Motion controls (Controls tab, Motion page): the controller's gyroscope aims where the game uses motion, as on the Switch. It works with Switch Pro controllers and pads in Switch mode, DualSense and DualShock 4 (through SDL). Its row says whether the connected pad has a gyroscope; Off leaves the game seeing a pad lying still. Motion sensitivity X/Y scale the left-right and up-down aim (100% is the console's), Invert motion X/Y turn either direction around. The game gets the motion state as a Switch (and Eden) builds it, so how you hold the pad when motion starts does not matter. Motion follows the pad used last. The gyroscope's drift is learned while the pad rests on a table, so set it down for a second if the aim creeps. HOS_MOTION_DEBUG=1 (in hookshot_env.txt) logs what the game gets twice a second.
  • Layout preset: Nintendo has A on the right face button, Xbox / PC and Swap Face put A on the bottom one. Changing a button yourself sets it to Custom.
  • Button prompts (on the Controls page): the button icons in the game's texts, hints and menus. Auto shows the first controller's; with no controller connected, the keyboard's. Keyboard shows the key or mouse button your controls put each action on (the first of its two), and WASD and the mouse for the sticks; the ocarina's notes and the pause menu's controller keep the Switch's buttons.
  • Save my pipeline list (Debug tab, under Developer): see Send your pipeline list.
  • Walk mode and Walk speed: on the keyboard the movement keys push the stick all the way, so Link runs. While the Walk key is held (Caps Lock unless you change it on the Controls page), they tilt it only Walk speed of the way, and he walks; with Walk mode on Toggle, one press walks and the next runs again. 15% is his slowest walk, 45% to 50% his fastest; from 55% up he jogs, then runs. Controllers, the mouse and the camera keys are not changed. Caps Lock still switches capitals on and off in other programs at each press: bind another key if that bothers you. Walk mode is separate from the Controls page's Toggle column, which holds Switch buttons such as ZL, not Walk. They can be used together without toggling twice. In Toggle mode, walking stays selected across Insert and focus changes, but a Walk key held when play resumes must be released before a fresh press changes that selection.

Controls

Use a controller, or the keyboard and mouse. On the keyboard, W A S D move (hold Caps Lock to walk) and the arrow keys (or I J K L) turn the camera. With the default keyboard bindings, press E to select New Game on the title screen.

Mouse in the game's menus (Windows): the title screen and its file list, the pause menu, the Key Items, Threads of Time and Map pages, the options and the save dialogs free the mouse while they are shown. Point at an entry to select it, left-click to choose it (A) and right-click to go back (B); the tabs, the L and R signs and the Back prompt can be clicked too. The wheel turns the pause menu's pages and scrolls lists; on the map it changes floors and zooms. Drag with the left button to pan the map and the tapestry or turn a stone on Key Items. The cursor stays hidden while you play on a controller or the keyboard, until the mouse moves.

Rumble: a Nintendo Switch Pro Controller or Joy-Con plays the game's HD rumble as the Switch does, each side and both frequency bands as the game asks, with SDL3 (the Windows game brings it; on Linux the system's SDL3, where it has one). Other controllers, Switch 2 controllers, a pair of Joy-Cons used as one controller, and SDL2's own library get the game's rumble on their two motors. The menu's Vibration strength scales it too. HOS_HD_RUMBLE=0 sends the Switch controllers the motor rumble too. On Linux, SDL talks to the Switch controller itself through its hidraw device, which needs read and write access for your user; Steam's udev rules (the steam-devices package on most distributions) give it. Without them the kernel's hid-nintendo driver runs the controller, and it gets the motor rumble. HD rumble goes to anything SDL reports as a Switch Pro Controller or Joy-Con, and that includes third-party controllers in Switch mode (8BitDo, GameSir and others; SDL gives them Nintendo's ids). Some of them may turn it into weak rumble or none: set HOS_HD_RUMBLE=0 to give them the plain motor rumble.

DualSense haptics (RenHDrum): a DualSense on a USB cable is also a four-channel 48 kHz sound card, and its third and fourth channels drive its voice coils. With RenHDrum beside the game (renhdrum.dll, renhdrum.so on Linux), Hookshot sends them the game's own vibration values as they are (both bands, both sides, no flattening to two motors), so the pad plays the game's fine vibration instead of a rough imitation of it; Vibration's Auto does it, and Vibration strength scales it. On Linux, the sound card is opened through the system's SDL as on Windows. Without RenHDrum, or with no sound card found, nothing breaks: the pad gets its motors, and Test vibration says why. RenHDrum is MIT OR Apache-2.0 (third_party/renhdrum/NOTICE), built from its source in third_party/renhdrum/ with python -I scripts/renhdrum.py build; a build places the library beside the game when it is in third_party/renhdrum/.

RenHDrum can also play a DualSense over Bluetooth (its voice coils, through HID report 0x32), an Xbox One or Series controller's four motors (the triggers' too) and a Switch controller's HD rumble. Those are being tested: set HOS_RUMBLE_BACKEND=renhdrum to try them (motors and hd pick the others for every pad).

NFC tags: where the game asks for a figure's NFC tag, the Insert menu's NFC tab gives it one. The tags are files in a folder of yours, dumps of tags you own: .bin (an NTAG215's 540 bytes; 532 and 572 byte ones too) or a Flipper Zero's .nfc. The folder is %LOCALAPPDATA%\Hookshot\nfc on Windows and ~/.local/share/hookshot/nfc on Linux (HOOKSHOT_NFC_DIR names another); copy them in yourself. Choose one in the NFC tag row and press Tap tag while the game waits for one (or before: it stays at the reader until the game reads it). With a Nintendo Switch 2 Pro Controller plugged in over USB (Windows), a real tag held on the controller is read too, and Scan tag on controller saves one into the folder. Only a tag's ID and its figure's model are read from a file; what a game writes to a tag is kept beside your saves instead (user/nfc), and no tag, real or file, is ever written. docs/nfc.md has the details.

The Nintendo Switch 2 Pro Controller over USB (Windows): Windows has no driver a game can use for it, so the game reads it itself: plugged in with its cable, it is a controller with its motion sensor and rumble like any other, with no bridge program. Pick Switch 2 Pro as the Layout preset (Controls page) for its own buttons and the Switch's icons; its Home button opens this menu (Controller menu button, which can also be GL or GR, or none). Only one program can have the controller: close Steam (it takes it for Steam Input) and any bridge program first, or the log says another program has it. A controller that stops taking rumble (it happens; the log says so) plays its own buzz and click instead until it is unplugged and plugged in again. Not over Bluetooth, where the controller speaks a pairing of Nintendo's own. HOS_SWITCH2=0 leaves the controller alone.

To change which gamepad button or key presses a Switch button, or which keys move, walk and turn the camera, open the Controls tab's Controls page. Choose a row and a column (Input 1 or 2 for the gamepad, Key 1 or 2 for the keyboard: each control takes two of each), press Enter (or the bottom face button), then the new button or key. Esc cancels, Delete clears it, and Reset to defaults puts them all back. A gamepad button taken from another Switch button swaps with it. The page saves them in hookshot_options.ini.

Ocarina notes: the page gains five rows, Ocarina note (L), (R), (A), (Y), (X), unset by default: the game's own buttons play until you bind a note to a key or gamepad input of your own, and a bound note then answers only that input while the game waits for it. A dialogue or cutscene that takes the buttons ends the wait, and a song lesson keeps the game's own too.

Writing the controls in hookshot_options.ini yourself
pad_a=0
key_a=69,13

pad_<button> is a gamepad input by position: 0 bottom face button, 1 right, 2 left, 3 top, 4 Select or Back, 5 Home, 6 Start, 7 and 8 the stick presses, 9 and 10 the shoulder buttons, 11 to 14 the D-pad (up, down, left, right), 15 and 16 the triggers, -1 none. key_<button> is one or two Windows key codes in decimal (69 is E, 13 Enter), 0 none; the mouse's buttons are 1 (left), 2 (right), 4 (middle), 5 and 6 (side buttons), and count while the mouse is captured; the side buttons also in the game's own menus, where the other three click. The buttons are a b x y l r zl zr plus minus ls rs left up right down, for keys only the left stick's and the camera's directions and walking: move_up move_down move_left move_right cam_up cam_down cam_left cam_right walk, and the ocarina's five notes, which also take a pad_ line: note_l note_r note_a note_y note_x. A button the file leaves out keeps its default.

Mods

Put mods in a mods folder in the game folder, beside hookshot.exe (or point HOS_MODS at another folder), in the layout emulators use: mods/<name>/romfs/... holds files that replace or add to the game's own, mods/<name>/exefs/ patches to the game's code (.ips, IPS32, .pchtxt), and mods/<name>/cheats/E0F3CCFAF50065AE.txt Atmosphere cheats. Deeper layouts such as mods/contents/<title id>/<name>/romfs work too. A folder whose name starts with - or _ is off.

Players: the mods guide covers installing, turning off, ordering and checking mods. RomFS files load at each start; exefs patches (.pchtxt, .ips) are applied when the game is built (below). Graphics-Menu's settings are built in instead (Graphics > Detail); its RomFS part is only for its own in-game menu and need not be installed. The log (hookshot_log.txt) names each mod and the files read from it. The Insert menu's Mods tab (shown when there are mods) lists them in their order, each On or Off: Left and Right switch the selected one, Enter picks it up and Up and Down move it. When two mods have the same file, the one lower in the list wins; out of the box the list is in the folders' names' order, so 01-..., 02-... still set it. The order and the switches are kept in hookshot_mods.txt in the game folder and apply at the next start (closing the menu offers the restart). The log (hookshot_log.txt) names each mod and the files read from it.

A mod file larger than the game's own needs a larger entry in the resource size table (System/Resource/ResourceSizeTable.Product.111.Nin_Ounce_NVN2.rsizetable.zs, which gives each file the memory the game sets aside for it). Hookshot makes that table at each start with mods: the game's, with every mod's own table merged in (the larger entry wins) and the entry of every file a mod serves raised to fit its size, so mods that each grow files (HD textures, longer parameter files) load together, without one table holding all their entries. The button prompts' entries are kept in it too, so your controller's icons stay in texts. It is written to modcache/rsizetable.zs in the game folder. If it cannot be made, the last mod's own table is used with the button prompts' entries merged into it, as before. If a mod includes tables for several game versions, the prompts use the table name from the game's own RomFS, not the first table found in the mod. Other versions' tables do not change the prompts' font or its size entries.

ExeFS patches change the game's code, which Hookshot compiles ahead of time: they are applied when the game is built, so a new patch, a changed one or a mod with patches switched on or off takes effect after the next build (build the same folder again in Hookshot Builder, or nx2/make_game.py --update <folder>). The Mods tab says when a mod's patches wait for a build. A patch file is for this game when its name (IPS) or its @nsobid line (pchtxt) is the code's build id, E0F3CCFAF50065AE4EA01EB5AEB13B1A45DA3348; others are left out. exefs_patches.txt in the game folder lists what the build applied. Bytes a patch writes into a word that the game's loader relocates (a pointer in its data) are left out, and the file's line there says how many.

Cheats of the mods that are on are listed under them on the Mods tab and switched there, at once. Cheats that change memory run as Atmosphere runs them, every frame (opcodes 0 to A and C0 to C3); a cheat that writes the game's code is listed as not supported (make it an ExeFS patch instead). {Master} codes are always on.

On Windows, Hookshot Builder's Mods + Editor page (beside Play) does the same with the mouse: tick a mod to use it, move it with its ▲ and ▼ buttons (a mod lower in the list wins a file two mods have), Add mods… or Open mods folder. When the code patches you have on change, it rebuilds the game, or uses a build of that same mix kept from before.

Save editor

Hookshot Builder's Mods + Editor page (Windows, beside Play) has a Save editor tab for your game folder's saves. Close the game first. Pick a save slot, then:

  • Stats: hearts, magic, rupees and the other numbers on the save.
  • Inventory: search the items, then Give or Take away the selected one, or Give everything missing. With "Taking away also forgets it was found" ticked, taking an item also clears the flag saying you found it.
  • Progress: search the story flags (a temple, a talk, Navi...) and turn them on or off.
  • All entries: every entry of the save by name, with "Edited only" to see what you changed, for anything the other tabs don't cover.

Save writes the save, Save and play writes it and starts the game, and Undo changes goes back to what is on disk. A backup of the save is kept each time the editor saves.

In the game, the Debug tab has its own tools (turn on Debug tools first): the Inventory editor (unlock or relock equipment, items, upgrades and quest items, and change amounts), Rupees, Teleport and Travel, Switch age, Free camera, No-clip flight, Set time, Movement speed and damage settings.

Build from source

For developers, and for players who prefer the command line. The builder windows run the same script, nx2/make_game.py. CONTRIBUTING.md has more.

Windows, from the command line
python -I nx2/make_game.py --nup "C:\path\your-game.nup" --out "C:\Games\RedTunic" --language en-US
python -I nx2/make_game.py --romfs "C:\path\romfs" --exefs "C:\path\exefs" --out "C:\Games\RedTunic" --language en-US

Add --check with your .nup or --exefs to only check the game's version. It builds nothing. Add --log "C:\path\build.log" to also save the build's output to a file (UTF-8, replaced if it exists); it works with --check and --update too, and on Linux. HOOKSHOT_JOBS=<n> (or --jobs <n>) limits how many files compile at once. HOOKSHOT_MEM_LIMIT_GB=<n> lets the compilers take that many GB together, whatever is free now; up to 4 always run.

You need:

  • Python 3 from python.org (the Microsoft Store's Python installs packages where python -I does not look), with pip install -r requirements.txt (core tools plus the button-prompt packages).
  • llvm-mingw (the ucrt-x86_64 build), unpacked as llvm-mingw in the clone or with HOOKSHOT_MINGW set to its folder. Without it the build uses the clang from emsdk at C:\emsdk with Visual Studio's C++ tools and the Windows SDK (HOOKSHOT_MSVC=1 forces that route).
  • What the builder's tools folder carries and a clone does not. Run HookshotBuilder.exe once: the folder is %LOCALAPPDATA%\HookshotBuilder\versions\<version>\HookshotBuilder\tools. The builder sets the variables itself; from the command line, set them before you run make_game.py:
    • tools\cpm: the Vulkan headers and FFmpeg. Set RX_CPM to this folder. Without it (and without system Vulkan / SPIR-V / VMA headers or HOOKSHOT_*_HEADERS), the standalone build stops instead of shipping a game with no renderer.
    • tools\wgpu-native: set WGPU_NATIVE to this folder.
    • tools\third_party: the prebuilt files a clone lacks (a64emit, lld-link, zbic and SDL2). Copy its .dll, .exe, .lib and .sha1 files to the same places under third_party\.
    • tools\work: copy it to work\. It holds the hot-function list, the link order, the profile and the icon; without them the game builds but runs slower.
  • Visual Studio 2022 with .NET 8, only if you want to change the builder itself.
Linux, the AppImage from the command line
./RedTunic-<version>-x86_64.AppImage --cli --nup ~/your-game.nup --out ~/Games/RedTunic   # make_game.py's options
./RedTunic-<version>-x86_64.AppImage --play                    # the game the builder built last, without the window
./RedTunic-<version>-x86_64.AppImage --play ~/Games/RedTunic   # the game in that folder
./RedTunic-<version>-x86_64.AppImage --update ~/Games/RedTunic # the new release, and that folder built again

HOOKSHOT_JOBS=<n> (or --jobs <n> with --cli) limits how many files compile at once. HOOKSHOT_MEM_LIMIT_GB=<n> lets the compilers take that many GB together, whatever is free now. Linux stops a compiler that does not fit; it is then compiled again alone at the end.

In a game folder, hookshot is the launcher and the game itself is bin/hookshot. The builder's settings are in ~/.config/hookshot/builder.ini.

Linux, without the AppImage

You need clang and lld (LLVM 23 or newer reads the play profile; an older one builds without it), Python 3 with pip install -r requirements.txt, FFmpeg's development files (with dav1d, for the movies) and SDL3 (SDL2 works too). Then run python -I nx2/make_game.py ... as on Windows. Vulkan / SPIR-V / VMA headers come from the distro, from HOOKSHOT_*_HEADERS, or from a CPM cache via RX_CPM.

scripts/linux/deps.sh fetches and builds all of these into build-linux/deps, and scripts/linux/appimage.sh makes the AppImage from them. A folder built from a source checkout has no launcher: hookshot there is the game.

The Windows game, built on Linux

Unpack llvm-mingw's Linux build (ucrt-ubuntu-22.04-x86_64), then run make_game.py with RX_TARGET=windows and HOOKSHOT_MINGW set to its folder. The objects go to ~/.cache/hookshot-builder-windows, apart from the Linux game's. The game folder runs under Proton or on Windows.

Running the game from the command line

The built game is bin\hookshot.exe on Windows and bin/hookshot in a packaged Linux game folder. A build from a source checkout has hookshot.exe or hookshot in its build folder, with no launcher beside it. The hookshot.exe or hookshot launcher in the game folder does not pass these arguments to the game, so start the game directly to use them.

Argument What it does
image.bin The game image to run. Without it the game uses the image.bin, romfs and user in its folder
--romfs <folder> The extracted RomFS folder
--user <folder> Where the game keeps per-user data: saves, caches and temp files (and mouse_sens.txt when HOS_MOUSE_SENS is set; the menu keeps the sensitivity otherwise). Default: user in the game folder on Windows, ~/.local/share/hookshot on Linux; with an explicit image path, user in the current folder
--trace Log every Horizon OS call (the same as HOS_TRACE=1)
--prepare-shaders Prepare the shaders as the first start does, then exit without starting the game (no build step runs it)

For example, keep saves somewhere else:

cd "C:\Games\RedTunic"
.\bin\hookshot.exe --user "D:\Hookshot data"
cd ~/Games/Hookshot
./bin/hookshot --user "$HOME/hookshot-data"

hookshot_env.txt and the other test switches are documented below.

AMD FSR 3.1 (every build)

AMD FSR 3.1 in the Graphics tab's Upscaler row (dlss=3 in hookshot_options.ini; RX_VK_FSR=1 for one run, RX_VK_FSR=0 never) upscales in place of the game's own network, and with Frame generation at 2x its frame interpolation makes the frames between the game's at every Frame generation setting, Auto and 2x to 8x, wherever NVIDIA DLSS Frame Generation does not (Frame generation by at FSR 3.1 FG, or at DLSS FG; RX_VK_FSR_FG=0 never, =1 over the row). The game draws its HUD into the same picture and has no HUD-less colour, so AMD's own passes would move the HUD with the scene: here a pixel the same in both frames while the scene behind it moves is kept where it is (RX_VK_FSR_FG_HUD=0: AMD's as they were). Both are AMD's FidelityFX SDK 1.1.4 shaders (third_party/fidelityfx-sdk, MIT), compiled into the renderer: no AMD runtime or DLL is needed, and the row offers FSR 3.1 on any Vulkan 1.3 GPU with push descriptors, extended storage image formats and storage writes without a format (vk: fsr3: ... can run on this GPU in the log). It upscales on the same inputs as DLSS and FSR 4: the scene's colour, its depth, motion from the camera with the skinned characters' own drawn over it (Link, his shield and the people around him keep their outline while they move), and the same camera jitter (RX_VK_FSR_JITTER=0 turns it off). Things that move by themselves and are not skinned (Navi's body, props) can still trail. RX_VK_FSR3_CHAIN=0 gives it the camera's motion alone, as before. With HDR on Native, it takes the game's HDR colour as linear light, so highlights above the paper white are kept (RX_VK_FSR3_HDR=0: cut at the paper white, as before; with RX_VK_FSR3_CHAIN=0 they are cut too).

NVIDIA DLSS (optional, NVIDIA's SDK under NVIDIA's license)

A game built with NVIDIA's DLSS SDK offers NVIDIA DLSS and NVIDIA DLAA in the Graphics tab's Upscaler row on NVIDIA RTX cards (dlss= in hookshot_options.ini, RX_VK_DLSS=0/1/2 for one run): DLSS Super Resolution in place of the game's own upscaler, with camera jitter (NVIDIA Reflex needs no SDK and is in every build). NVIDIA's files are NVIDIA's, under its own license, the NVIDIA RTX SDKs license. Hookshot never includes or redistributes them: each build downloads them for itself, and only after you accept that license. Never share a game folder built with them, and do not post builds made with them.

  • Windows, the Hookshot Builder: tick NVIDIA DLSS (downloads NVIDIA's SDK under NVIDIA's license) before you build. It is off by default and shows NVIDIA's license when you tick it. The build downloads the SDK into %LOCALAPPDATA%\HookshotBuilder\ngx-sdk and puts DLSS's runtime, nvngx_dlss.dll, and DLSS Frame Generation's, nvngx_dlssg.dll, in the game folder's ngx folder.
  • Windows, the command line: python -I scripts/ngx_sdk.py --platform windows <sdk folder> asks you to accept NVIDIA's license (or pass --accept-nvidia-license) and fetches the headers, nvsdk_ngx_s.lib, nvngx_dlss.dll and nvngx_dlssg.dll, each checked against its SHA-256. Then build with HOOKSHOT_NGX_SDK=<sdk folder>: make_game.py copies both runtimes into <game folder>\ngx. NGX is also pointed at %LOCALAPPDATA%\Hookshot\ngx, and at RX_VK_DLSS_DIR when it is set, and uses the newest of each it finds across them (to try a given one, make sure no other folder has a newer one). Without nvngx_dlssg.dll there, frame generation takes the driver's own copy, which may be older: one that makes 1 frame at most, or refuses every set. Never copy NGX's core, _nvngx.dll, beside the game: it comes with NVIDIA's driver.
  • Linux, the Hookshot Builder (the AppImage): the same tick as on Windows, and nothing else to do: no variable is passed to the AppImage and no file is copied by hand. The build downloads the SDK into the builder's cache folder, $XDG_CACHE_HOME/hookshot-builder/ngx-sdk (~/.cache/hookshot-builder/ngx-sdk), builds the game with it and puts DLSS's runtime, libnvidia-ngx-dlss.so.<version>, and frame generation's, libnvidia-ngx-dlssg.so.<version>, in the game folder's ngx folder. The builder's settings (~/.config/hookshot/builder.ini) remember that you accepted NVIDIA's license, so an update keeps DLSS even after the cache was emptied: it downloads the SDK again.
  • Linux, a build from source: scripts/linux/ngx-sdk.sh <sdk folder> (it runs scripts/ngx_sdk.py --platform linux) asks you to accept NVIDIA's license and fetches libnvsdk_ngx.a for the build, libnvidia-ngx-dlss.so.<version>, DLSS's runtime, and libnvidia-ngx-dlssg.so.<version>, frame generation's. Then run the build with HOOKSHOT_NGX_SDK=<sdk folder> set: make_game.py puts both runtimes in the game folder's ngx folder. NGX's core comes with NVIDIA's Linux driver.
  • Linux, a game folder with other than plain English letters in its path: NVIDIA's NGX on Linux loads DLSS's runtimes only from a folder whose whole path is ASCII. A game in ~/Games/Hookshot needs nothing more. A game in a folder such as ~/Games/Hookshot-Café (the é is not ASCII) cannot use the runtimes in its own ngx folder, and the log and the Insert menu say so: copy libnvidia-ngx-dlss.so.* and libnvidia-ngx-dlssg.so.* from there into $XDG_DATA_HOME/hookshot/ngx (~/.local/share/hookshot/ngx), which the game also looks in, or into any other folder with an ASCII path and name that folder in RX_VK_DLSS_DIR.

The DLSS model row chooses DLSS's network, by NVIDIA's preset letter, for every mode: Transformer (K), the transformer model and the one tested most here (the default; on a card with less than 7 GB of video memory CNN (E) in its place, NVIDIA's CNN model, for less video memory and GPU time); Transformer 2 (M), NVIDIA's second-generation transformer as it picks it for Performance; Transformer 2 (L), the same generation as tuned for Ultra Performance; NVIDIA default, which lets DLSS's runtime pick for each mode, so it can change with a runtime update. The runtime the SDK comes with (310.9.16) has all of them. A change applies at once, without a restart (dlss_model= in hookshot_options.ini, 0 to 3 in that order). RX_VK_DLSS_PRESET=<letter> (or 0 for NVIDIA's default) chooses the preset for one run and wins over the row; the log's vk: NVIDIA DLSS: ... preset <letter> line says which one was asked for, and with RX_VK_DLSS_LOG=1 NGX's own Using App hint Preset <letter> lines say which it took.

8 GB cards: DLAA draws the 3D at full size, and DLSS and DLAA add images of their own beside the game's. In busy areas that can pass what the driver allows the game, and the game then stutters: Quality or Balanced is safer there. The log's vk: status: line every 600 frames shows the video memory in use of the allowance, with DLSS's details (its images' size, the jitter and the actor motion) appended while it draws, and a vk: over the driver's video-memory allowance line says when the game passed it.

The game's log says whether DLSS started, and why not when it did not (vk: NVIDIA DLSS: lines in hookshot_log.txt). NGX starts on demand: when the Insert menu first opens (to know whether the Upscaler can offer DLSS) or at the first gameplay upscale with DLSS chosen, so on the title screen the log has no NGX lines yet. With RX_VK_DLSS_LOG=1 NGX's own lines go there too (ngx:). Some of them look like errors but are not: failed to load NGXCore: 126 (twice) is NVIDIA's library looking for _nvngx.dll and nvngx.dll beside the game, which are not there on purpose, before it loads the driver's; Feature ... failed to load from cache is NGX finding no model of its own downloads (C:\ProgramData\NVIDIA\NGX\models) before it uses the game folder's nvngx_dlss.dll.

AMD FSR 4 (optional, AMD's DLLs not included)

A game built with FSR 4 offers AMD FSR 4 and AMD FSR 4 Native AA in the Graphics tab's Upscaler row: AMD's machine-learned temporal upscaler in place of the game's own, on the same inputs as DLSS (the scene's colour and depth, the camera's and the characters' motion, and the camera jitter). Native AA draws the 3D at full size and smooths its edges. With HDR on Native, it takes the game's HDR colour as linear light, so highlights above the paper white are kept (RX_VK_FSR4_HDR=0: cut at the paper white, as before). Unlike FSR 3.1 (above), it runs AMD's own DLLs, so it needs them beside the game. Choose it in the menu (dlss=4 or 5 in hookshot_options.ini, RX_VK_FSR4=1 or 2 for one run, RX_VK_FSR4=0 to leave it out).

  • Windows, the Hookshot Builder: tick AMD FSR 4 before you build. It shows AMD's license first and stays ticked only if you accept; the build then fetches AMD's DLLs for you (below), into the builder's ffx-sdk folder and the game folder.
  • The command line: make_game.py --fsr (or HOOKSHOT_FSR=1 for nx2/build.py). Rebuilding a folder built with it (--update) keeps it; --no-fsr takes it out.
  • AMD's files: Hookshot includes only AMD's MIT-licensed API headers (third_party/fidelityfx). Put amd_fidelityfx_loader_vk.dll and amd_fidelityfx_upscaler_vk.dll from the FidelityFX SDK 2.4 release (Kits/FidelityFX/signedbin) beside the game's exe (bin\hookshot.exe) or in the game folder. (RX_VK_FSR_DIR names another folder, for testing: set it in the environment or a HOS_ENV_FILE file; hookshot_env.txt takes no paths.) Without them the Upscaler row says so and offers the rest. On Linux, a Vulkan FSR 4 library (amd_fidelityfx_upscaler_vk.so, such as fsr4-vk's) takes their place.
  • Or fetched for you (Windows): make_game.py --fsr --fetch-fsr-runtime --accept-amd-license downloads those two DLLs and AMD's license from AMD's FidelityFX SDK repository at the v2.4.0 tag, checks each against its SHA-256, and puts them in the game folder (HOOKSHOT_FFX_SDK=<folder> keeps them between builds, default work/ffx-sdk). python -I scripts/ffx_sdk.py --accept-amd-license --game <game folder> does the same for a game built already. Without --accept-amd-license nothing is downloaded (the script asks when run by hand), as with NVIDIA's license for DLSS. AMD DLLs already in the game folder that are not v2.4.0's (a newer SDK put there by hand) are left alone, and the build says so. They are AMD's, under AMD's FSR SDK license (LICENSE-AMD-FSR-SDK.md beside them). On Linux the flag does nothing but say so.

The log's vk: AMD FSR 4: lines say which of AMD's upscalers it found for the card and which it uses (the newest FSR 4; never an older FSR in its place), and why not when it did not start. Tested on an RX 6700 XT (RDNA 2).

Switches for testing (hookshot_env.txt)

Switches to test (RX_VK_NOOPT=1 and the others) go in hookshot_env.txt in the game folder, one NAME=VALUE a line, on Windows and Linux. The running game reads it, not the builder. A test run can name another file with HOS_ENV_FILE=<path>; the game then reads that one instead and leaves hookshot_env.txt alone. hookshot_env.txt sets only the game's own switches (names that start with RX_, HOS_, HOOKSHOT_, EDEN_, NVN_ or SDL_, but not SDL's library names such as SDL_VULKAN_LIBRARY), and no value that is a path except RX_VK_DLSS_DIR's (a folder on this PC, not a network share), and no value at all for the switches that name a file or folder (HOS_AUDIO_DUMP, RX_VK_SHOTS and the like) or press buttons on a timer (HOS_INPUT_SCRIPT, RX_VK_MENU_SCRIPT); other lines are left out, and the log says so. Switches that need a path, or other variables, go in a file named by HOS_ENV_FILE. A switch set in the environment the game is started with (a shell's HOS_FULLSCREEN=0 ./hookshot, a launcher's own) goes over the same name in the file, and the log says so; within the file, a later line replaces an earlier one. A switch that stands in for a menu row (RX_VK_PACE, RX_VK_UPSCALE, RX_VK_FRAMEGEN_MULT, HOS_REALTIME_STEP, HOS_DYNRES, HOS_OUTPUT_RES) applies to that run only: hookshot_options.ini keeps the value chosen in the menu.

To enable the debug tools, turn Debug tools on in the menu's Debug tab (or add HOS_OOT_CHEATS=1 to hookshot_env.txt in the game folder). The tools then show below it on the same tab. The tab's Developer section, always shown, has the Frame pacing, Threaded rendering, Descriptor reuse, Sampler cache, Robust buffers, Present queue and ASTC as RGBA8 rows.

Travel (a debug tool, beside Teleport) opens a page of 190 places to go to: villages, dungeons' entrances, shops, warp points and story spots, grouped by area, for Link's age (Tab, X on a pad, or the Child and Adult buttons show the other age's: going there makes Link that age). Once you have opened the page, each place gets a picture taken from your own game the first time Link stays there a few seconds with the menu closed (in teleport_pictures in the game folder, with a short "Travel picture saved" line over the game); Backspace or Y on the page takes a place's picture again at the next stay there. Link arrives through the game's own map change, as when he walks in. The places' positions and arrival events come from your game files at every build (teleport_places.bin, nx2/teleport_places.py).

A save whose minimap stopped showing after a Teleport on an earlier build (the area left had hidden it, and the flag stayed set in the save) is mended by the Teleport itself: teleport to an outdoor area, wait until you can move, then save from the game's System menu. The minimap then stays after a restart.

RX_VK_UI_GAME_FONT=0 draws the menu with the included font (Libertinus) even when the game's files have the game's own menu font. RX_VK_UI_PROMPTS=pad (or keys) shows the controller's (or the keyboard's) prompts whatever was used last, for screenshots.

For a first run on a 4 GB card such as a GTX 1650, RX_VK_LOW_SPEC=1 starts with the Minimum (4GB) preset, with frame generation and upscaling off. It applies only when there is no hookshot_options.ini yet; after that, change the settings in the in-game menu.

On Minimum (4GB), when the driver reports a nonzero VRAM budget of at most 4.5 GiB, sampled ASTC textures use a 1024 dimension limit and an 8 MiB decoded-size threshold for leaving out their top mip levels. This lowers texture detail to reduce the working set. The same holds on Auto (this PC) at Minimum, and on Custom after either; Custom with no preset behind it (chosen on the Quality preset row, or an options file from before memory_budget existed) goes by what Auto picks for this PC, which is Minimum on every integrated GPU and on cards of 4.5 GB or less. Applying Low or a higher preset, or RX_VK_LOW_VRAM_MIPS=0, keeps full-size textures there. Other presets and larger or unknown budgets keep the 2048 / 64 MiB defaults; uncompressed render targets, depth images and the separate RX_VK_TEX_MAX_MB allocation limit keep their handling. The driver budget is sampled at the first texture creation and kept for the session. It is a heuristic, not a physical VRAM measurement: other applications can lower the budget even on a larger card.

RX_VK_LOW_VRAM_MIPS=0 (also off, false or no) disables the automatic rule. RX_VK_TEX_MAX_DIM overrides only the dimension limit, so setting it to 2048 still leaves the automatic 8 MiB threshold active on Minimum with a small budget. RX_VK_TEX_SKIP_MB overrides that threshold using its existing parsing. For a more aggressive experiment, use RX_VK_TEX_MAX_DIM=512 RX_VK_TEX_SKIP_MB=2. Changes to these environment switches take effect after a restart.

RX_VK_MOVIE_UPSCALE=linear replaces the movies' neural upscale with the plain linear one. The default, auto, keeps the networks and falls back only when a movie frame takes the GPU more than 40 ms. That is on NVIDIA cards: on other cards, or where the GPU cannot multiply the networks' matrices itself, the movies always get the linear upscale. It does not change the gameplay upscaler, and movies can look softer. RX_VK_NETWORK_KEEP=all takes precedence and keeps the movie networks.

RX_VK_SKIP_CODE=<prefix,...> leaves out the draws of every program with a stage whose native code key starts with one of the prefixes (the keys the log prints after "its code:"). On a Steam Deck, RX_VK_SKIP_CODE=2c56dc1006942f74 avoids a GPU hang in Kokiri Forest and the Great Deku Tree: the GPU runs for seconds in the programs that share that task shader (a culling pass) until the kernel resets it (#817). It is a workaround, not a fix: those are task + mesh programs, so the geometry they draw goes with them, and key models are missing while it is set. Off unless set.

The switches for scripted test runs, screenshots, frame dumps and profiles are in the development guide.

RX_VK_WB_MAX_KB=<KB> (off by default; 1024 is the tested value) is the size from which a written GPU binding may go without most of its write-back. The game writes tens of MB of culling lists and per-frame buffers through the GPU that the CPU never reads, and copying them back sat on every submit's memory sync: in Hyrule Field on a 10 GB RTX 3080, about 66 MB and 4.4 ms a submit, holding the scene at 45-48 fps. The CPU does read and write parts of some large ones, so a binding over the size is written back whole for the first RX_VK_WB_PROBATION submissions that write it (default 8), and after that only the ranges the CPU read or wrote meanwhile, and its first and last page when it shares them, are written back (gpu/vk/wb_learn.h). The trade-off: a range the CPU first touches only after that (read more rarely than every 8 frames) gets the stale copy once, and is written back from then on; the log names each one (in a binding whose write-back was left out). Unset or 0, every written binding is copied back whole. It is off by default because, measured so far (an RTX 3060 Ti on Windows, an RX 580 on Linux with its mirror forced on), it copies back ~50 MB a frame less at the same frame rate: results from laptops and other slow PCIe links are wanted. RX_VK_LOG_WB_SKIPS=1 lists the bindings left out every 600 submits.

RX_VK_PROGRAM_CACHE_ZSTD=1 keeps the translated shader programs in hookshot_programs.zst.bin, each record compressed with zstd and unpacked when it is read. The uncompressed cache is about 6.9 GB; in the reference cache (46,587 programs) zstd's level 3 made it 1.83 GB (3.75x). It is a file of its own: an existing hookshot_programs.bin is left alone, and the first run translates the programs into the compressed cache.

How it works

  1. nx2/lift.py translates the game's ARM64 code to C.
  2. nx2/build.py compiles that C together with host/, which plays the part of the console's system.
  3. host/nvn_native.c records the game's NVN2 graphics calls, and gpu/vk/ replays them on Vulkan.
  4. Switch 2 Ampere shaders are lowered to Maxwell (lower_to_maxwell.h) and translated to SPIR-V by Eden's shader recompiler.

More detail is in the development guide and the design notes.

Want to help?

For performance reports, include the scene, GPU and driver, frame times, and whether the shader cache was warm. Use the Red Tunic repository for project discussions and pull requests.

Bigger ways to help:

  • Linux testing. The Linux build (host/posix) has been tested on several distributions and cards: reports from others still help.
  • Fixes in your own fork. Fork the project, fix what you find and send the change back. Keep game files, keys and anything generated from your game out of it.

CONTRIBUTING.md has the setup, the test commands, the code conventions and what a good pull request looks like.

Credits

Red Tunic builds on Hookshot and the work of its contributors:

  • NX2navi and Lichii informed the AMD query and shader work. NX2navi measurements | Lichii shader investigation
  • NotRexed: Hookshot, BlueShell (Mario Kart World), Skybound (Tears of the Kingdom) and the a64-kit tools.
  • Eden and Eglantine: the shader recompiler and Switch 2 shader work.
  • suyu: the graphics decoders and the AArch64 translator.
  • seedds/nxnative: reference for how task and mesh shaders work.
  • EvilBoyce / evilmfkr (EvilOOT): the GPU culling that brings back Kokiri's foliage (trees, ferns, grass, falling leaves, fireflies), the ambient light probes, the pond's water, the game's own fog, the freeze after Load (Horizon's mutex handoff) and the exposure flicker fix.
  • zortos293/Lichii: reference for Ampere shader lowering, and its compare-exchange retry fix.
  • mstorsjo/llvm-mingw: the bundled Windows compiler (no Visual Studio needed).
  • NVIDIA DLSS: builds made with NVIDIA's DLSS SDK (optional, downloaded by each build, never bundled) use NVIDIA DLSS Super Resolution, NVIDIA's technology. NVIDIA and DLSS are trademarks of NVIDIA Corporation.
  • AMD FSR 3.1 and FSR 4: every build has AMD FidelityFX Super Resolution 3.1, built from AMD's MIT-licensed FidelityFX SDK shaders; builds made with FSR 4 (optional; AMD's DLLs are never bundled) use AMD FidelityFX Super Resolution 4 through AMD's MIT-licensed FSR API headers. Both are AMD's technology. AMD, Radeon and FidelityFX are trademarks of Advanced Micro Devices, Inc.
  • kinnay/zbic, Opus and SDL: decompression, audio and controllers.
  • sostenesfreitas/ocarina-recomp: this README's layout, and its notes confirmed the mesh stage's control section.
  • HanSoloBlaster and afiaka87 (Fast Travel): the Travel page's list of places (MIT).
  • MythosOfs/Orchid: the fog and exposure workaround the game used before its fog and lighting were fixed.
  • Mesa (NAK): the reference for Ampere's instruction encoding.
  • Everyone who sent fixes: SkippySteve (Linux and the AppImage, and many more), monsterlag, klimovich008, hckrman101 (NVIDIA DLSS, DLAA and Reflex, the exposure flicker and fog fixes, build speed, CI), madebyjordan (AMD FSR 4.1), N3oTraX (FSR 4 on Linux), shayderrr, gab9281, Wpaif, nicholasgower, ZurielAtr, Joey-Magnus, Zorkats, d3zessete, chrispository, vzeol, leonidasmark, Segmentree, ShyVortex, hiKareeem and i900gaming, among others.

License

Red Tunic is free software under the GNU General Public License, version 3 or later (GPL-3.0-or-later). It includes code from Eden and suyu, which are under the GPL too. Third-party parts under other licenses that work with the GPL (Sirit, the Vulkan Memory Allocator, SDL, Opus, Dear ImGui, zstd, the Libertinus fonts, zbic and the a64-kit tools) keep their own notices in their folders. The Travel page's list of places follows the Fast Travel mod's (MIT): its notice is in gpu/vk/oot_tp_places.LICENSE.

Hookshot is an unofficial fan project, not affiliated with or endorsed by Nintendo. The Legend of Zelda and Ocarina of Time are trademarks of Nintendo.

About

Red Tunic- Zelda OOT Remake Recomp. An unofficial native PC recompilation of Ocarina of Time (the Switch 2 remake), built on your PC from your own copy, optimized specifically for testing purposes on AMD systems.

Resources

Contributing

Stars

35 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages