Skip to content

Commit

Permalink
Add workaround for Elden Ring multiplayer for players that don't own …
Browse files Browse the repository at this point in the history
…the DLC (#87)

* Add Elden Ring DLC.bdt fix

* Fix incorrect path for DLC.bdt

* Update 1245620.py

* Shorten import
  • Loading branch information
UsernamesAreNotMyThing authored Jul 3, 2024
1 parent 49920fc commit ad07482
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions gamefixes-steam/1245620.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"""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"""

from pathlib import Path
from protonfixes import util

def main():
if not Path(f"{util.get_game_install_path()}/Game/DLC.bdt").exists():
# 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
open(f"{util.get_game_install_path()}/Game/DLC.bdt", 'wb').close()

0 comments on commit ad07482

Please sign in to comment.