Skip to content

Instantly share code, notes, and snippets.

@prantlf
Forked from rodrigore/diablo2_instructions.md
Created December 18, 2020 01:19
Show Gist options
  • Save prantlf/c18be6844121d1a8ac940b0beea8a041 to your computer and use it in GitHub Desktop.
Save prantlf/c18be6844121d1a8ac940b0beea8a041 to your computer and use it in GitHub Desktop.
Diablo2 on Mac OSX El Capitan

Diablo II LoD on Mac OSX El Capitan

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:

Install Wine + Winetricks

  • Use Homebrew to install Wine and Winetricks:
$ brew install wine
$ brew install winetricks

Install Diablo II

  • Create a fresh Wine directory:
$ WINEARCH=win32 WINEPREFIX=~/.wine_d2 winecfg
  • Download Diablo II v1.12 and the v1.13c patch, and move them into the Wine directory:
$ 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

Install PlugY + EnjoySP

  • 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 the Mod 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

Install Path of Diablo

  • Copy your base D2 install:
$ ditto ~/.wine_d2 ~/.wine_d2pod
  • Install dotnet45:
$ WINEPREFIX=~/.wine_d2pod winetricks dotnet45
$ 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment