-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2699518
commit 1224e6a
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +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""" | ||
"""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""" | ||
|
||
import pathlib | ||
from pathlib import Path | ||
from protonfixes import util | ||
|
||
def main(): | ||
if not pathlib.Path(f"{util.get_game_install_path()}/Game/DLC.bdt").exists(): | ||
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", 'w').close() | ||
open(f"{util.get_game_install_path()}/Game/DLC.bdt", 'wb').close() |