Пример #1
0
def main():
    # Requires vcrun2019 to launch
    util.protontricks('vcrun2019_ge')
    util.protontricks('d3dcompiler_47')
    util.use_seccomp()
    util.set_environment('PROTON_NO_D3D12', '1')
    util.set_environment('WINEDLLOVERRIDES', 'dxgi=n')
Пример #2
0
def main():
    """ Changes the proton argument from the launcher to the game
    """

    util.protontricks('win7')

    util.set_environment('PULSE_LATENCY_MSEC', '60')
Пример #3
0
def main():
    """ Set Mesa env vars
    """

    # https://github.com/ValveSoftware/Proton/pull/1423/commits/1a1d25c7d95691e37c94aea4e5f94e0c917aba6f
    util.set_environment('MESA_EXTENSION_MAX_YEAR', '2003')
    util.set_environment('__GL_ExtensionStringVersion', '17700')
Пример #4
0
def main():
    """ Install corefonts, Set to win7 and override msdmo
    """

    # https://github.com/ValveSoftware/Proton/issues/200#issuecomment-415905979
    util.protontricks('win7')
    util.protontricks('corefonts')
    util.set_environment('WINEDLLOVERRIDES', 'msdmo=b')
Пример #5
0
def main():
    """ Changes the proton argument from the launcher to the game
    """

    log('Applying fixes for Toybox Turbos')

    # Fix infinite startup screen
    util.set_environment('PROTON_NO_ESYNC', '1')
Пример #6
0
def main():
    """ Changes the proton argument from the launcher to the game
    """

    # Fix crackling audio
    util.set_environment('PULSE_LATENCY_MSEC', '60')

    # Replace launcher with game exe in proton arguments
    util.replace_command('FF9_Launcher.exe', 'x64/FF9.exe')
Пример #7
0
def main():
    """ Set Mesa env vars
    """

    log('Applying fixes for STAR WARS Jedi Knight II - Jedi Outcast')

    # https://github.com/ValveSoftware/Proton/pull/1423/commits/1a1d25c7d95691e37c94aea4e5f94e0c917aba6f
    util.set_environment('MESA_EXTENSION_MAX_YEAR', '2003')
    util.set_environment('__GL_ExtensionStringVersion', '17700')
Пример #8
0
def main():
    """ Install corefonts, dx9. Set to win7 and override msdmo
    """

    log('Applying fixes for Battlefield: Bad Company 2')

    # https://github.com/ValveSoftware/Proton/issues/200#issuecomment-415905979
    util.protontricks('win7')
    util.protontricks('corefonts')
    util.protontricks('directx9')
    util.set_environment('WINEDLLOVERRIDES', 'msdmo=b')
Пример #9
0
def main():
    """ installs devenum, quartz, wmp9 and adjust pulse latency
    """

    # Fix pre-rendered cutscene playback
    util.protontricks('devenum')
    util.protontricks('quartz')
    util.protontricks('wmp9_x86_64')

    # Fix crackling audio
    util.set_environment('PULSE_LATENCY_MSEC', '60')
Пример #10
0
def main():
    """ installs devenum, quartz, wmp9 and adjust pulse latency
    """

    # Fix pre-rendered cutscene playback
    util.protontricks('xactengine3_7_ge')
    util.protontricks('wmp9_ge')
    util.protontricks('quartz')
    util.protontricks('d3dx11_43')
    util.protontricks('d3dcompiler_43')
    util.protontricks('klite')
    util.set_environment('WINEDLLOVERRIDES', 'mfplay=n')
Пример #11
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')
Пример #12
0
def main():
    """ Install directsound libraries
    """

    util.protontricks('dmime')
    util.protontricks('dmloader')
    util.protontricks('dmsynth')
    util.protontricks('dmusic')
    util.protontricks('dsound')
    util.protontricks('dswave')
    util.winedll_override('streamci', 'n')
    util.protontricks('sound=alsa')
    """ Fix for audio stutter/desync
    """
    util.set_environment('PULSE_LATENCY_MSEC', '60')
Пример #13
0
def main():
    """ Requires seccomp
    """

    util.use_seccomp()
    util.replace_command('launcher.exe', 'mafiadefinitiveedition.exe')
    util.protontricks('d3dcompiler_47')
    util.set_environment('WINEDLLOVERRIDES', 'dxgi=n')
    configpath = os.path.join(
        util.protonprefix(),
        'drive_c/users/steamuser/My Documents/My Games/Mafia Definitive Edition/Saves'
    )
    if not os.path.exists(configpath):
        os.makedirs(configpath)
    configgame = os.path.join(configpath, 'videoconfig.cfg')
    if not os.path.isfile(configgame):
        f = open(configgame, "w+")
        f.write("-6 0 1920 1080 0 0 0 0 0")
        f.close
Пример #14
0
def main():
    """ Launcherfix and NVIDIA PhysX support.
    """

    # Fixes the startup process.
    util.set_environment('WINEDLLOVERRIDES', 'dxgi=n')
    util.set_environment('DXVK_ASYNC', '1')

    installpath = os.getcwd()

    if not os.path.isfile(
            os.path.join(os.path.abspath(installpath), 'bin',
                         'Win64_Shipping_Client', 'ManagedStarter.exe')):
        subprocess.call(['ln', '-s', 'Bannerlord.exe', 'ManagedStarter.exe'])

    if not os.path.isfile(
            os.path.join(os.path.abspath(installpath), 'bin',
                         'Win64_Shipping_Client', 'ManagedStarter_BE.exe')):
        subprocess.call(
            ['ln', '-s', 'Bannerlord_BE.exe', 'ManagedStarter_BE.exe'])
Пример #15
0
def main():
    """ installs vcrun2019
    """

    util.protontricks('vcrun2019_ge')
    util.set_environment('DXVK_LOG_PATH', 'none')
Пример #16
0
def main():
    """ Dragon Star Varnir fix
    """
    # Fixes the startup process.
    util.set_environment('WINEDLLOVERRIDES','xactengine3_7=n')
Пример #17
0
def main():
    """ d9vk breaks with it and dxgi. Use wined3d for now.
    """

    util.set_environment('PROTON_USE_WINED3D', '1')
Пример #18
0
def main():
    """ Disable esync
    """

    # esync causes occasional crashing
    util.set_environment('PROTON_NO_ESYNC', '1')
Пример #19
0
def main():
    """ Use d9vk to avoid texture glitches
    """

    util.set_environment('PROTON_USE_D9VK', '1')
Пример #20
0
def main():
    # Requires vcrun2019 to launch
    util.protontricks('vcrun2019_ge')
    util.set_environment('WINEDLLOVERRIDES', 'dxgi=n')
Пример #21
0
def main():
    """ d9vk breaks with it and dxgi. Use wined3d for now.
    """

    util.set_environment('WINEDLLOVERRIDES', 'dxgi=n')
Пример #22
0
def main():
    """ Needs winedbg.exe disabled for multi-player.
    """

    util.set_environment('WINEDLLOVERRIDES','winedbg.exe=d')
Пример #23
0
def main():
    """ Enable preload options
    """
    # Enable preload options
    util.set_environment('WINEDLLOVERRIDES', 'dxgi=n')
Пример #24
0
def main():
    """ needs native dxgi
    """

    util.set_environment('WINEDLLOVERRIDES','dxgi=n')
Пример #25
0
def main():
    """ Requires nvapi disabled. Needs for DX12/vkd3d
    """
    util.disable_nvapi()
    util.set_environment('VKD3D_FEATURE_LEVEL', '12_0')
Пример #26
0
def main():
    """ Seven needs DXGI=n
    """

    # https://github.com/ValveSoftware/Proton/issues/200#issuecomment-415905979
    util.set_environment('WINEDLLOVERRIDES', 'dxgi=n')
Пример #27
0
def main():
    """ 
    """
    util.protontricks('d3dcompiler_47')
    util.set_environment('WINEDLLOVERRIDES','openal32=b')