-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added fixes for A Hat in Time and Rise of Nations from #24
- Loading branch information
1 parent
d30cbda
commit 400b0ab
Showing
4 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
""" Game fix for A Hat in Time | ||
Source: https://github.com/ValveSoftware/Proton/issues/173 | ||
""" | ||
|
||
#pylint: disable=C0103 | ||
|
||
from protonfixes import util | ||
|
||
def main(): | ||
""" Installs xact | ||
""" | ||
|
||
util.protontricks('xact') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
""" Game fix for Rise of Nations: Extended Edition | ||
Source: https://github.com/simons-public/protonfixes/issues/24#issue-372384148 | ||
""" | ||
|
||
#pylint: disable=C0103 | ||
|
||
from protonfixes import util | ||
|
||
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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters