Skip to content

Commit

Permalink
turns out the whole group needs to be disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
GloriousEggroll committed Apr 14, 2024
1 parent 7009eac commit 48f0534
Show file tree
Hide file tree
Showing 18 changed files with 20 additions and 39 deletions.
2 changes: 1 addition & 1 deletion gamefixes-steam/1121560.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
from protonfixes import util

def main():
util.disable_protonaudioconverterbin()
util.disable_protonmediaconverter()
2 changes: 1 addition & 1 deletion gamefixes-steam/1158850.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@


def main():
util.disable_protonaudioconverterbin()
util.disable_protonmediaconverter()
2 changes: 1 addition & 1 deletion gamefixes-steam/1257290.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
from protonfixes import util

def main():
util.disable_protonaudioconverterbin()
util.disable_protonmediaconverter()
2 changes: 1 addition & 1 deletion gamefixes-steam/1272580.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
from protonfixes import util

def main():
util.disable_protonaudioconverterbin()
util.disable_protonmediaconverter()
2 changes: 1 addition & 1 deletion gamefixes-steam/1293820.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ def main():
util.disable_esync()
util.disable_fsync()
# Fixes audio not playing for in-game videos
util.disable_protonaudioconverterbin()
util.disable_protonmediaconverter()
2 changes: 1 addition & 1 deletion gamefixes-steam/1382330.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
from protonfixes import util

def main():
util.disable_protonaudioconverterbin()
util.disable_protonmediaconverter()
2 changes: 1 addition & 1 deletion gamefixes-steam/1413480.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
from protonfixes import util

def main():
util.disable_protonaudioconverterbin()
util.disable_protonmediaconverter()
2 changes: 1 addition & 1 deletion gamefixes-steam/1999770.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
from protonfixes import util

def main():
util.disable_protonaudioconverterbin()
util.disable_protonmediaconverter()
2 changes: 1 addition & 1 deletion gamefixes-steam/2138090.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
from protonfixes import util

def main():
util.disable_protonaudioconverterbin()
util.disable_protonmediaconverter()
2 changes: 1 addition & 1 deletion gamefixes-steam/2183070.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ def main():
util.disable_esync()
util.disable_fsync()
# Fixes audio not playing for in-game videos
util.disable_protonaudioconverterbin()
util.disable_protonmediaconverter()
2 changes: 1 addition & 1 deletion gamefixes-steam/2399220.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ def main():
"""

# Fixes audio not playing for in-game videos
util.disable_protonaudioconverterbin()
util.disable_protonmediaconverter()
2 changes: 1 addition & 1 deletion gamefixes-steam/260130.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

def main():
util.protontricks('wmp9')
util.disable_protonaudioconverterbin()
util.disable_protonmediaconverter()
2 changes: 1 addition & 1 deletion gamefixes-steam/312790.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

def main():
util.protontricks('wmp9')
util.disable_protonaudioconverterbin()
util.disable_protonmediaconverter()
2 changes: 1 addition & 1 deletion gamefixes-steam/586140.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
from protonfixes import util

def main():
util.disable_protonaudioconverterbin()
util.disable_protonmediaconverter()
2 changes: 1 addition & 1 deletion gamefixes-steam/740550.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

def main():
util.protontricks('wmp9')
util.disable_protonaudioconverterbin()
util.disable_protonmediaconverter()
2 changes: 1 addition & 1 deletion gamefixes-steam/893180.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ def main():
util.protontricks('lavfilters')
util.protontricks('d3dcompiler_43')
util.protontricks('d3dcompiler_47')
util.disable_protonaudioconverterbin()
util.disable_protonmediaconverter()
2 changes: 1 addition & 1 deletion gamefixes-steam/936160.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
from protonfixes import util

def main():
util.disable_protonaudioconverterbin()
util.disable_protonmediaconverter()
25 changes: 3 additions & 22 deletions util.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,33 +442,14 @@ def disable_fsync() -> None:
set_environment('WINEFSYNC', '')


def disable_protonaudioconverter() -> None:
""" Disabling Proton Audio Converter
def disable_protonmediaconverter() -> None:
""" Disabling Proton Media Converter
"""

log.info('Disabling Proton Audio Converter')
log.info('Disabling Proton Media Converter')
set_environment('PROTON_AUDIO_CONVERT', '0')


def disable_protonaudioconverterbin() -> None:
""" Disabling Proton Audio Converter
"""

log.info('Disabling Proton Audio Converter')
set_environment('PROTON_AUDIO_CONVERT_BIN', '0')

def disable_protonvideoconverter() -> None:
""" Disabling Proton Audio Converter
"""

log.info('Disabling Proton Video Converter')
set_environment('PROTON_VIDEO_CONVERT', '0')

def disable_protondemuxer() -> None:
""" Disabling Proton Audio Converter
"""

log.info('Disabling Proton Demuxer')
set_environment('PROTON_DEMUX', '0')

@once
Expand Down

0 comments on commit 48f0534

Please sign in to comment.