Skip to content

Commit

Permalink
Merge pull request #129 from UsernamesAreNotMyThing/Elden-Ring
Browse files Browse the repository at this point in the history
Fix Elden Ring, again
  • Loading branch information
R1kaB3rN authored Sep 13, 2024
2 parents 4f48030 + a3c0d7d commit ddf263a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions gamefixes-steam/1245620.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
"""Game fix for Elden Ring: Manually create the `DLC.bdt` file to work around the "Inappropriate activity detected" error for players that don't own the DLC"""
"""Game fix for Elden Ring: Create the `DLC.bdt` and `DLC.bhd` files to work around the "Inappropriate activity detected" error for players that don't own the DLC"""

from pathlib import Path
from protonfixes import util


def main() -> None:
game_dir = Path(util.get_game_install_path()) / 'Game'
# Create the DLC.bdt file if it doesn't already exist, which is known to fix Easy AntiCheat not working for players that don't own the DLC
# A blank file is enough to get multiplayer working
Path(f'{util.get_game_install_path()}/Game/DLC.bdt').touch(exist_ok=True)
(game_dir / 'DLC.bdt').touch(exist_ok=True)
# Now also needs DLC.bhd after 1.14 patch
(game_dir / 'DLC.bhd').touch(exist_ok=True)

0 comments on commit ddf263a

Please sign in to comment.