Skip to content

Instantly share code, notes, and snippets.

@whipowill
Last active June 8, 2025 12:39
Show Gist options
  • Select an option

  • Save whipowill/8f9a117895f2927cd6b52ccc611c8266 to your computer and use it in GitHub Desktop.

Select an option

Save whipowill/8f9a117895f2927cd6b52ccc611c8266 to your computer and use it in GitHub Desktop.

Revisions

  1. whipowill revised this gist May 23, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install_diablo2_on_mac.md
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,2 @@
    I've relocated this file to here:
    [https://github.com/whipowill/d2-plugy-qol/blob/master/Guides/MacOSX.md](https://github.com/whipowill/d2-plugy-qol/blob/master/Guides/Unix.md)
    https://github.com/whipowill/d2-plugy-qol/blob/master/Guides/Unix.md
  2. whipowill revised this gist May 23, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install_diablo2_on_mac.md
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,2 @@
    I've relocated this file to here:
    https://github.com/whipowill/d2-plugy-qol/blob/master/Guides/MacOSX.md
    [https://github.com/whipowill/d2-plugy-qol/blob/master/Guides/MacOSX.md](https://github.com/whipowill/d2-plugy-qol/blob/master/Guides/Unix.md)
  3. whipowill revised this gist Sep 14, 2020. 1 changed file with 2 additions and 103 deletions.
    105 changes: 2 additions & 103 deletions install_diablo2_on_mac.md
    Original file line number Diff line number Diff line change
    @@ -1,103 +1,2 @@
    # Install Diablo II on Mac OSX

    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](http://plugy.free.fr/en/index.html)

    ## Install Wine

    - Use [Homebrew](https://brew.sh/) to install Wine:

    ```bash
    $ brew install wine
    ```

    - If using Mac OSX Catalina then use this brew tap instead:

    ```bash
    $ sudo spctl --master-disable // to disable gatekeeper and prevent annoying security popups
    $ brew tap gcenx/wine
    $ brew cask install --no-quarantine wine-crossover
    ```

    ## Install Diablo II

    - Create a fresh Wine directory and choose WinXP:

    ```bash
    $ WINEARCH=win32 WINEPREFIX=~/.wine_d2 winecfg
    ```

    - Download [Diablo II](https://mega.nz/#!e9thyD6A!ExGJuZUtvRJ2c8DrxSL0ihCouh-ARbdVxODXIqVt3dc) and the [v1.13c](http://ftp.blizzard.com/pub/diablo2exp/patches/PC/LODPatch_113c.exe) or [v1.13d](http://ftp.blizzard.com/pub/diablo2exp/patches/PC/LODPatch_113d.exe) patch, and move them into the Wine directory:

    ```bash
    $ cd ~/.wine_d2/drive_c
    $ mkdir games
    $ cd games
    $ open .
    ```

    - Run the EXE files to install the game:

    ```bash
    $ 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](http://www.svenswrapper.de/english/files.html) for improved graphics (use the latest, it doesn't have to match your D2 version):

    ```bash
    $ 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:

    ```bash
    $ 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:

    ```bash
    $ d2
    ```

    ## Install PlugY

    - Copy your base D2 install:

    ```bash
    $ ditto ~/.wine_d2 ~/.wine_d2plugy
    ```

    - Download [PlugY](http://plugy.free.fr/en/index.html) and run the install:

    ```bash
    $ 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:

    ```bash
    $ 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:

    ```bash
    $ d2plugy
    ```
    I've relocated this file to here:
    https://github.com/whipowill/d2-plugy-qol/blob/master/Guides/MacOSX.md
  4. whipowill revised this gist Sep 3, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install_diablo2_on_mac.md
    Original file line number Diff line number Diff line change
    @@ -86,7 +86,7 @@ $ ditto ~/.wine_d2 ~/.wine_d2plugy
    ```bash
    $ cd ~/.wine_d2plugy/drive_c/games
    $ open .
    $ WINEPREFIX=~/.wine_d2plugy wine plugy.exe
    $ WINEPREFIX=~/.wine_d2plugy wine /your/path/to/plugy.exe
    ```

    - Make an alias to run the game from Terminal w/ a simple command:
  5. whipowill revised this gist Sep 1, 2020. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions install_diablo2_on_mac.md
    Original file line number Diff line number Diff line change
    @@ -43,9 +43,9 @@ $ open .
    - Run the EXE files to install the game:

    ```bash
    $ WINEPREFIX=~/.wine_d2 wine d2/installer.exe
    $ WINEPREFIX=~/.wine_d2 wine d2lod/installer.exe
    $ WINEPREFIX=~/.wine_d2 wine patch.exe
    $ 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](http://www.svenswrapper.de/english/files.html) for improved graphics (use the latest, it doesn't have to match your D2 version):
  6. whipowill revised this gist Sep 1, 2020. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions install_diablo2_on_mac.md
    Original file line number Diff line number Diff line change
    @@ -15,10 +15,10 @@ In this guide you'll end up with:
    $ brew install wine
    ```

    - If using Mac OSX Catalina, then use this brew tap instead:
    - If using Mac OSX Catalina then use this brew tap instead:

    ```bash
    $ sudo spctl --master-disable // to disable gatekeeper a prevent annoying security popups
    $ sudo spctl --master-disable // to disable gatekeeper and prevent annoying security popups
    $ brew tap gcenx/wine
    $ brew cask install --no-quarantine wine-crossover
    ```
  7. whipowill revised this gist Sep 1, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install_diablo2_on_mac.md
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ In this guide you'll end up with:

    ## Install Wine

    - Use [Homebrew](https://brew.sh/) to install Wine and Winetricks:
    - Use [Homebrew](https://brew.sh/) to install Wine:

    ```bash
    $ brew install wine
  8. whipowill revised this gist Sep 1, 2020. 1 changed file with 9 additions and 53 deletions.
    62 changes: 9 additions & 53 deletions install_diablo2_on_mac.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,3 @@
    It appears that as of October 2019 Wine [does not work at all](https://forum.winehq.org/viewtopic.php?f=9&t=32590) on Mac OSX Catalina. This is due to an inability of the OS to run 32-bit applications. In order for this document to work you'll have to get Wine working, and for that you'll have to [downgrade your machine](https://macpaw.com/how-to/downgrade-from-catalina) to Mojave and you'll have to manually install Wine via the [installer](https://dl.winehq.org/wine-builds/macosx/pool/winehq-stable-4.0.2.pkg) instead of using Homebrew. After you've successfully installed Wine you'll have to symlink the tools so they are available in your Terminal:

    ```
    sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/wine /usr/local/bin/wine
    sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/winecfg /usr/local/bin/winecfg
    sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/msiexec /usr/local/bin/msiexec
    ```

    # Install Diablo II on Mac OSX

    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.
    @@ -14,16 +6,21 @@ In this guide you'll end up with:

    - A version of the unadulterated game
    - A single-player install w/ [PlugY](http://plugy.free.fr/en/index.html)
    - A multi-player install w/ [Path of Diablo](https://pathofdiablo.com)

    ## Install Wine + Winetricks
    ## Install Wine

    - Use [Homebrew](https://brew.sh/) to install Wine and Winetricks:

    ```bash
    $ brew install xquartz
    $ brew install wine
    $ brew install winetricks
    ```

    - If using Mac OSX Catalina, then use this brew tap instead:

    ```bash
    $ sudo spctl --master-disable // to disable gatekeeper a prevent annoying security popups
    $ brew tap gcenx/wine
    $ brew cask install --no-quarantine wine-crossover
    ```

    ## Install Diablo II
    @@ -51,12 +48,6 @@ $ 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:

    ```bash
    $ WINEPREFIX=~/.wine_d2 wine regedit
    ```

    - Install the [glide wrapper](http://www.svenswrapper.de/english/files.html) for improved graphics (use the latest, it doesn't have to match your D2 version):

    ```bash
    @@ -109,39 +100,4 @@ $ vim .bashrc

    ```bash
    $ d2plugy
    ```

    ## Install Path of Diablo

    - Copy your base D2 install:

    ```bash
    $ ditto ~/.wine_d2 ~/.wine_d2pod
    ```

    - Install dotnet45:

    ```bash
    $ WINEPREFIX=~/.wine_d2pod winetricks dotnet45
    ```

    - Download the [Path of Diablo](https://pathofdiablo.com/p/) installation MSI file and run it:

    ```bash
    $ 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:

    ```bash
    $ 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:

    ```bash
    $ d2pod
    ```
  9. whipowill revised this gist Nov 18, 2019. 1 changed file with 9 additions and 0 deletions.
    9 changes: 9 additions & 0 deletions install_diablo2_on_mac.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,11 @@
    It appears that as of October 2019 Wine [does not work at all](https://forum.winehq.org/viewtopic.php?f=9&t=32590) on Mac OSX Catalina. This is due to an inability of the OS to run 32-bit applications. In order for this document to work you'll have to get Wine working, and for that you'll have to [downgrade your machine](https://macpaw.com/how-to/downgrade-from-catalina) to Mojave and you'll have to manually install Wine via the [installer](https://dl.winehq.org/wine-builds/macosx/pool/winehq-stable-4.0.2.pkg) instead of using Homebrew. After you've successfully installed Wine you'll have to symlink the tools so they are available in your Terminal:

    ```
    sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/wine /usr/local/bin/wine
    sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/winecfg /usr/local/bin/winecfg
    sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/msiexec /usr/local/bin/msiexec
    ```

    # Install Diablo II on Mac OSX

    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.
    @@ -13,6 +21,7 @@ In this guide you'll end up with:
    - Use [Homebrew](https://brew.sh/) to install Wine and Winetricks:

    ```bash
    $ brew install xquartz
    $ brew install wine
    $ brew install winetricks
    ```
  10. whipowill revised this gist Nov 3, 2019. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions install_diablo2_on_mac.md
    Original file line number Diff line number Diff line change
    @@ -19,7 +19,7 @@ $ brew install winetricks

    ## Install Diablo II

    - Create a fresh Wine directory:
    - Create a fresh Wine directory and choose WinXP:

    ```bash
    $ WINEARCH=win32 WINEPREFIX=~/.wine_d2 winecfg
    @@ -64,7 +64,7 @@ $ WINEPREFIX=~/.wine_d2 wine glide-init.exe

    ```bash
    $ vim .bashrc
    > alias d2="cd ~/.wine_d2/drive_c/games/diablo\ ii && chmod -R 777 . && WINEPREFIX=~/.wine_d2 wine game.exe -w -3dfx -nofixaspect"
    > 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:
    @@ -93,7 +93,7 @@ $ WINEPREFIX=~/.wine_d2plugy wine plugy.exe

    ```bash
    $ vim .bashrc
    > alias d2plugy="cd ~/.wine_d2plugy/drive_c/games/diablo\ ii/mod\ plugy && chmod -R 777 . && WINEPREFIX=~/.wine_d2plugy wine plugy.exe -w -3dfx -nofixaspect -direct -txt"
    > 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:
    @@ -128,7 +128,7 @@ $ WINEPREFIX=~/.wine_d2pod wine msiexec /i pod.msi

    ```bash
    $ vim .bashrc
    > alias d2pod="cd ~/.wine_d2pod/drive_c/games/diablo\ ii/path\ of\ diablo && chmod -R 777 . && WINEPREFIX=~/.wine_d2pod wine path\ of\ diablo\ launcher.exe"
    > 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:
  11. whipowill revised this gist Nov 1, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install_diablo2_on_mac.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ In this guide you'll end up with:

    - A version of the unadulterated game
    - A single-player install w/ [PlugY](http://plugy.free.fr/en/index.html)
    - A multi-player install w/ [Path of Diablo](https://pathofdiablo.com).
    - A multi-player install w/ [Path of Diablo](https://pathofdiablo.com)

    ## Install Wine + Winetricks

  12. whipowill revised this gist Nov 1, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install_diablo2_on_mac.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Diablo II LoD on Mac OSX El Capitan
    # Install Diablo II on Mac OSX

    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.

  13. whipowill created this gist Nov 1, 2019.
    138 changes: 138 additions & 0 deletions install_diablo2_on_mac.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,138 @@
    # 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:

    - A version of the unadulterated game
    - A single-player install w/ [PlugY](http://plugy.free.fr/en/index.html)
    - A multi-player install w/ [Path of Diablo](https://pathofdiablo.com).

    ## Install Wine + Winetricks

    - Use [Homebrew](https://brew.sh/) to install Wine and Winetricks:

    ```bash
    $ brew install wine
    $ brew install winetricks
    ```

    ## Install Diablo II

    - Create a fresh Wine directory:

    ```bash
    $ WINEARCH=win32 WINEPREFIX=~/.wine_d2 winecfg
    ```

    - Download [Diablo II](https://mega.nz/#!e9thyD6A!ExGJuZUtvRJ2c8DrxSL0ihCouh-ARbdVxODXIqVt3dc) and the [v1.13c](http://ftp.blizzard.com/pub/diablo2exp/patches/PC/LODPatch_113c.exe) or [v1.13d](http://ftp.blizzard.com/pub/diablo2exp/patches/PC/LODPatch_113d.exe) patch, and move them into the Wine directory:

    ```bash
    $ cd ~/.wine_d2/drive_c
    $ mkdir games
    $ cd games
    $ open .
    ```

    - Run the EXE files to install the game:

    ```bash
    $ 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:

    ```bash
    $ WINEPREFIX=~/.wine_d2 wine regedit
    ```

    - Install the [glide wrapper](http://www.svenswrapper.de/english/files.html) for improved graphics (use the latest, it doesn't have to match your D2 version):

    ```bash
    $ 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:

    ```bash
    $ vim .bashrc
    > alias d2="cd ~/.wine_d2/drive_c/games/diablo\ ii && chmod -R 777 . && WINEPREFIX=~/.wine_d2 wine game.exe -w -3dfx -nofixaspect"
    ```

    - Reload your Terminal and play the game:

    ```bash
    $ d2
    ```

    ## Install PlugY

    - Copy your base D2 install:

    ```bash
    $ ditto ~/.wine_d2 ~/.wine_d2plugy
    ```

    - Download [PlugY](http://plugy.free.fr/en/index.html) and run the install:

    ```bash
    $ cd ~/.wine_d2plugy/drive_c/games
    $ open .
    $ WINEPREFIX=~/.wine_d2plugy wine plugy.exe
    ```

    - Make an alias to run the game from Terminal w/ a simple command:

    ```bash
    $ vim .bashrc
    > alias d2plugy="cd ~/.wine_d2plugy/drive_c/games/diablo\ ii/mod\ plugy && chmod -R 777 . && WINEPREFIX=~/.wine_d2plugy wine plugy.exe -w -3dfx -nofixaspect -direct -txt"
    ```

    - Reload your Terminal and play the game:

    ```bash
    $ d2plugy
    ```

    ## Install Path of Diablo

    - Copy your base D2 install:

    ```bash
    $ ditto ~/.wine_d2 ~/.wine_d2pod
    ```

    - Install dotnet45:

    ```bash
    $ WINEPREFIX=~/.wine_d2pod winetricks dotnet45
    ```

    - Download the [Path of Diablo](https://pathofdiablo.com/p/) installation MSI file and run it:

    ```bash
    $ 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:

    ```bash
    $ vim .bashrc
    > alias d2pod="cd ~/.wine_d2pod/drive_c/games/diablo\ ii/path\ of\ diablo && chmod -R 777 . && WINEPREFIX=~/.wine_d2pod wine path\ of\ diablo\ launcher.exe"
    ```

    - Reload your Terminal and play the game:

    ```bash
    $ d2pod
    ```