mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-22 21:15:57 +00:00
A layer that crashes hostcheck at vkCreateInstance also breaks totk.exe --prepare-shaders in the prepare step and the game (runtime/vk_device.c create_instance loads the same implicit layers): with the PR's warning the install failed again after lift and compile. Check.probe_host now turns each listed implicit layer off alone, names the one whose absence lets the probe pass with its manifest path in check.vulkan_layer_crash, and says how to turn it off (VK_LOADER_LAYERS_DISABLE=<name> for the user account); when no single layer explains it, check.vulkan_layers_crash lists the installed ones and offers ~implicit~. The list covers the loader's places: VK_(ADD_)IMPLICIT_LAYER_PATH, the registry in the 64-bit view or the Linux implicit_layer.d folders, with names read from the manifests. A failed host check is kept on the context, so key() and run() no longer build and crash it twice, and the App Control reputation codes 4557-4559 and 4581-4583 count as a block too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>