From 491ca2616d415ab74c70c02b395765fa379da8cb Mon Sep 17 00:00:00 2001 From: Paul Gofman Date: Thu, 10 Oct 2024 21:34:33 -0600 Subject: [PATCH] proton: Enable WINE_HEAP_TOP_DOWN hack for Crazy Taxi. CW-Bug-Id: #24362 --- proton | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/proton b/proton index 040fc01a..90be0d7a 100755 --- a/proton +++ b/proton @@ -1127,6 +1127,11 @@ def default_compat_config(): ]: ret.add("heapzeromemory") + if appid in [ + "71230", #Crazy Taxi + ]: + ret.add("heaptopdown") + if appid in [ "2630", #Call of Duty 2 "1060210", #Disaster Report 4: Summer Memories @@ -1433,6 +1438,9 @@ class Session: if "heapzeromemory" in self.compat_config: self.env["WINE_HEAP_ZERO_MEMORY"] = "1" + if "heaptopdown" in self.compat_config: + self.env["WINE_HEAP_TOP_DOWN"] = "1" + if "vkd3dbindlesstb" in self.compat_config: append_to_env_str(self.env, "VKD3D_CONFIG", "force_bindless_texel_buffer", ",")