Warning
I have not tested the Linux build myself: it is tested by the community only. If it does not work on your PC, tell us in a new issue and attach your log.
To update, run the new installer on your existing install folder. It keeps your game files, saves and totk.ini, and rebuilds totk.exe and the shaders; the shader cache is rebuilt once (#903, #1322). RecompLauncher can now install and start the game too (see Features).
Note
The frame rate changes under Performance are on by default. If your PC plays worse than on 0.5.1, turn off the one named in its line and tell us in a new issue.
Memory and crashes
- FPS no longer drops to a fraction for a whole session when Windows is short of memory (#1273, #1525). With a small page file or a browser open, the game moved its buffers out of video memory and stayed slow until a restart: 20-60 FPS in one session and 60-120 in the next, or 8 FPS on an RTX 4060 Laptop. Buffers now stay in video memory until 512 MB of RAM is left (
mem_mirror_floor_mib), and move back a few seconds after room returns (mem_mirror_retry). Integrated graphics keep the old limit. - Fewer "device lost" (-4) crashes, and a clearer report when one still happens (#1032, #1440, #1632, #1590). Textures freed right after a frame, and images DLSS, FSR or frame generation resize mid-game, could be destroyed while the GPU still used them; they now wait until it is done. Whether this ends the crashes on Intel UHD, RX 580 and RTX 4060 Laptop is not confirmed yet, so the crash log now says how long the GPU had stopped and what it was doing. No frame cost.
- A texture the game swaps out while a frame is drawn is no longer kept by mistake (#1032, #1440, #1632, #1590). When a game thread replaced a texture during a draw, the renderer could keep the old texture's view as current, in later frames too, and so use a view that had already been freed: a wrong texture for a moment, or a possible cause of "device lost". Whether it ends any of the reported crashes is not confirmed. No frame cost.
- A switched-off HD texture pack no longer fills video memory (#1670). A pack turned off in the Mods tab still enlarged the texture heap (by 1.3 GB for one pack), and a 6 GB card dropped to 8-14 FPS after a few fast travels. A pack that is on keeps its larger heap.
- Game 1.2.1: building an Autobuild blueprint that holds Ganondorf no longer crashes (#571). The build now spawns, as on an emulator; normal blueprints are unaffected.
autobuild_guard = 0restores the game's code as shipped. - The game recovers when the graphics driver fails to rebuild the window's swapchain (#1517). When a resize, fullscreen switch or VSync change hit a driver error, the game kept the swapchain Vulkan had already retired and every following frame failed. It now drops that swapchain and makes a fresh one at the next frame. Normal play is unchanged.
Performance
6-19% more FPS than 0.5.1 where the CPU is the limit (i7-9750H laptop: 47 to 56 FPS on the sky islands; Ryzen 9 7900X on 4 cores: 80 to 93). Where the graphics card is the limit, the frame rate stays the same.
- Less CPU work per frame. The render thread reuses shader constants that did not change instead of copying about 10 MB a frame again (
ub_reuse = 0to undo), and no longer rebuilds per-draw state that did not change: 3% shorter frames in a fort (drawcut = 0,fragskip = 0to undo). - Fewer stalls behind the previous frame's GPU work. The game and the render thread waited for the GPU to finish a whole frame, up to 30 ms at a time and 15 s in a session in players' logs. In a 4K fight on a Ryzen 9 7900X the game's waits fell from 0.73 s to 2 ms per 100 s.
- Shorter hitches when memory is freed and when the shader cache is saved. Freeing memory held up other threads for up to 7 ms, and the cache autosave held back pipeline builds for up to 55 ms every 20 s; it now saves in a quiet moment. Intel GPUs keep the old save, which their driver needs (#681).
pool_fini_marker = 0,pipe_cache_lock = 1andpipe_save_quiet = 0restore the old behaviour. - Object motion for DLSS, FSR 3.1 and frame generation costs less (#1526). 0.4 ms shorter frames on a Steam Deck with FSR 3.1.
mvobj_addr_slot = 0to undo. - Linux on Intel Arc: no more 15-20 FPS on the Great Sky Island (#1226). Mesa's driver spent about half the render thread's time copying descriptors on every draw; discrete Arc GPUs now avoid that path.
push_stage = vsto undo. Not yet confirmed on the player's machine. - With
replay_async = 1the game stays at most one frame ahead again (#88). It could run a frame further ahead, adding up to a frame of input delay. The default is unchanged. - NVIDIA Reflex no longer costs frame rate (#1696). With
reflex = onorboostthe driver saw only part of each frame's GPU work, took it for a deep queue and slept the game thread with the GPU idle: 142 FPS against 167 with Reflex off on an RTX 5090, uncapped. Reflex now costs 1-2% and keeps better 1% lows. Nothing changes withreflex = off, the default.
Features
- Frame generation works with the FSR 3.1 and FSR 4 upscalers and at a render scale above 100 (#1657, #1624). Picking FSR or supersampling used to switch it off without a word. It also no longer doubles the world inside tree canopies. HDR and DLSS still keep it off. About 1.5 ms of GPU time per generated frame at 1080p; with frame generation off nothing changes.
- RecompLauncher sets the game up and starts it (#1046). It asks for the base game, the update and prod.keys, builds the game, starts it with Play, rebuilds it after an update, and shows the main settings and the saves, logs and mods folders. On Linux it runs the AppImage's own setup; in 0.5.2-rc2 it tried the Windows one under Proton and never built the game. The setup window and manual installs work as before.
- Linux: one AppImage, the faster PGO build. Still named
TotK-Setup-<version>-x86_64-pgo.AppImage.
Mods
- Plugin mods that stopped the rebuild compile again (#1650). Challenge Mode with DotK in a TKMM merge failed with "expression is not assignable" and was left off.
- Two plugin mods that patch the same game function both work (#1643). With Material Columns, Armor Sets' shortcut strip did not open.
- Linux AppImage: a mod's UI archive gets the port's layout fixes (#1451). Zonai Fieldworks on a Steam Deck showed a black menu background.
- The Mods tab offers "Rebuild the game now" after a compiled plugin mod is removed (#1570). The button was missing when the start-up rebuild failed or was cancelled.
Fixes
- Yunobo's ball no longer vanishes when it rolls between the camera and Link (#903). It now turns partly transparent, as on the Switch. A shader translation error made the game think the ball covered Link twice over.
- Sunlit ground no longer shows diagonal stripes (#1322, #1373). The same error halved the sun shadow map, so shadows striped the ground they fell from. The map is back at full size, so shadows are sharper too. No cost.
- Cut grass stays cut with Grass range above 112% (#1653). Swinging over it again played the cut sound and threw grass. Costs a copy of 144 KiB to 1 MiB a frame above 112%; nothing at the default.
- Game 1.4.3: on ultrawide and 4:3 screens the full map shows names and icons out to its edges (#1560). They appeared only inside the middle 16:9 and popped in while panning. 16:9 is unchanged.
- Game 1.2.1:
fxaa = 0turns the game's FXAA off (#1658). The switch did not recognise 1.2.1's own FXAA shader. - The soft shadow slider works across its range (#1580). Above about 20% every value gave the widest blur. The old look is now about 200% (
pcss_k = 0.5). With soft shadows off (the default) nothing changes. - The settings menu's text is sharp at 1440p, and a Simplified Chinese menu uses Chinese glyph shapes (#1613, #1614). The text was thin and fuzzy, and shared characters were drawn in their Japanese shapes.
- The loading window speaks the menu's language (#1527). It was English for German, French, Spanish, Italian, Dutch, Japanese, Korean and Vietnamese.
- A setting changed right before closing the window is kept (#1589). Alt+F4 within 0.4 s of an edit lost it.
- Reset all settings also resets the buttons (#1588). Custom key and gamepad bindings stayed in place.
- Long control bindings survive an unrelated Controls edit (#1535, #1519). Actions with 35 keys or more lost their last keys and their gamepad default.
- Choosing a key again in Controls keeps the action's other key (#1540). A key moved to another action now leaves every action that had it.
- Out-of-range numbers in
totk.inifall back to the default (#1539). A huge number orinfwas taken as the value. - Play time is not reset to zero when its file is busy at start (#1566). A backup or sync tool holding
playtime.txtcould wipe the total. - The Amiibo page and the font rebuild no longer stop on a folder read error (#1568).
- Discord Rich Presence keeps working when Discord answers in pieces (#1569).
- Linux: typing a horse name replaces the suggested one (#1551). Typing "Zelda" gave "HorseZeld".
- Linux: finished hint generators no longer stay as zombie processes until exit (#1579).
- Tester tools: input scripts saved with a BOM keep their first line, recordings keep held input, probes stop at their time limit (#1555, #1556, #1577). No change in play.
- PC button prompts show the key you bound (#1516). A binding written by hand in
totk.iniin quotes (TOTK_BIND_A = "key:f"), with theTOTK_prefix, or in a file Notepad saved with a BOM worked in the game but the prompt still showed the old key. The prompts now read the file as the game does.
Setup
- Setup repairs its own leftovers (#1549, #1550, #1553). An FSR install cut off halfway is completed on the next run; DLSS is offered again after a move to an RTX card or when its library was deleted; a failed Chinese or Korean font replacement no longer deletes the working fonts.
Experimental FPS settings for testers (off by default)
Warning
These settings are experimental and tested on few PCs so far. A mistake in one can show as a wrong texture or a "device lost" (-4) crash. Turn them on only to test, and turn them off again if anything looks wrong.
Six settings that make draw preparation cheaper on the CPU. They change nothing until set in totk.ini; post your FPS with them off and on at the same place in a new issue. Each one switches a group of related changes; docs/settings.md describes the parts.
0.5.3 is planned to make the recompiled game code itself faster. That gain adds to these settings' gain and needs nothing switched on.
draw_memo = 1keeps a draw's shaders and feedback answers when only state they do not read changed, and caches guest address lookups.usnap_fast = 1builds the saved shader constants of each submission with less sorting and searching.pipe_keep = 1keeps the previous draw's pipeline when only depth, stencil or cull state changed, and keeps vertex input with the pipeline.prog_trim = 1remembers which shaders each program chose and leaves out copies a draw does not need.bind_fast = 1(withbind_inc = 1) rebuilds only the draw bindings whose inputs changed, skips the rebuild when nothing changed, and keeps descriptors per slot across pipelines. It replacesbind_dirty.rec_copy = 1moves descriptor writes to the recorder thread and passes recorded command lists by reference instead of copying them.bind_inc = 1now also keeps the rest of a draw whose shaders write a storage buffer, where it rebuilt the whole draw before.bind_why = 1(withbind_incon) logs every 300 frames which descriptors a draw kept and why the others were built again. Attach that log to a report aboutbind_incorbind_fast.checkin place of1(andbind_inc = check) runs the old path beside the new one and logs any difference. The game gets much slower: use it only if the picture looks wrong with a setting on.
On a Ryzen 9 7900X with an RX 9070 (development build, 1080p, game held to 4 cores), all six with bind_inc = 1 raised the frame rate on the sky islands from 82 to 89 FPS and at a fort from 85 to 89 FPS. On an i7-9750H laptop with a GTX 1050 Ti, the old bind_dirty alone (now part of bind_fast) raised the sky islands from 49 to 52.5 FPS; the six together are not measured there yet. bind_inc lost the device (-4) on one GTX 1050 Ti in 0.4.1 and the cause is not found: if you get -4, turn bind_inc and bind_fast off.
Thanks
- Y1902P03 (#1273) and mikkel98 (#1525) for the logs that showed the memory drop.
- gavin364 (#1440), capitanel001-001 (#1632), MrAAe01 (#1590) and the players in #1032 for their device lost logs.
- dedhowhite for #1670.
- AbrahamYB for #571 and the fix in #1622.
- tmarenko for #1526.
- IrishBruse (#1226) for the CPU profiles and driver symbols, and an2bot for the second Arc report.
- arthurhfcardoso for #88.
- Boy0000 for #1578 and oHatless for #1496; xiaoliangyu234 (#1657) and damazy85 (#1624) for the reports.
- pdha8 for #1046 and IrishBruse for the Linux report there, and rudechamp, Hishamaster, shamwater-prog, SilentAssassin3 and eliasx721 for asking again.
- WhateverTheHeck321 for #1650, erwinskyy for #1643, haidergondal1010-maker and olisr for #1451.
- rtamb0 and falo2k for #903; zerothecat4564, sunkenshawty and jretropie for #1322 and #1373.
- Jamescoughman for #1653, FaserDocs for #1658, paulo-santana for #1580.
- itaskaev2 for #1527, the fix in #1604, and #1663 and #1665; lustrousdragon for #1560.
- 0x7A2C9E5D for #1613, LeePoseidon for #1614 and the fix in #1615.
- ShannoonRuaaa for #1519, #1535, #1539, #1540, #1549, #1550, #1551, #1553, #1555, #1556, #1566, #1568, #1569, #1570, #1577, #1579, #1588, #1589, #1516, #1517 and #1518.
- dx09271 for #1668 and the fix in #1669.
- moistman7 for #1696.