예제 #1
0
def main():
    """ Launcherfix
    """

    # Fixes the startup process.
    util.replace_command('Launcher.exe', 'BorderlandsPreSequel.exe')
    util.append_argument('-NoSplash')
예제 #2
0
def main():
    """ Enable Glide emulation in dosbox config """

    conf_dict = {'glide': {'glide': 'emu'}}
    util.create_dosbox_conf('glide_fix.conf', conf_dict)
    util.append_argument('-conf')
    util.append_argument('glide_fix.conf')
예제 #3
0
def main():
    """ This bypasses Strange Brigade's Launcher, which renders all black.
    """

    # Fixes the startup process.
    util.replace_command('StrangeBrigade.exe', 'StrangeBrigade_Vulkan.exe')
    util.append_argument('-skipdrivercheck -noHDR')
예제 #4
0
def main():
    """ Adds the -interline argument to the game
    """

    log('Applying fixes for Oddworld: Abe\'s Oddysee')

    # Adding -interline fixes slow videos but adds scanlines
    util.append_argument('-interline')
예제 #5
0
def main():
    """ Disable ESYNC, disable intro's
    """

    # After loading the game, or a save file, a key needs to be pressed
    # to continue. That screen does not respond to keyboard or mouse,
    # so there is no way to continue. -nointro disables that screen
    # (but also the intro's at the start of the game).
    util.append_argument('-nointro')

    # ESYNC causes texture problems and frequent hangs.
    util.set_environment('PROTON_NO_ESYNC', '1')
예제 #6
0
def main():
    """ Launcherfix and NVIDIA PhysX support.
    """

    # Fixes the startup process.
    util.replace_command('Launcher.exe', 'Borderlands2.exe')
    util.append_argument('-NoSplash')

    # Disables esync prevents crashes.
    util.disable_esync()

    # Enables NVIDIA PhysX in Borderlands 2.
    util.protontricks('physx')
예제 #7
0
def main():
    """ disable Easy Anti-Cheat and online play, disable uplay overlay and change closebehavior
    """

    uplayconfigpath = os.path.join(util.protonprefix(), 'drive_c/users/steamuser/Local Settings/Application Data/Ubisoft Game Launcher')
    if not os.path.exists(uplayconfigpath):
        os.makedirs(uplayconfigpath)
    uplayconfigfile = os.path.join(uplayconfigpath, 'settings.yml')
    if not os.path.isfile(uplayconfigfile):
        f = open(uplayconfigfile,"w+")
        f.write("overlay:\n  enabled: false\n  fps_enabled: false\n  warning_enabled: false\nuser:\n  closebehavior: CloseBehavior_Close\n  landingpage: LandingPageLastPlayedGame\n")
        f.close

    # Replace launcher with game exe in proton arguments
    util.append_argument('-eac_launcher -nosplash')
예제 #8
0
def main():
    """ Enable preload options
    """

    # Enable preload options
    util.append_argument('+r_renderAPI 1')

    installpath = os.path.abspath(os.getcwd())
    url = "https://github.com/Riesi/CChromaEditor/files/2277158/CChromaEditorLibrary.zip"

    if not os.path.isfile(
            os.path.join(installpath, 'CChromaEditorLibrary.dll.bak')):
        urllib.request.urlretrieve(url, "CChromaEditorLibrary.zip")
        shutil.move(os.path.join(installpath, 'CChromaEditorLibrary.dll'),
                    os.path.join(installpath, 'CChromaEditorLibrary.dll.bak'))
        with zipfile.ZipFile("CChromaEditorLibrary.zip", "r") as zip_ref:
            zip_ref.extractall(installpath)
예제 #9
0
def main():
    """ https://www.protondb.com/app/312530#bXY0Kuwwlz
    """
    util.winedll_override('dinput', 'n')
    util.append_argument('-nothreading')
예제 #10
0
def main():
    """ Enable -useembedded to get past loading hang
    """
    # Enable preload options
    util.append_argument('-useembedded')
예제 #11
0
def main():
    """ Sometimes game will not launch if -fullscreen -vulkan is not specified
    """

    util.append_argument('-fullscreen -vulkan')
예제 #12
0
def main():
    """ Enable Async and add preload options
    """
    # Enable preload options
    util.append_argument('--waitforpreload --nologo --gc2')
예제 #13
0
def main():
    """ Requires seccomp
    """

    util.use_seccomp()
    util.append_argument('+com_skipSignInManager 1')
예제 #14
0
def main():
    """ Enable preload options
    """
    # Enable preload options
    util.append_argument('--waitforpreload --noasync --gc2')
예제 #15
0
def main():
    """ Needs fastlaunch option
    """

    # Fixes the startup process.
    util.append_argument('-FastLaunch')
예제 #16
0
def main():
    # Requires vcrun2019 to launch
    util.protontricks('vcrun2019_ge')
    util.append_argument('-windowed')
예제 #17
0
def main():
    """ Changes the proton argument from the launcher to the game
    """

    # Replace launcher with game exe in proton arguments
    util.append_argument('-NoStartup')
예제 #18
0
def main():
    """ Adds the -interline argument to the game
    """

    # Adding -interline fixes slow videos but adds scanlines
    util.append_argument('-interline')
예제 #19
0
def main():
    """ Changes the proton argument from the launcher to the game
    """

    # Game expects this to be set
    util.append_argument('-changedir')
예제 #20
0
def main():
    """
    """

    # Replace launcher with game exe in proton arguments
    util.append_argument('-eac_launcher -nosplash')