Skip to content

Commit

Permalink
Add fix for ANONYMOUS;CODE
Browse files Browse the repository at this point in the history
This game has been officially reported for lock-ups during playthrough due to audio bugs, and this patch attempts to workaround them by installing xact and disabling esync/fsync. Installing xact and disabling esync/fsync should make the game playable, preventing the need for users to manually download the XAudio2_9.dll as well as setting environment variables as suggested on ProtonDB. In addition, audio for in-game videos are fixed through the GST_PLUGIN_FEATURE_RANK environment variable.

Related to GloriousEggroll@ce019ae GloriousEggroll@e5209e1 GloriousEggroll@fe430fc because it uses the same engine and exhibits the same lock-up symptoms.

Link to unofficial reports: https://www.protondb.com/app/2291020

Link to official report: ValveSoftware/Proton#7083
  • Loading branch information
R1kaB3rN committed Dec 24, 2023
1 parent 208f730 commit d6c06f4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions gamefixes/2291020.py
@@ -0,0 +1,15 @@
""" Game fix for ANONYMOUS;CODE
"""

from protonfixes import util

def main():
""" install xact, disable esync, disable fsync, disable protonaudioconverterbin plugin
"""

# Fixes random lock-ups during gameplay
util.protontricks('xact')
util.disable_esync()
util.disable_fsync()
# Fixes audio not playing for in-game videos
util.set_environment('GST_PLUGIN_FEATURE_RANK', 'protonaudioconverterbin:NONE')

0 comments on commit d6c06f4

Please sign in to comment.