From 8fedfdecfdefafe7d90c0d33a7269f83a3dc017a Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Fri, 3 May 2024 08:53:56 -0700 Subject: [PATCH 1/9] Delete fix for Warhammer 40,000: Space Marine --- gamefixes-steam/55150.py | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100755 gamefixes-steam/55150.py diff --git a/gamefixes-steam/55150.py b/gamefixes-steam/55150.py deleted file mode 100755 index 0946c772..00000000 --- a/gamefixes-steam/55150.py +++ /dev/null @@ -1,11 +0,0 @@ -""" Warhammer 40,000: Space Marine - Anniversary Edition -""" -#pylint: disable=C0103 - -from protonfixes import util - - -def main(): - """ Space Marine chokes on more than 24 cores - """ - util.set_cpu_topology_limit(24) From 56466c2800bf3217a292559cf7e2798fe43a16fb Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Fri, 3 May 2024 08:54:19 -0700 Subject: [PATCH 2/9] Delete fix for Lara Croft and the Guardian of Light --- gamefixes-steam/35130.py | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100755 gamefixes-steam/35130.py diff --git a/gamefixes-steam/35130.py b/gamefixes-steam/35130.py deleted file mode 100755 index 8b370e7f..00000000 --- a/gamefixes-steam/35130.py +++ /dev/null @@ -1,12 +0,0 @@ -""" Lara Croft and the Guardian of Light -""" -#pylint: disable=C0103 - -from protonfixes import util - - -def main(): - """ LCGoL chokes on more than 12 cores - """ - - util.set_cpu_topology_limit(12) From 6c74edadb0d3091b6c2b5ce216297a03148b6f85 Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Fri, 3 May 2024 08:55:01 -0700 Subject: [PATCH 3/9] Delete CPU limit for Far Cry 4 --- gamefixes-steam/298110.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gamefixes-steam/298110.py b/gamefixes-steam/298110.py index b47bb515..c150093b 100755 --- a/gamefixes-steam/298110.py +++ b/gamefixes-steam/298110.py @@ -11,4 +11,3 @@ def main(): util.protontricks('d3dcompiler_43') util.protontricks('d3dcompiler_47') - util.set_cpu_topology_limit(24) From 3cce793fe73b3db5dd12abcf2d0ab1ba032cc2e7 Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Fri, 3 May 2024 08:55:45 -0700 Subject: [PATCH 4/9] Delete fix for The Witcher 2: Assassins of Kings Enchanced Edition --- gamefixes-steam/20920.py | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100755 gamefixes-steam/20920.py diff --git a/gamefixes-steam/20920.py b/gamefixes-steam/20920.py deleted file mode 100755 index 770f0e34..00000000 --- a/gamefixes-steam/20920.py +++ /dev/null @@ -1,12 +0,0 @@ -""" Witcher 2 -""" -#pylint: disable=C0103 - -from protonfixes import util - - -def main(): - """ Witcher 2 chokes on more than 31 cores - """ - - util.set_cpu_topology_limit(31) From 42b475fa783a2ea5eb3b39d39960b5915e2c36aa Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Fri, 3 May 2024 09:32:07 -0700 Subject: [PATCH 5/9] Delete CPU limit for Far Cry 2 --- gamefixes-steam/19900.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/gamefixes-steam/19900.py b/gamefixes-steam/19900.py index 0b089129..2dd38e1d 100755 --- a/gamefixes-steam/19900.py +++ b/gamefixes-steam/19900.py @@ -1,12 +1,9 @@ """ Far Cry 2 """ -#pylint: disable=C0103 - -from protonfixes import util - - def main(): - """ chokes on more than 31 cores - """ + """ Set CPU limit to upstream core count + See https://github.com/ValveSoftware/Proton/blob/proton_9.0/proton#L1154 - util.set_cpu_topology_limit(31) + Code block is intentionally empty because this game exists in EGS and + Ubisoft (umu-19900) + """ From b262500ecee27b46f1520e1bb7bda89a84b1b12f Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Wed, 8 May 2024 20:04:08 -0700 Subject: [PATCH 6/9] Revert "Delete fix for The Witcher 2: Assassins of Kings Enchanced Edition" This reverts commit 3cce793fe73b3db5dd12abcf2d0ab1ba032cc2e7. --- gamefixes-steam/20920.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 gamefixes-steam/20920.py diff --git a/gamefixes-steam/20920.py b/gamefixes-steam/20920.py new file mode 100755 index 00000000..770f0e34 --- /dev/null +++ b/gamefixes-steam/20920.py @@ -0,0 +1,12 @@ +""" Witcher 2 +""" +#pylint: disable=C0103 + +from protonfixes import util + + +def main(): + """ Witcher 2 chokes on more than 31 cores + """ + + util.set_cpu_topology_limit(31) From e66e0d1349f89b2b12fcd81db003c18837e48ca9 Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Wed, 8 May 2024 20:13:41 -0700 Subject: [PATCH 7/9] Limit CPU count to 16 for The Witcher 2: Assassins of Kings Enhanced Edition --- gamefixes-steam/20920.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gamefixes-steam/20920.py b/gamefixes-steam/20920.py index 770f0e34..241c5029 100755 --- a/gamefixes-steam/20920.py +++ b/gamefixes-steam/20920.py @@ -1,4 +1,4 @@ -""" Witcher 2 +""" The Witcher 2: Assassins of Kings Enhanced Edition """ #pylint: disable=C0103 @@ -6,7 +6,6 @@ def main(): - """ Witcher 2 chokes on more than 31 cores + """ Witcher 2 chokes on more than 16 cores + Code block is intentionally empty because this game exists in GOG (umu-20920) """ - - util.set_cpu_topology_limit(31) From a958395480ec4509cd616e6dde730cb796f69ff1 Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Wed, 8 May 2024 20:14:17 -0700 Subject: [PATCH 8/9] Add fix for The Witcher 2: Assassins of Kings Enhanced Edition --- gamefixes-gog/umu-20920.py | 1 + 1 file changed, 1 insertion(+) create mode 120000 gamefixes-gog/umu-20920.py diff --git a/gamefixes-gog/umu-20920.py b/gamefixes-gog/umu-20920.py new file mode 120000 index 00000000..68d660a6 --- /dev/null +++ b/gamefixes-gog/umu-20920.py @@ -0,0 +1 @@ +../gamefixes-steam/20920.py \ No newline at end of file From d0a3905f1b11be5fea66af9ed3f3b9c10f52f1d2 Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Wed, 8 May 2024 20:16:05 -0700 Subject: [PATCH 9/9] Lint with Pylint --- gamefixes-steam/20920.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gamefixes-steam/20920.py b/gamefixes-steam/20920.py index 241c5029..996b4382 100755 --- a/gamefixes-steam/20920.py +++ b/gamefixes-steam/20920.py @@ -1,10 +1,5 @@ """ The Witcher 2: Assassins of Kings Enhanced Edition """ -#pylint: disable=C0103 - -from protonfixes import util - - def main(): """ Witcher 2 chokes on more than 16 cores Code block is intentionally empty because this game exists in GOG (umu-20920)