Median XL without Launcher + Steam Deck/Linux/MacOS guide

Need help installing the mod?
User avatar
kambala
Djinn
509 | 87
Legendary Popularity Badge
Has a thread with over 250.000 views
Common Love Badge
Earned over 20 cookies
Common Guide Badge
Created a complete character guide
Great Contribution Badge
Is an active collaborator / developer
a simple bash script to automate mod update, requires 7z (p7zip) to be in PATH

Code: Select all

#!/usr/bin/env bash

if [ -z "$1" ]; then
  echo "provide output path"
  exit 1
fi

tempFile=$(mktemp)
for part in dlls mod; do
  echo "downloading $part"
  curl -L -o "$tempFile" "http://get.median-xl.com/launcher/?get=$part"
  7z x -y -o"$1" "$tempFile"
  rm -f "$tempFile"
done
Arionic
Abomination
147 | 1
Common Popularity Badge
Has a thread with over 10.000 views
Legendary Supporter Badge
Donated 25 times
Just a heads up for mac users. Wine does not work on Catalina, so if you upgrade to catalina you are screwed.
PancakeXemnasXL
Skeleton
2 | 0
Tried to use this method but i got halted as soon as i play single player.

Location: , line #206
Expression: Unrecoverable internal error 6f859c30

i'm playing in my laptop btw, not macos but windows 10
User avatar
SteelWings
Sasquatch
67 | 5
Great Popularity Badge
Has a thread with over 50.000 views
Hello, friends. It's ya boy, back with some sad news.

I've updated main post to reflect them, but just to re-iterate:

SteelWings wrote:Thanks to Apple ruining 32-bit application support on MacOS Catalina it is no longer possible to run wine. There is a solution by another application named CrossOver, which is similar to wine and wineskin. However, with CrossOver you are only able to play Diablo 2 without MedianXL. Patching Diablo by methods above breaks the game launcher and it is not possible to run Diablo 2 + MedianXL Sigma even on Crossover.
If anyone has older versions of Sigma (Fog.dll, D2Sigma.dll and MXL.mpq files) I'd like to have them to see if it's possible to run an older version in Crossover


Please reach out if you have older files, maybe us, MacOS users, can at least play offline with an older MedianXL Sigma (no promises).
Here's the error log, maybe anyone has an idea what's missing:

Command:
/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/bin/wineloader32on64 winewrapper.exe --new-console --workdir /Users/steelwings/Library/Application Support/CrossOver/Bottles/DiabloII/drive_c/Program Files/Diablo II --start -- /Users/steelwings/Library/Application Support/CrossOver/Bottles/DiabloII/drive_c/Program Files/Diablo II/Diablo II.exe
001d:err:plugplay:process_IOService_Device object 0x6103
001d:err:plugplay:process_IOService_Device object 0x6307
001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x630b
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0027:fixme:process:SetProcessDEPPolicy (0): stub
0027:fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for 00000005
0027:err:dbghelp_stabs:stabs_parse Unknown stab type 0x0a
0027:err:dbghelp_stabs:stabs_parse Unknown stab type 0x0a
0027:err:dbghelp_stabs:stabs_parse Unknown stab type 0x0a
User avatar
kambala
Djinn
509 | 87
Legendary Popularity Badge
Has a thread with over 250.000 views
Common Love Badge
Earned over 20 cookies
Common Guide Badge
Created a complete character guide
Great Contribution Badge
Is an active collaborator / developer
sounds quite strange that you can run plain d2 but not sigma, but might be D2Sigma.dll related

- not clear what does it have to do with USB (from the log)
- try launching game.exe instead of Diablo II.exe
- all older files could be downloaded from REST API. http://get.median-xl.com/launcher/?get=versions to see available versions, http://get.median-xl.com/launcher/?get=dlls to download DLLs, http://get.median-xl.com/launcher/?get=mod to download MPQ (also see my bash script above). Example: http://get.median-xl.com/launcher/?get= ... sion=1.4.0
User avatar
SteelWings
Sasquatch
67 | 5
Great Popularity Badge
Has a thread with over 50.000 views
kambala wrote:sounds quite strange that you can run plain d2 but not sigma, but might be D2Sigma.dll related

- not clear what does it have to do with USB (from the log)
- try launching game.exe instead of Diablo II.exe
- all older files could be downloaded from REST API. http://get.median-xl.com/launcher/?get=versions to see available versions, http://get.median-xl.com/launcher/?get=dlls to download DLLs, http://get.median-xl.com/launcher/?get=mod to download MPQ (also see my bash script above). Example: http://get.median-xl.com/launcher/?get= ... sion=1.4.0


Thanks, I've managed to download and try version 1.3.2 which definitely worked before Catalina and it's failing with the same error.

I have also tried (unsuccessfully) running different versions of wine wrappers, including Windows XP, 7, 8 and 10 to no avail.

Checking the log it seems that this USB error has nothing to do with the application since it happens with classic 1.13c LOD and it manages to run fine, here's the log of a D2 without Sigma:

Exec-ing '"/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/bin/wine" --bottle "D2" --check --wait-children --start "C:/users/crossover/Start Menu/Game.lnk" --cx-log - -w'
001d:err:plugplay:process_IOService_Device object 0x9d03
001d:err:plugplay:process_IOService_Device object 0x6107
001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x610b
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00004100


Things I've tried so far:
Running wine wrapper in Win XP, 7, 8 and 10 modes.
Running both Diablo II.exe and Game.exe
Running sigma-loader.exe (that's supposed to be used with D2stats)
Running with -w and/or -3dfx flags
Running previous Sigma versions, starting from 1.3.0
User avatar
kambala
Djinn
509 | 87
Legendary Popularity Badge
Has a thread with over 250.000 views
Common Love Badge
Earned over 20 cookies
Common Guide Badge
Created a complete character guide
Great Contribution Badge
Is an active collaborator / developer
SteelWings wrote:...

I think would be useful to try a mod without DLLs (e.g. MXL 2012 005) to find the root cause
User avatar
SteelWings
Sasquatch
67 | 5
Great Popularity Badge
Has a thread with over 50.000 views
kambala wrote:
SteelWings wrote:...

I think would be useful to try a mod without DLLs (e.g. MXL 2012 005) to find the root cause


Yeah I though the case wasn't with Sigma itself (since the version previously worked), so I experimented with upgrading CrossOver and voilá - with CrossOver version 20 I am now able to play my favourite mod :D

Now I don't have any characters when logging in to TSW, not sure if it's due to season reset or general cleanup, but that sucks hard :cry:

Anyway, I'll be updating the guide to leave a tip for us two (maybe even one, just me) MacOS Catalina MedianXL players.
Cheno
Heretic
434 | 23
Common Love Badge
Earned over 20 cookies
Great Supporter Badge
Donated 5 times
SteelWings wrote:
Now I don't have any characters when logging in to TSW, not sure if it's due to season reset or general cleanup, but that sucks hard :cry:

Characters are deleted after a certain time period, if left unused. I don't remember the exact amount of time but in retail D2 it was something like 90 days of inactivity.
User avatar
SteelWings
Sasquatch
67 | 5
Great Popularity Badge
Has a thread with over 50.000 views
Cheno wrote:
SteelWings wrote:
Now I don't have any characters when logging in to TSW, not sure if it's due to season reset or general cleanup, but that sucks hard :cry:

Characters are deleted after a certain time period, if left unused. I don't remember the exact amount of time but in retail D2 it was something like 90 days of inactivity.


That's disappointing, considering time I've spend leveling my character and collecting uberquest things.
Thanks anyway!