Esempio n. 1
0
def main():
    """ Disable d9vk to avoid crash
        Disable SDNXLFonts.dll to render text
    """

    util.disable_dxvk()
    util.winedll_override('SDNXLFonts', 'd')
Esempio n. 2
0
def main():
    """ From: https://www.protondb.com/app/63710
    """

    util.protontricks('d3dcompiler_43')
    util.protontricks('d3dx9_43')
    util.winedll_override('openal32', 'b')
Esempio n. 3
0
def main():
    """ Install dotnet46 so the launcher works and fix game audio.
    """

    # Install crypt32 (not required for Proton 3.16-3 and up)
    util.protontricks('dotnet46')

    # Install directmusic, set overrides
    util.winedll_override('xaudio2_7', 'n')
Esempio n. 4
0
def main():
    """ Install xact and override xaudio2_7 to native
    """

    print('Applying fixes for Portal Knights')

    # install xact
    util.protontricks('xact')

    # set xaudio2_7.dll to native
    util.winedll_override('xaudio2_7', 'n')
Esempio n. 5
0
def main():
    """ Install xact and override
    """

    print('Applying fixes for Banished')

    # If not already installed, install xact
    if not util.checkinstalled('xact'):
        util.protontricks('xact')

    # Set xaudio2_7 to native, otherwise audio won't work
    util.winedll_override('xaudio2_7', 'n')
Esempio n. 6
0
def main():
    """ Install xact, override libraries and add launch parameter
    """

    # If not already installed, install xact
    util.protontricks('xact')

    # To fix audio crackling, set xaudio2_6.dll and xaudio2_7.dll to native
    util.winedll_override('xaudio2_6,xaudio2_7', 'n')

    # The game crashes if running with more than one CPU thread,
    # adding "-onethread" will force the game to use only one CPU thread
    sys.argv.append('-onethread')
Esempio n. 7
0
def main():
    """ Install xact and dinput8, override libraries and disable esync
    """

    print('Applying fixes for RiME')

    # Gamepad doesn't work properly without dinput8 installed
    util.protontricks('dinput8')

    # To fix gamepad set dinput8 to native
    util.winedll_override('dinput8', 'n')

    # disable esync to prevent game crash after a few minutes
    util.disable_esync()
Esempio n. 8
0
def main():
    """ Installs directmusic and directplay
    """

    util.protontricks('dmband')
    util.protontricks('dmime')
    util.protontricks('dmloader')
    util.protontricks('dmsynth')
    util.protontricks('dmstyle')
    util.protontricks('dmusic')
    util.protontricks('dsound')
    util.protontricks('dswave')
    util.protontricks('directplay')
    util.winedll_override('streamci', 'n')
Esempio n. 9
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')
Esempio n. 10
0
def main():
    """ Needs WMP9, devenum, quartz, dinput and win7 """

    #For main menu, intro and outro playback
    util.protontricks('wmp9_x86_64')
    util.protontricks('devenum')
    util.protontricks('quartz')

    #In case if someone wishes to use DSfix
    util.protontricks('dinput8')
    util.winedll_override('dinput8', 'n')

    util.protontricks('win7')
    #Avoiding problems with missing syswow64
    util._mk_syswow64()  #pylint: disable=protected-access
Esempio n. 11
0
def main():
    """ Install xact and dinput8, override libraries and disable esync
    """

    print('Applying fixes for RiME')

    # If not already installed, install xact
    if not util.checkinstalled('xact'):
        util.protontricks('xact')

    # Gamepad doesn't work properly without dinput8 installed
    if not util.checkinstalled('dinput8'):
        util.protontricks('dinput8')

    # To fix audio crackling, set xaudio2_7.dll to native
    # To fix gamepad set dinput8 to native
    util.winedll_override('xaudio2_7,dinput8', 'n')

    # disable esync to prevent game crash after a few minutes
    util.disable_esync()
Esempio n. 12
0
def main():
    """ Install xact and dinput8, override libraries and disable esync
    """

    print('Applying fixes for RiME')

    # if Proton version older than 3.16-5
    if util.protonversion(True) < 1544476838:
        # If not already installed, install xact
        util.protontricks('xact')

        # To fix audio crackling, set xaudio2_7.dll to native
        util.winedll_override('xaudio2_7', 'n')

    # Gamepad doesn't work properly without dinput8 installed
    util.protontricks('dinput8')

    # To fix gamepad set dinput8 to native
    util.winedll_override('dinput8', 'n')

    # disable esync to prevent game crash after a few minutes
    util.disable_esync()
Esempio n. 13
0
def main():
    """ Disable libglesv2 """

    # gpu acelleration on wibed3d https://bugs.winehq.org/show_bug.cgi?id=44985
    util.winedll_override('libglesv2', 'd')
Esempio n. 14
0
def main():
    """ Installs xact
    """

    util.protontricks('xact')
    util.winedll_override('xaudio2_7', 'n')
Esempio n. 15
0
def main():
    """ Overrides the mprapi.dll to native.
    """

    util.winedll_override('mprapi', 'x')
Esempio n. 16
0
def main():
    """ Installs crypt32 and and bypasses launcher
    """

    # Install crypt32 (not required for Proton 3.16-3 and up)
    util.protontricks('crypt32')

    # Install directmusic, set overrides
    util.protontricks('directmusic')
    util.winedll_override('dmime', 'n')
    util.winedll_override('dmsynth', 'n')
    util.winedll_override('dmusic', 'n')
    util.winedll_override('dsound', 'n')
    util.winedll_override('dswave ', 'n')
    util.winedll_override('l3codecx', 'n')

    # Set sound to alsa
    util.protontricks('sound=alsa')

    # Disable launcher
    util.replace_command('patriots.exe', 'riseofnations.exe')
Esempio n. 17
0
def main():
    """ https://www.protondb.com/app/312530#bXY0Kuwwlz
    """
    util.winedll_override('dinput', 'n')
    util.append_argument('-nothreading')