From 54c06cf938b9d87464bab08391288b40a9c42c4c Mon Sep 17 00:00:00 2001 From: Esme Povirk Date: Thu, 10 Jul 2025 18:51:50 +0000 Subject: [PATCH] proton: Disable Xalia for Wuthering Waves. CW-Bug-Id: #25642 --- README.md | 2 +- proton | 14 +++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cdb422f5..1136f6cc 100644 --- a/README.md +++ b/README.md @@ -310,7 +310,7 @@ the Wine prefix. Removing the option will revert to the previous behavior. | `hidenvgpu` | `PROTON_HIDE_NVIDIA_GPU` | Force Nvidia GPUs to always be reported as AMD GPUs. Some games require this if they depend on Windows-only Nvidia driver functionality. See also DXVK's nvapiHack config, which only affects reporting from Direct3D. | | | `WINE_FULLSCREEN_INTEGER_SCALING` | Enable integer scaling mode, to give sharp pixels when upscaling. | | `cmdlineappend:` | | Append the string after the colon as an argument to the game command. May be specified more than once. Escape commas and backslashes with a backslash. | -| `xalia` | `PROTON_USE_XALIA` | Enable Xalia, a program that can add a gamepad UI for some keyboard/mouse interfaces. | +| `xalia` or `noxalia` | `PROTON_USE_XALIA` | Enable Xalia, a program that can add a gamepad UI for some keyboard/mouse interfaces, or set to 0 to disable. The default is to enable it dynamically based on window contents. | | `seccomp` | `PROTON_USE_SECCOMP` | **Note: Obsoleted in Proton 5.13.** In older versions, enable seccomp-bpf filter to emulate native syscalls, required for some DRM protections to work. | | `d9vk` | `PROTON_USE_D9VK` | **Note: Obsoleted in Proton 5.0.** In older versions, use Vulkan-based DXVK instead of OpenGL-based wined3d for d3d9. | diff --git a/proton b/proton index acf351bc..2ba94cf1 100755 --- a/proton +++ b/proton @@ -1369,6 +1369,11 @@ def default_compat_config(): if "STEAM_COMPAT_APP_ID" in os.environ: appid = os.environ["STEAM_COMPAT_APP_ID"] + if appid in [ + "3513350", #Wuthering Waves + ]: + ret.add("noxalia") + if appid in [ "255960", #Bad Mojo Redux ]: @@ -1731,9 +1736,12 @@ class Session: self.env["WINE_DISABLE_VULKAN_OPWR"] = "1" if "PROTON_USE_XALIA" not in self.env: - self.env["PROTON_USE_XALIA"] = "1" - if "xalia" not in self.compat_config: - self.env["XALIA_SUPPORTED_ONLY"] = "1" + if "noxalia" in self.compat_config: + self.env["PROTON_USE_XALIA"] = "0" + else: + self.env["PROTON_USE_XALIA"] = "1" + if "xalia" not in self.compat_config: + self.env["XALIA_SUPPORTED_ONLY"] = "1" if "nohardwarescheduling" in self.compat_config and "WINE_DISABLE_HARDWARE_SCHEDULING" not in self.env: self.env["WINE_DISABLE_HARDWARE_SCHEDULING"] = "1"