Skip to content

Commit

Permalink
proton: import upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
GloriousEggroll committed Jun 4, 2024
1 parent cc0848f commit f689f98
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion proton
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ from pathlib import Path
#To enable debug logging, copy "user_settings.sample.py" to "user_settings.py"
#and edit it if needed.

CURRENT_PREFIX_VERSION="GE-Proton9-5"
CURRENT_PREFIX_VERSION="GE-Proton9-6"

PFX="Proton: "
ld_path_var = "LD_LIBRARY_PATH"
Expand Down Expand Up @@ -1212,6 +1212,7 @@ def default_compat_config():
"499100", #Dark Parables: The Exiled Prince Collector's Edition (499100)
"1404090", #Trivia Tricks
"2052410", #WITCH ON THE HOLY NIGHT
"789910", #Planet of the Apes: Last Frontier
]:
ret.add("heapdelayfree")

Expand Down Expand Up @@ -1261,6 +1262,8 @@ def default_compat_config():
]:
ret.add("hideapu")

if "STEAM_COMPAT_APP_ID" in os.environ:
appid = os.environ["STEAM_COMPAT_APP_ID"]
if appid in [
"7000", # Tomb Raider: Legend
"8000", # Tomb Raider: Anniversary
Expand Down Expand Up @@ -1501,6 +1504,9 @@ class Session:
#nvidia override
self.env["__GL_ExtensionStringVersion"] = "17700"

if os.environ.get("SteamGameId", 0) == "444930":
self.env["MESA_EXTENSION_OVERRIDE"] = "-GL_ARB_bindless_texture"

if "forcelgadd" in self.compat_config:
self.env["WINE_LARGE_ADDRESS_AWARE"] = "1"
else:
Expand Down

0 comments on commit f689f98

Please sign in to comment.