From 87a14dab7ea141afe47c0a9b8e32bdbe14e8f8ed Mon Sep 17 00:00:00 2001 From: Esme Povirk Date: Fri, 22 Mar 2024 19:08:52 +0000 Subject: [PATCH] proton: Add and document compat flag for xalia. --- README.md | 1 + proton | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index c538035c..e49c8965 100644 --- a/README.md +++ b/README.md @@ -310,6 +310,7 @@ the Wine prefix. Removing the option will revert to the previous behavior. | `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. | | `nowritewatch` | `PROTON_NO_WRITE_WATCH` | Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games). | | `nosteamffmpeg` | `PROTON_NO_STEAM_FFMPEG` | Ignore ffmpeg that ships with Steam. Some videos may not play. | +| `xalia` | `PROTON_USE_XALIA` | Enable Xalia, a program that can add a gamepad UI for some keyboard/mouse interfaces. | | `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 1e0c3dbd..11cca932 100755 --- a/proton +++ b/proton @@ -1405,6 +1405,9 @@ class Session: if "noopwr" in self.compat_config: self.env["WINE_DISABLE_VULKAN_OPWR"] = "1" + if "xalia" in self.compat_config and "PROTON_USE_XALIA" not in self.env: + self.env["PROTON_USE_XALIA"] = "1" + if "PROTON_CRASH_REPORT_DIR" in self.env: self.env["WINE_CRASH_REPORT_DIR"] = self.env["PROTON_CRASH_REPORT_DIR"]