proton: Set PROTON_LIMIT_RESOLUTIONS for some games.

CW-Bug-Id: #25061
This commit is contained in:
Paul Gofman 2025-03-19 13:04:48 -06:00
parent 8c1c31fe05
commit ae6a9c16a4

12
proton
View File

@ -1537,6 +1537,18 @@ class Session:
if os.environ.get("SteamGameId", 0) == "500810":
self.dlloverrides["ddraw"] = "n,b"
if "PROTON_LIMIT_RESOLUTIONS" not in self.env:
if os.environ.get("SteamGameId", 0) in [
"39540", #SpellForce: Platinum Edition
]:
self.env["PROTON_LIMIT_RESOLUTIONS"] = "16"
elif os.environ.get("SteamGameId", 0) in [
"524220", #NieR: Automata
"814380", #Sekiro: Shadows Die Twice
"374320", #DARK SOULS III
]:
self.env["PROTON_LIMIT_RESOLUTIONS"] = "32"
if "forcelgadd" in self.compat_config:
self.env["WINE_LARGE_ADDRESS_AWARE"] = "1"
else: