here's a patch file to get the launcher itself to do the work
Subject: [PATCH] patch to use newer d2stats fork
---
d2launcher | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/d2launcher b/d2launcher
index 01dabb1..28091dc 100755
--- a/d2launcher
+++ b/d2launcher
@@ -77,7 +77,7 @@ MXL_PATCH_VERSION="d2launcher-patch.version"
# Urls
wine_native_url="https://github.com/Kron4ek/Wine-Builds/releases/download/7.0-5-proton/wine-7.0-5-proton-amd64.tar.xz"
-d2_stats_url="https://github.com/Kyromyr/D2Stats/releases/download/3.11.5/D2Stats-3.11.5.rar"
+d2_stats_url="https://github.com/Zahariel1942/D2Stats/releases/download/3.12.2/D2Stats_3.12.2.zip"
d2_sigma_loader_url="https://github.com/SyndromeDayna/diablo-2-median-xl-sigma-loader/releases/download/3/sigma-loader.exe"
# Wine
@@ -669,10 +669,10 @@ check_d2stats_install() {
rm -f -r "$D2_STATS_BIN_DIR"
mkdir -p "$D2_STATS_BIN_DIR"
cd "$D2_STATS_BIN_DIR" || exit 1
- local rar_file=d2-stats.rar
- curl -Lk "$d2_stats_url" -o "$rar_file"
- unrar x "$rar_file"
- rm "$rar_file"
+ local zip_file=d2-stats.zip
+ curl -Lk "$d2_stats_url" -o "$zip_file"
+ 7z x "$zip_file"
+ rm "$zip_file"
) &
if ! zenity_progress $! "Downloading D2Stats"; then
rm -f -r "$D2_STATS_BIN_DIR"
--
2.43.0