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 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) + """ diff --git a/gamefixes-steam/20920.py b/gamefixes-steam/20920.py index 770f0e34..996b4382 100755 --- a/gamefixes-steam/20920.py +++ b/gamefixes-steam/20920.py @@ -1,12 +1,6 @@ -""" Witcher 2 +""" The Witcher 2: Assassins of Kings Enhanced Edition """ -#pylint: disable=C0103 - -from protonfixes import util - - 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) 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) 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) 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)