Skip to content

Commit

Permalink
media converter was merged into wine. a patch is added in proton-ge t…
Browse files Browse the repository at this point in the history
…o allow these to work again. need to use the new value
  • Loading branch information
GloriousEggroll committed Apr 14, 2024
1 parent c9189a3 commit 7009eac
Show file tree
Hide file tree
Showing 18 changed files with 39 additions and 18 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_protonaudioconverter()
util.disable_protonaudioconverterbin()
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_protonaudioconverter()
util.disable_protonaudioconverterbin()
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_protonaudioconverter()
util.disable_protonaudioconverterbin()
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_protonaudioconverter()
util.disable_protonaudioconverterbin()
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_protonaudioconverter()
util.disable_protonaudioconverterbin()
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_protonaudioconverter()
util.disable_protonaudioconverterbin()
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_protonaudioconverter()
util.disable_protonaudioconverterbin()
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_protonaudioconverter()
util.disable_protonaudioconverterbin()
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_protonaudioconverter()
util.disable_protonaudioconverterbin()
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_protonaudioconverter()
util.disable_protonaudioconverterbin()
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_protonaudioconverter()
util.disable_protonaudioconverterbin()
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_protonaudioconverter()
util.disable_protonaudioconverterbin()
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_protonaudioconverter()
util.disable_protonaudioconverterbin()
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_protonaudioconverter()
util.disable_protonaudioconverterbin()
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_protonaudioconverter()
util.disable_protonaudioconverterbin()
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_protonaudioconverter()
util.disable_protonaudioconverterbin()
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_protonaudioconverter()
util.disable_protonaudioconverterbin()
23 changes: 22 additions & 1 deletion util.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,30 @@ def disable_protonaudioconverter() -> None:
"""

log.info('Disabling Proton Audio Converter')
set_environment('GST_PLUGIN_FEATURE_RANK', 'protonaudioconverterbin:NONE')
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
def disable_uplay_overlay() -> bool:
"""Disables the UPlay in-game overlay.
Expand Down

0 comments on commit 7009eac

Please sign in to comment.