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

Need help installing the mod?
User avatar
SteelWings
Sasquatch
67 | 5
Great Popularity Badge
Has a thread with over 50.000 views
Installation without Launcher

If you're having trouble with Launcher you can install MXL Sigma without its use.
However, you will be missing out on some Launcher configuration options and this is an unofficial method of patching D2.

Download and install Diablo II
Use "Start with a fresh install" step of the guide for reference. viewtopic.php?t=4561

Download MXL Sigma files
Launcher downloads several archives from Median XL servers

http://get.median-xl.com/launcher/?get=dlls
download 2.x.x.dll.update file
rename 2.x.x.dll.update to 2.x.x.dll.7z file
extract 2.x.x.dll.7z file
--->
Fog.dll
D2Sigma.dll


http://get.median-xl.com/launcher/?get=mod
download 2.x.x.7z file
extract 2.x.x.7z file
--->
MXL.mpq

Copy files into Diablo 2 installation folder
copy Fog.dll, D2Sigma.dll, MXL.mpq files
paste and overwrite Fog.dll, D2Sigma.dll, MXL.mpq files into your Diablo 2 folder

If you use Windows you should be able to run Diablo 2 normally.

Running on Steam Deck

First, launch your Steam Deck in Desktop Mode.
Then Copy your Diablo 2 folder to your Steam Deck, there are many ways to do so, via you favourite SFTP transfer tool with SSH, like WinSCP (Win) or Transmit (Mac).

Second, add a Non-Steam game through Steam, point it to Diablo II.exe or Game.exe, add -3dfx as launch option, and then force compatibility with a Proton version, I've had success with Proton 8.0-2.

If you can't get this running read Running on Linux below.

Running on other Linux distros

If solution above doesn't work or you want to also install your game on your Linux machine you can use Lutris.
Lutris is a compatibility tool that wraps your Wine in isolated environments and is easier to tweak settings.

First, install Lutris via your package manager. Then follow all the instructions to installing a Windows game. Then, follow guide above and paste Median XL files in the folder where Lutris installs your game. Then you can launch the game, remembering to add launch argument of -3dfx.

Running on Mac (outdated)

Install brew.sh and wine
You need to install brew and wine to run Diablo 2.
See respective guides brew.sh and Installing Wine on Mac

This guide assumes you have Diablo extracted into your home folder.
In this example it's ~/D2


Open Terminal.app
cd ~/D2

For windowed mode
wine Diablo\ 2.exe -w

For fullscreen
wine Diablo\ 2.exe -3dfx


So far I haven't tested this on Mac 13.4 and above.

=================================================================================================

Common problems and solutions

I want to play windowed mode.
You can try using -w flag for windowed mode, though it's extremely buggy.
cd ~/D2
wine Diablo\ 2.exe -w


Diablo crashes with ACCESS VIOLATION (c0000005)
Make sure you're running in windowed mode (-w flag) or playing fullscreen (-3dfx flag). Check the Proton version you're using if following Steam Deck / Linux guide. Try different versions or Proton GE.

Generic bad character file when creating singleplayer character
Easy way is to login to The Sin War once, create a character and log in once. After that you can create characters offline.
If that doesn't work you can create missing folder structure. $WINEPREFIX is ~/.wine by default:
cd $WINEPREFIX
cd drive_c/users/<your_username>
mkdir -p "Application Data/MedianXL/save"


I have MacOS Ventura and nothing works
There is a solution by another application named CrossOver, which is similar to wine and wineskin. You will require CrossOver version 20+ to make this work, the process is similar:
1. Create a "bottle" - a virtual instance of a Windows machine wrapper.
2. Follow instructions above to install D2 LoD + MedianXL
3. Add a shortcut to Diablo II.exe file
4. Run it with -3dfx.

If you still can't get this working you might try paid apps like running a virtual Windows instance via Parallels.
Edited by SteelWings 1 year.
User avatar
suchbalance
Team Member
1759 | 513
Common Posting Badge
Posted over 1.000 messages
Legendary Popularity Badge
Has a thread with over 250.000 views
Legendary Love Badge
Earned over 500 cookies
Common Supporter Badge
Donated 1 time
Common Guide Badge
Created a complete character guide
Common Skill Badge
Experienced Player
Legendary Contribution Badge
Median XL Team Member
Great Mind Badge
A Median XL guru... a true book of knowledge
MacOS users, please post feedback here if this works for you.
User avatar
kambala
Djinn
514 | 89
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
alternative guide :)
1. download .dmg with already configured game: https://mega.nz/#!xdQDjSqR!7uRTpmdewMEj ... 5sJCg-Tl9Y
2. open the .dmg, copy the .app somewhere
3. run the copied .app
User avatar
MinuteMaidBerry
Skeleton
3 | 0
kambala wrote:alternative guide :)
1. download .dmg with already configured game: https://mega.nz/#!xdQDjSqR!7uRTpmdewMEj ... 5sJCg-Tl9Y
2. open the .dmg, copy the .app somewhere
3. run the copied .app


I seem to be having a problem downloading this through Mega. Just keeps giving a retry message both through the browser and program. (MacOS Mojave 10.14.2)
User avatar
kambala
Djinn
514 | 89
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
MinuteMaidBerry wrote:
kambala wrote:alternative guide :)
1. download .dmg with already configured game: https://mega.nz/#!xdQDjSqR!7uRTpmdewMEj ... 5sJCg-Tl9Y
2. open the .dmg, copy the .app somewhere
3. run the copied .app


I seem to be having a problem downloading this through Mega. Just keeps giving a retry message both through the browser and program. (MacOS Mojave 10.14.2)

that's strange, downloads just fine on my side on 10.13.6 through Chrome.

P.S. I can post instructions how to create the same with Wineskin if necessary.
User avatar
MinuteMaidBerry
Skeleton
3 | 0
kambala wrote:
MinuteMaidBerry wrote:
kambala wrote:alternative guide :)
1. download .dmg with already configured game: https://mega.nz/#!xdQDjSqR!7uRTpmdewMEj ... 5sJCg-Tl9Y
2. open the .dmg, copy the .app somewhere
3. run the copied .app


I seem to be having a problem downloading this through Mega. Just keeps giving a retry message both through the browser and program. (MacOS Mojave 10.14.2)

that's strange, downloads just fine on my side on 10.13.6 through Chrome.

P.S. I can post instructions how to create the same with Wineskin if necessary.


I managed to get the dmg by downloading it on my windows desktop and moving it over to my Air. I would be interested in the Wineskin instructions however just in case.

Edit: When opening the .app of the wineskin it opens but nothing comes up.
User avatar
kambala
Djinn
514 | 89
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
you could try switching to Mac video driver instead of the built-in x11, maybe that'd help. To do that, open package contents, run Wineskin.app - set screen options - use Mac driver.

Instructions how to build Wineskin package for your existing d2 directory:
1. download wineskin http://wineskin.urgesoftware.com/tiki-i ... =Downloads and run it
2. install the latest engine
3. create new blank wrapper, no need to install mono and gecko when asked
4. when finished, open package contents of the created .app (resides in ~/Applications/Wineskin) and run Wineskin.app
5. install software - copy or move a folder inside (w/e you prefer), choose game.exe when asked about the executable
6. then open advanced - configuration - exe flags - add -w
7. that's basically all. You can make a test run by pressing respective button
8. to run the game normally, simply open the .app that was created at step 4
User avatar
MinuteMaidBerry
Skeleton
3 | 0
kambala wrote:you could try switching to Mac video driver instead of the built-in x11, maybe that'd help. To do that, open package contents, run Wineskin.app - set screen options - use Mac driver.

Instructions how to build Wineskin package for your existing d2 directory:
1. download wineskin http://wineskin.urgesoftware.com/tiki-i ... =Downloads and run it
2. install the latest engine
3. create new blank wrapper, no need to install mono and gecko when asked
4. when finished, open package contents of the created .app (resides in ~/Applications/Wineskin) and run Wineskin.app
5. install software - copy or move a folder inside (w/e you prefer), choose game.exe when asked about the executable
6. then open advanced - configuration - exe flags - add -w
7. that's basically all. You can make a test run by pressing respective button
8. to run the game normally, simply open the .app that was created at step 4



Sadly changing the driver option did not do anything. Wineskin seems to be pretty outdated regardless with engines so I am going to stick with using the terminal to launch I suppose.
mploura
Destroyer
7 | 0
kambala wrote:alternative guide :)
1. download .dmg with already configured game: https://mega.nz/#!xdQDjSqR!7uRTpmdewMEj ... 5sJCg-Tl9Y
2. open the .dmg, copy the .app somewhere
3. run the copied .app


This worked flawlessly for me. Thank you kambala.
Is there a way to make it fullscreen? I tried the -3dfx flag but it didn't work (the ACCESS VIOLATION (c0000005) error appeared)
User avatar
kambala
Djinn
514 | 89
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
mploura wrote:
kambala wrote:alternative guide :)
1. download .dmg with already configured game: https://mega.nz/#!xdQDjSqR!7uRTpmdewMEj ... 5sJCg-Tl9Y
2. open the .dmg, copy the .app somewhere
3. run the copied .app


This worked flawlessly for me. Thank you kambala.
Is there a way to make it fullscreen? I tried the -3dfx flag but it didn't work (the ACCESS VIOLATION (c0000005) error appeared)

I haven't found how to do it