Skip to content

Commit

Permalink
Import util relative in fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Root-Core committed Jan 8, 2025
1 parent 97c5a03 commit 67066d9
Show file tree
Hide file tree
Showing 297 changed files with 306 additions and 315 deletions.
2 changes: 1 addition & 1 deletion gamefixes-egs/umu-1248080.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for CYGNI: All Guns Blazing"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-egs/umu-1370140.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix Kao the Kangaroo (2022)"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-egs/umu-2138710.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for Sifu"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-egs/umu-2144740.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for Ghost Runner 2"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-egs/umu-2229940.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for [REDACTED]"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-egs/umu-517710.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix Redout: Enhanced Edition"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-egs/umu-976590.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for Bus Simulator 21 Next Stop"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-egs/umu-990080.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix Hogwarts Legacy"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-gog/umu-1141086411.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Silent Hill 4: The Room"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
4 changes: 2 additions & 2 deletions gamefixes-gog/umu-1209310984.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
from tempfile import mkdtemp
from urllib.request import urlopen

from protonfixes import util
from protonfixes.logger import log
from .. import util
from ..logger import log


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-gog/umu-1228964594.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for Soldier of Fortune II: Double Helix - Gold Edition"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
4 changes: 2 additions & 2 deletions gamefixes-gog/umu-1564851593.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
from urllib.request import urlopen
from zipfile import ZipFile, is_zipfile

from protonfixes import util
from protonfixes.logger import log
from .. import util
from ..logger import log

# Archive containing the text injecting framework
arc = 'https://github.com/user-attachments/files/16136393/d3d9-2206220222.zip'
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-gog/umu-1580232252.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Resident Evil (1997)"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-gog/umu-1584652180.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""The Wheel of Time"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-gog/umu-1771973390.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""METAL GEAR SOLID"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
3 changes: 1 addition & 2 deletions gamefixes-gog/umu-2069117974.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
"""METAL GEAR SOLID 2 SUBSTANCE"""
# GOG-ID 2069117974

from protonfixes import util

from .. import util

def main() -> None:
util.protontricks('dsound')
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-gog/umu-22610.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Alien Breed: Impact"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-gog/umu-22650.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Alien Breed 2: Assault"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-gog/umu-22670.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Alien Breed 3: Descent"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1017900.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for Age of Empires: DE"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/10220.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Postal III"""

from protonfixes import util
from .. import util


# Missing fonts for console and various UI
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1030830.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for Mafia II Definitive Edition"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/105000.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
No cutscene audio in Daedalic Games (Memoria, The Night of the Rabbit, A New Beginning - Final Cut) (105000 230820 243200) #1412
"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
4 changes: 2 additions & 2 deletions gamefixes-steam/105400.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import os
import shutil

from protonfixes import util
from protonfixes.logger import log
from .. import util
from ..logger import log


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/105450.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for Age Of Empire 3: Complete Collection"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1056640.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for Phantasy Star Online 2"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1062040.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Dragon Star Varnir"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1063730.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for New World"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/108710.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Alan Wake"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1097150.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for Fall Guys"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1097880.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for Super Naughty Maid 2"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1105510.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for Yakuza 5"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/110800.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for L.A. Noire"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1113000.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for Persona 4 Golden"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1121560.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Requires disabling the gstreamer protonaudioconverterbin plugin to get full audio in cutscenes
"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1151640.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for Horizon Zero Dawn"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1158850.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Requires disabling the gstreamer protonaudioconverterbin to get full audio
"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1174180.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for Red Dead Redemption 2"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1175730.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix Tree Of Savior"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/12200.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for Bully: Scholarship Edition"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/12210.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for GTA IV"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1222370.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Necromunda: Hired Gun"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1222690.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for Dragon Age Inquisition"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1230140.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Game fix for ATRI -My Dear Moments-"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1237970.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
import subprocess
import glob
from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1239520.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Madden NFL 21 needs vcrun2019 for online mode to work"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1240440.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Halo Infinite needs vcrun2019"""

from protonfixes import util
from .. import util


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion gamefixes-steam/1245620.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Game fix for Elden Ring: Create the `DLC.bdt` and `DLC.bhd` files to work around the "Inappropriate activity detected" error for players that don't own the DLC"""

from pathlib import Path
from protonfixes import util
from .. import util


def main() -> None:
Expand Down
Loading

0 comments on commit 67066d9

Please sign in to comment.