From 701afd242e0a366328160d90467b02508f177f72 Mon Sep 17 00:00:00 2001 From: Timo Gurr Date: Tue, 26 May 2026 23:12:56 +0200 Subject: [PATCH] =?UTF-8?q?proton:=20Add=20work-around=20for=20Diablo=20II?= =?UTF-8?q?:=20Resurrected=20=E2=80=93=20Infernal=20Edition.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proton | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/proton b/proton index 54557e93bd8..5303251b337 100755 --- a/proton +++ b/proton @@ -1106,6 +1106,12 @@ class CompatData: os.makedirs(os.path.dirname(dstvdf), exist_ok=True) shutil.copyfile(srcvdf, dstvdf) + # Diablo II: Resurrected – Infernal Edition initially needs a ClientSdk directory to not hang on error: + # You have not been online in the last 30 days. Please start the game while online to check for any login agreements. + if os.environ.get("SteamGameId", 0) == "2536520": + diablo2_clientsdk_dir = "/drive_c/users/steamuser/AppData/Local/Blizzard Entertainment/ClientSdk" + makedirs(self.prefix_dir + diablo2_clientsdk_dir) + #copy openvr files into place makedirs(self.prefix_dir + "/drive_c/vrclient/bin") try_copy(g_proton.arch_pe_dir("wine", True) + "vrclient.dll", "drive_c/vrclient/bin",