-
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.
Merge pull request #32 from NoXPhasma/master
Added fix for Banished
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
""" Game fix for Banished | ||
""" | ||
# pylint: disable=C0103 | ||
from protonfixes import util | ||
|
||
|
||
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') |