These are the instructions for using Terminal to install the Windows version of the game onto your machine. You can then easily copy the game multiple times for different mods you might want to play.
In this guide you'll end up with:
- A version of the unadulterated game
- A single-player install w/ PlugY
- Use Homebrew to install Wine:
$ brew install wine
- If using Mac OSX Catalina then use this brew tap instead:
$ sudo spctl --master-disable // to disable gatekeeper and prevent annoying security popups
$ brew tap gcenx/wine
$ brew cask install --no-quarantine wine-crossover
- Create a fresh Wine directory and choose WinXP:
$ WINEARCH=win32 WINEPREFIX=~/.wine_d2 winecfg
$ cd ~/.wine_d2/drive_c
$ mkdir games
$ cd games
$ open .
- Run the EXE files to install the game:
$ WINEPREFIX=~/.wine_d2 wine /your/path/to/d2/installer.exe
$ WINEPREFIX=~/.wine_d2 wine /your/path/to/d2lod/installer.exe
$ WINEPREFIX=~/.wine_d2 wine /your/path/to/patch.exe
- Install the glide wrapper for improved graphics (use the latest, it doesn't have to match your D2 version):
$ cd ~/.wine_d2/drive_c/games/diablo\ ii
$ WINEPREFIX=~/.wine_d2 wine glide-init.exe
- Switch to English
- Turn off all settings options except "desktop resolution"
- Turn off all rendering options except "no gamma"
- Turn off all extensions options except "MGL_EXT_swap_control" (this prevents mouse lag)
- Make an alias to run the game from Terminal w/ a simple command:
$ vim .bashrc
> alias d2="cd ~/.wine_d2/drive_c/games/diablo\ ii && WINEPREFIX=~/.wine_d2 wine game.exe -w -3dfx -nofixaspect"
- Reload your Terminal and play the game:
$ d2
- Copy your base D2 install:
$ ditto ~/.wine_d2 ~/.wine_d2plugy
- Download PlugY and run the install:
$ cd ~/.wine_d2plugy/drive_c/games
$ open .
$ WINEPREFIX=~/.wine_d2plugy wine /your/path/to/plugy.exe
- Make an alias to run the game from Terminal w/ a simple command:
$ vim .bashrc
> alias d2plugy="cd ~/.wine_d2plugy/drive_c/games/diablo\ ii/mod\ plugy && WINEPREFIX=~/.wine_d2plugy wine plugy.exe -w -3dfx -nofixaspect -direct -txt"
- Reload your Terminal and play the game:
$ d2plugy