proton: Disable Xalia for Wuthering Waves.

CW-Bug-Id: #25642
This commit is contained in:
Esme Povirk 2025-07-10 18:51:50 +00:00 committed by Arkadiusz Hiler
parent 34d1cde2a3
commit be2a3f4a8d
2 changed files with 12 additions and 4 deletions

View File

@ -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. |

14
proton
View File

@ -1371,6 +1371,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
]:
@ -1733,9 +1738,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"