Skip to content

Commit 54c06cf

Browse files
madewokherdivyl
authored andcommitted
proton: Disable Xalia for Wuthering Waves.
CW-Bug-Id: #25642
1 parent c31a62e commit 54c06cf

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ the Wine prefix. Removing the option will revert to the previous behavior.
310310
| `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. |
311311
| | `WINE_FULLSCREEN_INTEGER_SCALING` | Enable integer scaling mode, to give sharp pixels when upscaling. |
312312
| `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. |
313-
| `xalia` | `PROTON_USE_XALIA` | Enable Xalia, a program that can add a gamepad UI for some keyboard/mouse interfaces. |
313+
| `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. |
314314
| `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. |
315315
| `d9vk` | `PROTON_USE_D9VK` | **Note: Obsoleted in Proton 5.0.** In older versions, use Vulkan-based DXVK instead of OpenGL-based wined3d for d3d9. |
316316

proton

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,6 +1369,11 @@ def default_compat_config():
13691369
if "STEAM_COMPAT_APP_ID" in os.environ:
13701370
appid = os.environ["STEAM_COMPAT_APP_ID"]
13711371

1372+
if appid in [
1373+
"3513350", #Wuthering Waves
1374+
]:
1375+
ret.add("noxalia")
1376+
13721377
if appid in [
13731378
"255960", #Bad Mojo Redux
13741379
]:
@@ -1731,9 +1736,12 @@ class Session:
17311736
self.env["WINE_DISABLE_VULKAN_OPWR"] = "1"
17321737

17331738
if "PROTON_USE_XALIA" not in self.env:
1734-
self.env["PROTON_USE_XALIA"] = "1"
1735-
if "xalia" not in self.compat_config:
1736-
self.env["XALIA_SUPPORTED_ONLY"] = "1"
1739+
if "noxalia" in self.compat_config:
1740+
self.env["PROTON_USE_XALIA"] = "0"
1741+
else:
1742+
self.env["PROTON_USE_XALIA"] = "1"
1743+
if "xalia" not in self.compat_config:
1744+
self.env["XALIA_SUPPORTED_ONLY"] = "1"
17371745

17381746
if "nohardwarescheduling" in self.compat_config and "WINE_DISABLE_HARDWARE_SCHEDULING" not in self.env:
17391747
self.env["WINE_DISABLE_HARDWARE_SCHEDULING"] = "1"

0 commit comments

Comments
 (0)