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')
def main(): """ Changes the proton argument from the launcher to the game """ util.protontricks('win7') util.set_environment('PULSE_LATENCY_MSEC', '60')
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')
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')
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')
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')
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')
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')
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')
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')
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')
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')
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
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'])
def main(): """ installs vcrun2019 """ util.protontricks('vcrun2019_ge') util.set_environment('DXVK_LOG_PATH', 'none')
def main(): """ Dragon Star Varnir fix """ # Fixes the startup process. util.set_environment('WINEDLLOVERRIDES','xactengine3_7=n')
def main(): """ d9vk breaks with it and dxgi. Use wined3d for now. """ util.set_environment('PROTON_USE_WINED3D', '1')
def main(): """ Disable esync """ # esync causes occasional crashing util.set_environment('PROTON_NO_ESYNC', '1')
def main(): """ Use d9vk to avoid texture glitches """ util.set_environment('PROTON_USE_D9VK', '1')
def main(): # Requires vcrun2019 to launch util.protontricks('vcrun2019_ge') util.set_environment('WINEDLLOVERRIDES', 'dxgi=n')
def main(): """ d9vk breaks with it and dxgi. Use wined3d for now. """ util.set_environment('WINEDLLOVERRIDES', 'dxgi=n')
def main(): """ Needs winedbg.exe disabled for multi-player. """ util.set_environment('WINEDLLOVERRIDES','winedbg.exe=d')
def main(): """ Enable preload options """ # Enable preload options util.set_environment('WINEDLLOVERRIDES', 'dxgi=n')
def main(): """ needs native dxgi """ util.set_environment('WINEDLLOVERRIDES','dxgi=n')
def main(): """ Requires nvapi disabled. Needs for DX12/vkd3d """ util.disable_nvapi() util.set_environment('VKD3D_FEATURE_LEVEL', '12_0')
def main(): """ Seven needs DXGI=n """ # https://github.com/ValveSoftware/Proton/issues/200#issuecomment-415905979 util.set_environment('WINEDLLOVERRIDES', 'dxgi=n')
def main(): """ """ util.protontricks('d3dcompiler_47') util.set_environment('WINEDLLOVERRIDES','openal32=b')