-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add workaround for Elden Ring multiplayer for players that don't own the DLC #87
Add workaround for Elden Ring multiplayer for players that don't own the DLC #87
Conversation
gamefixes-steam/1245620.py
Outdated
if not pathlib.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() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer either:
Path(f"{util.get_game_install_path()}/Game/DLC.bdt").write_text()
or
Path(f"{util.get_game_install_path()}", "Game", "DLC.bdt").write_text()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops. I meant using Path.touch()
.
gamefixes-steam/1245620.py
Outdated
from protonfixes import util | ||
|
||
def main(): | ||
if not pathlib.Path(f"{util.get_game_install_path()}/Game/DLC.bdt").exists(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After import Path
, would prefer either:
Path(f"{util.get_game_install_path()}/Game/DLC.bdt")
or
Path(f"{util.get_game_install_path()}", "Game", "DLC.bdt")
Wow, it's this simple to workaround EAC? Let's just hope that this doesn't get fixed, and I'll try to merge this ASAP after you apply my feedback. Edit: |
This is good enough. Don't mind the CI failures this time because that's something I'll have to correct later. |
The recent Elden Ring patch 1.14 has broken multiplayer again. When I launch the game, the connection is lost after a second or so and the game requests that I fix the network issues and log in again. Seems like you now also need to create DLC.bhd in addition to DLC.bdt. When I went into the Game folder and created DLC.bhd, and started the game again, the connection issue was resolved. |
Done: #129 |
Looking around online and at ProtonDB, the game's Easy Anticheat expects the
Game/DLC.bdt
file to be present for Linux players in order to work correctly, regardless of whether they actually own the DLC that file comes from, and as a result players that don't have the DLC are getting an "Inappropriate activity detected" error when trying to play online.This workaround simply creates a blank
DLC.bdt
file underElden Ring/Game
, which is known to fix the multiplayer for those that don't own the Shadow of the Erdtree DLC.More information: ValveSoftware/Proton#5613 (comment), ValveSoftware/Proton#5613 (comment)