proton: Add OPENSSL_ia32cap env var for some games.

CW-Bug-Id: #25283
This commit is contained in:
Paul Gofman 2025-04-25 12:19:53 -06:00 committed by Arkadiusz Hiler
parent cb9d852bc7
commit a49bdd89b9

7
proton
View File

@ -1621,6 +1621,13 @@ class Session:
#nvidia override #nvidia override
self.env["__GL_ExtensionStringVersion"] = "17700" self.env["__GL_ExtensionStringVersion"] = "17700"
if os.environ.get("SteamGameId", 0) in [
"661920",
"558260",
"386360",
]:
self.env["OPENSSL_ia32cap"] = "~0x20000000"
if os.environ.get("SteamGameId", 0) == "500810": if os.environ.get("SteamGameId", 0) == "500810":
self.dlloverrides["ddraw"] = "n,b" self.dlloverrides["ddraw"] = "n,b"