Guide: how to launch d2stats.exe under linux

Discuss Median XL!
syndrome
Prowler
18 | 0
Common Popularity Badge
Has a thread with over 10.000 views
A solution for "Failed too many times in a row. Check log for details. Closing D2Stats..." error.
May also help mac and windows users with same problem.
Download sigma loader
busting123
Destroyer
7 | 0
to be clear. game directory of medianxl right? coz im having a problem luanching it.
syndrome
Prowler
18 | 0
Common Popularity Badge
Has a thread with over 10.000 views
Loader should be placed into the directory which contains "Game.exe" "Diablo II.exe" and "d2exp.mpq" files. Could you post details about your problem here? So that i can help you solve this.
krosen
Skeleton
3 | 0
syndrome wrote:Loader should be placed into the directory which contains "Game.exe" "Diablo II.exe" and "d2exp.mpq" files. Could you post details about your problem here? So that i can help you solve this.

I've placed it right into D2 directory under wine, but the app crashes with 'Loader failed to launch game.exe'. Any ideas? Wine version: wine-4.20 (Staging)
syndrome
Prowler
18 | 0
Common Popularity Badge
Has a thread with over 10.000 views
This error message means that CreateProcess system call failed. I have updated the loader to display error codes. If you still have issues then download new version and test.
krosen
Skeleton
3 | 0
syndrome wrote:This error message means that CreateProcess system call failed. I have updated the loader to display error codes. If you still have issues then download new version and test.

Now I'm getting "Loader failed to launch game.exe (error code: 2) ". Seems that the app couldn't find the executable to launch. Btw, in CreateProcess function you have 'game.exe' (with the lower case). I've tried renaming the executable, but nevertheless can it be the problem?
syndrome
Prowler
18 | 0
Common Popularity Badge
Has a thread with over 10.000 views
Lower case cannot be the problem. Windows API is case insensitive. And Wine correctly implements this feature.

CreateProcess() is looking for "game.exe" in current working directory. In Windows it is usually set to the directory containing exe file. I suspect that in your case it is weirdly configured.

I have added a workaround for this issue. Download new version and test.
Edited by syndrome 5 years.
krosen
Skeleton
3 | 0
syndrome wrote:Lower case cannot be the problem. Windows API is case insensitive. And Wine correctly implements this feature.

CreateProcess() is looking for "game.exe" in current working directory. In Windows it is usually set to directory containing exe file. I suspect that in your case it is weirdly configured.

I have added a workaround for this issue. Download new version and test.

Thank you so much, it works just fine for me :)

P.S That was my silly mistake, I was launching the app without pointing current working directory to wine. In order to prevent this error, firstly you need to cd into game directory and then launch the app.
Keter
Bone Archer
70 | 3
1. Under wine i have notify like "-eth" "eth".
2. Dropfilter working only if i write "rare", "unique", but not "1 2 3 4 unique" or "Ring$|Amulet" rare

:(
syndrome
Prowler
18 | 0
Common Popularity Badge
Has a thread with over 10.000 views
Keter wrote:1. Under wine i have notify like "-eth" "eth".

Do you mean that your loot notifier does not work?