Skip to content

Commit

Permalink
Added some fixes from the Proton Issues page
Browse files Browse the repository at this point in the history
- Age Of Empire 3: Complete Collection
- You Need a Budget 4
- Battlefield: Bad Company 2
- Killer is Dead at Launch
- Chronophantasma Extend
- SUGURI 2
  • Loading branch information
simons-public committed Oct 13, 2018
1 parent 137e2e1 commit a715b01
Show file tree
Hide file tree
Showing 7 changed files with 130 additions and 0 deletions.
24 changes: 24 additions & 0 deletions protonfixes/gamefixes/105450.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
""" Game fix for Age Of Empire 3: Complete Collection
"""
#pylint: disable=C0103

from protonfixes import util
from protonfixes.logger import log

def main():
""" Uses win32 prefix, installs corefonts, dsound, l3codecx quarts mfc42 d3dx9 and dotnet20
"""

log('Applying fixes for Age Of Empire 3: Complete Collection')

# Winetrick wmp9 requires 32bit prefix
util.use_win32_prefix()

# https://github.com/ValveSoftware/Proton/issues/17#issuecomment-415977510
util.protontricks('corefonts')
util.protontricks('dsound')
util.protontricks('l3codecx')
util.protontricks('quartz')
util.protontricks('mfc42')
util.protontricks('d3dx9')
util.protontricks('dotnet20')
15 changes: 15 additions & 0 deletions protonfixes/gamefixes/227320.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
""" Game fix for You Need a Budget 4
"""
#pylint: disable=C0103

from protonfixes import util
from protonfixes.logger import log

def main():
""" Installs corefonts
"""

log('Applying fixes for You Need a Budget 4')

# https://github.com/ValveSoftware/Proton/issues/7
util.protontricks('corefonts')
19 changes: 19 additions & 0 deletions protonfixes/gamefixes/24960.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
""" Game fix for Battlefield: Bad Company 2
"""
#pylint: disable=C0103

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

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')
os.environ['WINEDLLOVERRIDES'] = 'msdmo=b'
19 changes: 19 additions & 0 deletions protonfixes/gamefixes/261110.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
""" Game fix for Killer is Dead at Launch
"""
#pylint: disable=C0103

from protonfixes import util
from protonfixes.logger import log

def main():
""" Installs dotnet45 directx9 vcruntime2010 and xact_june2018 and sets to winxp
"""

log('Applying fixes for Killer is Dead at Launch')

# https://github.com/ValveSoftware/Proton/issues/1387#issuecomment-428059647
util.protontricks('winxp')
util.protontricks('dotnet45')
util.protontricks('directx9')
util.protontricks('vcruntime2010')
util.protontricks('xact_june2018')
21 changes: 21 additions & 0 deletions protonfixes/gamefixes/388750.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
""" Game fix for Chronophantasma Extend
"""
#pylint: disable=C0103

from protonfixes import util
from protonfixes.logger import log

def main():
""" Uses win32 prefix, installs quartz devenum wmp9 xact
"""

log('Applying fixes for Chronophantasma Extend')

# Winetrick wmp9 requires 32bit prefix
util.use_win32_prefix()

# https://github.com/ValveSoftware/Proton/issues/703#issuecomment-416075961
util.protontricks('devenum')
util.protontricks('quartz')
util.protontricks('wmp9')
util.protontricks('xact')
15 changes: 15 additions & 0 deletions protonfixes/gamefixes/390710.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
""" Game fix for SUGURI 2
"""
#pylint: disable=C0103

from protonfixes import util
from protonfixes.logger import log

def main():
""" Installs d3dxof
"""

log('Applying fixes for SUGURI 2')

# https://github.com/ValveSoftware/Proton/issues/970#issuecomment-420421289
util.protontricks('d3dxof')
17 changes: 17 additions & 0 deletions protonfixes/gamefixes/8800.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
""" Game fix for Civilization 4 (Beyond the Sword)
"""
#pylint: disable=C0103

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

def main():
""" Install msxml3
"""

log('Applying fixes for Civilization 4 (Beyond the Sword)')

# https://github.com/ValveSoftware/Proton/issues/179#issuecomment-415593087
util.protontricks('msxml3')
util.protontricks('msxml4')

0 comments on commit a715b01

Please sign in to comment.