0.5.2-rc2
The second release candidate for 0.5.2: a test build, not the default download. 0.5.1 stays the recommended version until 0.5.2 is out. Report what breaks, and how the frame rate changed on your PC, in the issues named or in a new one.
Important
rc2: please test what changed since rc1.
- "Device lost" (-4) crashes (#1032, #1440, #1632, #1590): do they still happen? If one does, attach
totk.log: it now says how long the graphics card had stopped and what work was in flight. - Frame generation with FSR 3.1, FSR 4 or a render scale above 100 (#1657, #1624): does it turn on, and does the picture hold in trees and fast turns?
- Yunobo's ball and sun shadows (#903, #1322, #1373): the ball turns see-through in front of Link instead of vanishing, and sunlit ground has no diagonal stripes.
- Plugin mods (#1650, #1643, #1451): Challenge Mode with DotK, UltraCam in a TKMM merge, Material Columns with Armor Sets, Zonai Fieldworks on the Steam Deck.
- RecompLauncher (#1046): install and start the game through it.
- An HD texture pack switched off in the Mods tab (#1670): video memory stays as without the pack.
Also new since rc1: less render-thread work per draw (drawcut, fragskip), the full map on ultrawide and 4:3 screens (#1560), a sharper menu font and Chinese glyphs (#1613, #1614), cut grass with Grass range above 112 percent (#1653), fxaa = 0 on game 1.2.1 (#1658), experimental draw settings (see New settings to test), one Linux AppImage (the PGO build), and on Linux the button prompt and screen shape folders are made again (#1668, broken in rc1).
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).
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 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.
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.
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. 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 and UltraCam in a TKMM merge failed with "expression is not assignable" and were 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.
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.
New settings to test (off by default)
Three settings that make draw preparation cheaper on slower CPUs. They change nothing until set in totk.ini; post your FPS with the setting off and on at the same place in a new issue.
bind_dirty = 1rebuilds only the draw bindings whose inputs changed since the draw before, instead of checking every binding. It turnsbind_incon with it.bind_inc = 1now also keeps the rest of a draw whose shaders write a storage buffer, where it rebuilt the whole draw before.usnap_hint = 1finds saved shader constants through a small table instead of searching about 1,900 regions for every binding.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_dirty.bind_inc = checkandusnap_hint = checkrun the old path beside the new one and log any difference, without using the new result. Use them if the picture looks wrong with the setting on.
On an i7-9750H laptop with a GTX 1050 Ti, bind_dirty = 1 raised the frame rate on the sky islands from 49 to 52.5 FPS and by about 1.5% at the Ukouh shrine, with no change in a fight; usnap_hint = 1 made no measurable difference. No crash in those runs. 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_dirty 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 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 and #1589.
- dx09271 for #1668 and the fix in #1669.