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 + EnjoySP
- A multi-player install w/ Path of Diablo.
- Use Homebrew to install Wine and Winetricks:
$ brew install wine
$ brew install winetricks
- Create a fresh Wine directory:
$ 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 d2/installer.exe
$ WINEPREFIX=~/.wine_d2 wine d2lod/installer.exe
$ WINEPREFIX=~/.wine_d2 wine patch.exe
- If you have problems with registry entries, run regedit to find and remove them:
$ WINEPREFIX=~/.wine_d2 wine regedit
- 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 plugy.exe
- Download EnjoySP and drop the
data
folder inside theMod PlugY
folder:
$ cd ~/.wine_d2plugy/drive_c/games/diablo\ ii
$ open .
- 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
- Copy your base D2 install:
$ ditto ~/.wine_d2 ~/.wine_d2pod
- Install dotnet45:
$ WINEPREFIX=~/.wine_d2pod winetricks dotnet45
- Download the Path of Diablo installation MSI file and run it:
$ cd ~/.wine_d2pod/drive_c/games
$ open .
$ WINEPREFIX=~/.wine_d2pod wine msiexec /i pod.msi
- Make an alias to run the game from Terminal w/ a simple command:
$ vim .bashrc
> alias d2pod="cd ~/.wine_d2pod/drive_c/games/diablo\ ii/path\ of\ diablo && WINEPREFIX=~/.wine_d2pod wine path\ of\ diablo\ launcher.exe"
- Reload your Terminal and play the game:
$ d2pod