0.5.1-rc2
This is the second release candidate for 0.5.1: a test build ahead of the release, not the default download. Please report what breaks for you, and how the new settings below work on your PC, in their issues or in a new one. 0.5.0 stays the recommended version until 0.5.1 is out.
Tip
On by default from this release: three frame rate changes. Each makes frames cheaper on our test PCs; tell us how yours plays compared with 0.5.0.
sync_ahead: the next frame is built while the GPU draws the previous one (#1129, #1192). 6-10 % shorter frames on a GTX 1050 Ti laptop, 12-14 % at 4K on an RX 9070; one frame more input delay. Uneven pacing or stutter: turn off One frame ahead of the GPU on the Advanced tab and report in #1192.host_checkpoint: game threads hand their core over sooner. About 5 % shorter frames on a 4-core Ryzen. Lower FPS or new hitches: turn off Quick core hand-over on the Advanced tab and open an issue.barrier_merge: fewer render passes at water, decals and particles (#1237). A waterfall on an RX 7900 XT under Linux: 82 to 141 FPS; on AMD under Windows nothing changes. Flicker or squares at their edges:barrier_merge = 0under[performance]intotk.ini, and open an issue.
New since rc1
- Three frame rate changes are now on for everyone:
sync_ahead,host_checkpointandbarrier_merge(see the box above). - Zonai Fieldworks no longer crashes when you switch its members on or off (#1451), and Challenge Mode with its compatibility patch or Depths of the Kingdom starts with all its plugins (#1422, #1461).
- The HUD and menus on screens wider or narrower than 16:9 (#632, #1453): 21:9 and 32:9 layouts change by default.
- "Fog and particles after DLAA" is now "Particles after DLAA" and draws differently; if you saw flicker with it on in rc1 (#1472), tell us whether rc2 still has it.
- Radeon on Windows: frame rate in grass and foliage (#1365); Linux: Steam's menus (#1462), the horse name (#401) and the missing library check (#1428).
Mods to test
The setup now builds in plugins it refused before, and the whole mod no longer stays off. If you play one of these, tell us whether it starts and works as on the Switch.
- Challenge Mode and other code mods with long hooks start (#578, #1360). The setup refused plugins whose hooks land on a conditional branch, a tbz/cbz or an address load (Challenge Mode, also when merged by TKMM); they now build in, and the hooked game code sees the plugin's checks as on the Switch.
- Magic of the Kingdom and other code mods built with a newer exlaunch start (#1388). The setup refused plugins whose hooks save the float registers through exlaunch's newer hook entry; they now build in.
- Zonai Fieldworks and other code mods that switch their features while you play start (#1388). The setup refused plugins that hook the middle of a game function, swap pointers in the game's data, keep files on the SD card or point their hooks at other code during play; they now build in. Their SD card files live in the
sdcardfolder of the game's profile. A plugin may also call anything in the system library that the game itself calls (threads, input, time, files), where it used to be held to a short list. With such a mod the setup translates the game code once or twice more, a few minutes longer. - Code mods work when the install folder has a space or # in its path. The setup dropped an accepted plugin when its folder path had a space (
D:\Zelda TotK) or#, and the plugin never ran.
New settings to test (off by default)
These are off until players confirm them. Turn one on in totk.ini and tell us in its issue whether it helps.
- AMD FSR 4 upscaling on Windows (#1409).
scene_upscaler = fsr4(or AMD FSR 4 in the menu's scene upscaler row) upscales the 3D scene with AMD's FSR 4.1 through AMD's own libraries, which the setup downloads when its AMD FSR box is ticked (ticked by default on AMD graphics). Best on Radeon RX 9000; older Radeons may get it at a higher GPU cost; not on Linux. Like DLSS and FSR 3.1 it raises the frame rate only where the graphics card holds the game back (1440p, 4K, weaker GPUs); where the processor is the limit it costs about as much as FSR 3.1. - AMD Anti-Lag 2 on Radeon graphics. The Low Latency setting has a new value, Auto (
reflex = autointotk.ini): NVIDIA Reflex on GeForce, AMD Anti-Lag 2 on Radeon with a driver that has it. It cuts the delay between a button press and the picture where the graphics card holds the game back; frame rate stays the same. On and On + Boost stay NVIDIA-only as before. - Faster starts with mods (
restbl_cache = 1). With mods on, the game rebuilds the table of resource sizes at every start (about 1 s with The Second Quest, longer with large texture packs). With the setting on it keeps the table from the last start and uses it again while the game, the port and every mod file are unchanged; any change rebuilds it. - Intel HD and UHD graphics (6th to 10th generation) on Windows: crash right after the logo (#1343).
null_attach = 1gives the game's render passes a small stand-in image where they leave a colour slot empty, which may avoid the crash in Intel's older driver. Untested on that driver; other GPUs do not need it. - Intel graphics on game 1.2.1: freeze on the "Nintendo presents" screen (#1402, #994).
skip_cs = <id>leaves out one compute shader by the id the log names at the freeze, to find out whether that shader hangs the GPU. A test tool, not a fix: what the shader draws goes missing. Players on that freeze: tell us in #1402 whether the game gets past the logo with it. - Intel graphics on Linux: white or dark flashes in campfire smoke, clouds and the sky (#927).
anv_vs_barrier = 1stops them on Intel with Mesa on Linux. It costs about 5% of the frame rate on an Iris Xe; other GPUs do not need it. - PCs with 8 GB of memory and a small page file: "memory commit" crashes (
heap_lazy = 1, Windows). The game's heap (about 2.1 GiB on 1.4.3) is taken from Windows a piece at a time as the game first uses it, instead of all at boot, which lowers the memory the game claims by the part it never touches (600-800 MiB in our runs). Each first use costs a few microseconds; a whole session adds a few milliseconds. - Screens narrower than 16:9 (Steam Deck, 16:10, 3:2, 4:3): see as much to the sides as at 16:9 (
vert_plus = 1). The game keeps its vertical view at every shape, so a narrower screen shows less of the world at the sides (a quarter less at 4:3). With Vert+ on (menu: the row under the field of view) the view gets the 16:9 width back. It shows more of the world, which may cost some frame rate on the Steam Deck. Nothing changes at 16:9 or wider.
Setup
- The setup no longer stops with "hactool merge failed" on some dumps (#1326). hactool's warning about the update's ACID signature, which says nothing about the game data, counted as an error; the merge now goes on when all six RomFS hash levels and the image hash check out.
- The setup no longer calls a complete NSZ dump damaged. Some
.nszfiles store padding after an uncompressed block; the setup counted that padding as game data and could stop with a damage report such as "49,664 of 49,664 bytes". It now reads each block's own bytes only, as the nsz tool does. - The setup explains a failed computer check (#1345, #875). When the Vulkan layer of an overlay, recorder or tuning tool crashes Vulkan programs, the setup names that layer and how to turn it off, instead of stopping at "The computer check did not run (exit code 3221225477)"; the game would have crashed on it too. When Smart App Control, an App Control policy or an antivirus blocks the setup's programs, it says so instead of ending with an error dump.
- The setup window no longer runs off small screens (#744). On a small display or with large text scaling the setup's screens scroll, and Start, Cancel and Close stay in view; on other screens the window looks as before.
- The setup reads totk.ini as the game does. A resolution, button style or HUD width written in quotes, or followed by an empty line for the same key, now gets its layouts prepared at setup instead of at the game's first start; a repeated
langline is changed where the game reads it. - A damaged setup state file gives a clear message. When
totk-install.jsonheld a field of the wrong type, the setup stopped with an error dump; it now reports the file as unreadable, as it does for other damaged state files. - A damaged shader cache pack is rebuilt. A pack whose header gave an impossible entry count made the setup's last step ask for up to 192 GiB of memory and fail; it now rebuilds the pack from the loose files.
- The setup's compile no longer pages on a PC with little free memory. It starts as many compile jobs as the free memory holds, not as many as the installed RAM would.
- Linux: the setup builds in a folder whose path has an apostrophe, parentheses, quotes or a
$. The compile commands quoted such paths the Windows way, so the shell changed them or stopped before compiling. - Linux: the setup names a missing system library before the long translation step (#1428, #1315, #1419). When the system lacks a library the game's SDL needs (
libXss.so.1on AnataseOS,libdecor-0.so.0on Batocera), the setup used to translate and compile for half an hour and then stop with "Preparing the shaders failed (exit code 127)". It now checks first and names the missing file and the package that provides it on Fedora, Debian/Ubuntu and Arch.
Fixes
sync_ahead = 1no longer blurs the picture for half a second at a time (#1123). With the setting on, the game sometimes read the GPU time of a frame before the graphics card had finished it, took it for a very slow frame and dropped its dynamic resolution to the lowest level until about 60 good frames brought it back. Such reads now get the newest finished time instead, on every game version and without turning on "Stable Detail under Load". Nothing changes withsync_aheadoff.- Zonai Fieldworks no longer stays off for good when
render_scaleis above the game's own (#1437, #1388). Its Self Recall sizes its storage from the game's memory pool, which grows with the resolution, so the game took the plugin for out of date and the rebuild it started did nothing. The pool size is now accepted as it is, and a plugin the game finds out of date gets a real rebuild. Players stuck in the loop get it fixed by this release's setup. - Zonai Fieldworks no longer crashes or freezes when you switch its members on or off in play (#1388, #1451). Turning on a member such as BotW Abilities, Hookshot or Fleet Sync from its wheel page crashed the game: the plugin writes jumps into its own code and swaps pointers in the game's read-only data at that moment, and the port had translated neither. Cryonis' renderer crashed on a graphics call the port lacked, and switching a member off could freeze the game for good on a lock the plugin spins on. All three now work as on the Switch.
- Challenge Mode with a compatibility patch or Depths of the Kingdom starts with all its plugins (#1422, #1461). The setup refused Challenge Mode's Enemy Health Regeneration plugin, because it took the plugin's calls to its own functions for calls into the game, and stopped on a hook another plugin aims at the game's module header when it has no table for 1.4.3. Both are now built in.
- Thunderstorms above 30 fps no longer have extra lightning (#1287). Distant bolts and lightning flashes come as often as at 30 fps at any frame rate; at 30 fps and below nothing changes.
lightning_fix = 0brings back the game's own chances. - FSR 3.1 and frame generation no longer turn the picture into noise on Radeon graphics under Linux. Their images landed in a kind of video memory the game does not turn on (RADV, seen on a Radeon 780M). On Windows and on NVIDIA nothing changes.
- GPUs without
VK_EXT_external_memory_hostcan run the game. Such GPUs were skipped and the game exited before the title: Qualcomm Adreno on Windows, some older or mobile drivers, and RenderDoc captures. They now run with copies of the game's memory pools, which cost some memory and frame time. Other GPUs see no change. - The drawn mouse pointer (
pointer_image = 1) no longer gets stray pixels along its edges. Its transparent samples left the colour unset, so edge pixels could pick up leftover values. - Linux: you can name your horse (#401). Registering a horse opens a text entry window with the default name filled in: type with the keyboard, or pick letters with the controller's d-pad (bottom button adds, right button deletes, Start confirms). Accented and non-Latin letters are kept but may show as
?in the window. Untested on the Steam Deck. - Steam Deck and Linux under Steam: Steam's menus no longer send button presses to the game too (#1462). Since 0.5.0 the game read the gamepad while Steam's Quick Access menu or overlay was open. In a game Steam started it now pauses the gamepad while the game window has no focus, as 0.4.1 did.
pad_background = 1under[input]keeps the gamepad playing behind other windows. Windows is unchanged. - The mouse wheel zooms the map with the menu pointer off (#1376). With
menu_cursor = 0and the smooth map zoom on, the wheel did nothing on the map; it now zooms, and the menus stay without the pointer. - "Particles after DLAA" (formerly "Fog and particles after DLAA") no longer draws a bright outline along distant mountains. With the option on, fog and clouds now go through DLSS or FSR again and only the particles are drawn over its picture. Nothing changes with the option off, the default.
Features
- The settings menu (F1) in German, French, Spanish, Italian, Dutch, Japanese, Korean and Vietnamese, and the setup in Vietnamese. The menu follows Windows' language or
langintotk.ini; other languages still fall back to English. - The HUD and menus fit any screen shape from 4:3 to 32:9 (#632, #1453). A resolution of a shape the port did not list (4:3 monitors and iPads, phones you stream to, such as 3120x1440) drew 16:9 with black bars; it now gets a layout of its own, and 4:3, phone and 7680x2160 sizes join the menu's list. On 21:9 and 32:9 screens the Purah Pad frame keeps its shape, and the map and the loading screen fill the screen instead of showing black bars.
Performance
-
The game builds the next frame while the graphics card still draws the previous one (
sync_ahead, on by default) (#1129, #1192). FSR 3 frame generation works with it; integrated graphics on Windows keep the old behaviour on their own. -
Game threads hand their virtual core over as soon as they leave the port's own code (
host_checkpoint, on by default), not at their next call into the system. -
Fewer render passes at water, decals and particles (
barrier_merge, on by default) (#1237). The port keeps drawing through the game's waits where the next step reads only what it draws itself; a shrine on an RTX 4080: 1% low 83 to 98 FPS. -
Radeon graphics on Windows: grass, foliage and other see-through-edged objects cost less again (#1365). Since 0.4.1 the fix for the light fringe round objects against clouds (#164) made every shader that cuts out pixels keep working on the cut-out ones; on weaker Radeons such as the RX 580 that cost frame rate in grassy and leafy places. Now only the shaders that need it for the fringe fix do so (1 of 128 in a field scene), and the clouds keep their fix.
demote = 0intotk.initurns it off entirely if you want to compare. -
The setup's last step, folding the shader cache, takes less time on slow disks or with an antivirus scanning each file. It reads the cache's files on several threads (up to 8, one on a PC with little free memory); the result is the same file, and on a fast disk the step takes as long as before.
Thanks
Thanks to Icing-weaponry for reporting the failed merge on the Steam Deck with its log and ICUMADETHIS for the fix (#1326), ovilers for reporting the storms at high frame rates and shinodanpen for counting the bolts and fixing them (#1287), rhyzk and joliziox for reporting the failed computer check and Smart App Control block and ShannoonRuaaa for the fix (#1345, #875), ChrisYuanZhong for reporting the setup window running off the screen and ICUMADETHIS for the fix (#744) and for the plugin path fix, the NSZ, setup state, shader cache pack, totk.ini, Linux path and test runner fixes, the drawn pointer's edges and the IPC probe's reply after a failed call, and ShannoonRuaaa for the compile memory budget and the ISA check, and littleK0i and Seriy500 for reporting Challenge Mode staying off with logs (#578, #1360), and CWhedgehog for reporting Magic of the Kingdom staying off with logs and Scalvo619 for reporting Zonai Fieldworks staying off (#1388), and mattheuspaivadini for tracking down the flashes on Intel under Linux (#927), and ShannoonRuaaa for running on GPUs without host memory import, and Kateto0401 for asking for FSR 4 (#1409), VictorSCosta for the first FSR 4 integration (#876), codexx-dev for carrying it onto the current code and tuning its sharpness (#1245), CatDogFishFrog for the setup fix and the mask review, and itaskaev2 for testing it on NVIDIA, gurrgur for the FSR 3.1 noise fix on RADV, and ShannoonRuaaa for the faster shader cache step, and ripps818 for AMD Anti-Lag 2, and itaskaev2 for the menu in eight more languages, and itaskaev2 for keeping the mods' size table between starts, and ShannoonRuaaa for the stand-in attachments for Intel's older driver (#1343) and for committing the heap on first use, ShannoonRuaaa for the compute shader skip that helps find the Intel 1.2.1 freeze (#1402, #994), Spoca03 for reporting the horse name on Linux and cheat45681 for the text entry window (#401), and capitanel001-001 for reporting the lower frame rate on an RX 580 with logs from both versions (#1365), and ripps818 for merging the game's barriers into fewer render passes and itaskaev2 for testing it on NVIDIA (#1237). Thanks to bartexpolska for tracing the Zonai Fieldworks loop to the memory pool and the rebuild plan, with a workaround (#1437), and to DeadheadR for reporting the loop (#1388). Thanks to Scalvo619, CWhedgehog, corybsa and DeadheadR for the Zonai Fieldworks crash logs (#1388), haidergondal1010-maker for reporting the crash on 0.5.1-rc1 (#1451), and powery11 and adrianes3 for reporting Challenge Mode with its patch and Depths of the Kingdom (#1422, #1461). Thanks to dshhcold-collab for reporting the blur with sync_ahead, T0l0S and jmmabanta for narrowing it to the game's detail lowering, and shinodanpen for finding its cause in the GPU time and the first fix (#1297) (#1123). Thanks to reas11, dashdira and XD3l for reporting the setup stopping at the shaders on Linux and ShannoonRuaaa for the library check (#1428, #1315, #1419), zerothecat4564 for reporting Steam's menus reaching the game and ShannoonRuaaa for the fix (#1462), PucKoyomiS for reporting the map zoom and ShannoonRuaaa for the fix (#1376), and codexx-dev for the ridge outline fix and itaskaev2 for testing it on NVIDIA. Thanks to pungludd for asking for 4:3 (#632), sam150122 for asking for phone sizes and making the first layout by hand (#1453), and itaskaev2 for the layouts for any shape, the ultrawide map and loading screen and Vert+.