Skip to content

Launcher 0.3.7

Choose a tag to compare

@Grunttanamo Grunttanamo released this 14 Nov 08:23

KarPur Launcher 0.3.7: shadow quality x4 no longer crashes when the map is opened, two builds that could not recover are fixed, and a failed build finally says what went wrong.

Fixed

  • Switching the keyboard layout while typing in the launcher raised an error dialog ("Unhandled exception … Only the invariant culture is supported in globalization-invariant mode"), for example after clicking into the build log. Windows tells the program which layout is now active, the program asked the system what language that is, and the build setting we used had no answer for anything but English. It is likely to have hit German, French and most other non-English keyboards. The game itself was never affected and the build kept running.

  • Shadow quality x4 crashed the game when the map was opened (#61). The setting arrived in 0.3.5 and this hit everyone who chose x4; x2 and x3 were not affected.

    The sun shadow pass has two render targets, not one. Only the depth map was reported to the game as the 1024x1024 one it replaces, so the second asked the game's own graphics pool for 32 MiB instead of 2 — 30 MiB off the budget the game sizes for itself. Opening the map ran that pool out, and the game does not check the allocation that then fails. Both targets are now reported the same way, and one rule decides both what the game is told and where the memory comes from, so the two cannot disagree again. Wild Pokémon and town NPCs are unchanged, which is the thing that breaks when the game's own budget is touched.

  • A build that stopped during the compiler download could never finish afterwards (#62). An interrupted toolchain step was remembered as complete, because only one of its 31 packages was checked for — and that one is the first. Every later build then failed at the lifting step with ninja not found, with no way out through the launcher, and each attempt spent three minutes merging the RomFS first. The launcher now compares what was unpacked against the full list and continues where it stopped.

  • A build failed outright if the install folder held a character outside the system codepage (#65), such as D:\Game\Pokémon_Violet. The resource compiler opens the files it is pointed at through that codepage; it now gets a relative name instead of a full path.

  • A failed build now reports the reason. The error shown after a failure kept the last few lines of output — but a build that stops at one file compiles all the others, so what you saw were warnings from somewhere else. It now keeps the line that announces the failure and the two after it. If you report a build problem, that line is what tells us where to look.

Also in this release

  • Everything from 0.3.5: shadow quality up to x4 and Disabled, no version exclusives, no trade evolutions, the stutter reduction setting, the volume fix and .nsp base games.
  • A switch for the AMD crash during character creation (TOTK_XFB_SYNC=1), for anyone who wants to help narrow it down (#18). It is off by default and slower when on.
  • For contributors: tools/check_launcher.py runs six checks on the launcher's own build path before a release, one for each way it has gone wrong, and docs/launcher-checks.md lists the steps that cannot be automated. Five of the six exist because a player found the bug instead of us; the sixth because a release was test-built into an empty folder and crashed on a keyboard layout change.

Looking for AMD help

There is still no AMD graphics card here and nobody nearby with one, so the AMD-specific bugs are hard to track down alone: a crash during character creation on newer cards (#18, #28, #39), a GPU usage spike at the same moment (#17), and flickering foliage (#29, #59). If you own an AMD card and know Vulkan or graphics debugging, an issue or a pull request would help a great deal — see #51.

Reminder

KarPur builds the game from your own dump. It ships no game data, and none of the settings add any: they change values in the data your own copy already contains.