Difference between revisions of "Mac"

From Path of Diablo Wiki
Jump to: navigation, search
(major rewrite with instructions for m1)
Line 4: Line 4:
 
== Unofficial Guide - How to play Path of Diablo on Mac ==
 
== Unofficial Guide - How to play Path of Diablo on Mac ==
  
 +
The following instructions have been tested on older Intel Macs and the Macbook Air M1.
  
Instructions:
+
'''Instructions''':
  
0. I suggest to remove your previously installed wine, winetricks, xquartz
+
0. I suggest removing your previously installed wine, winetricks, xquartz
  
1. Run the install script in the repo: https://github.com/BaReinhard/pod-installer-utils bash install.sh
+
1. Open a Terminal and install Brew using the following command: <nowiki>/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"</nowiki>
  
2. Run wine explorer
+
2. Once brew has installed successfully, type the following command: <nowiki>brew tap gcenx/wine</nowiki>
  
3. Download the English version of Diablo II and Diablo II:LOD Digital Download, WINDOWS EDITION from battle.net website. Buy it if you don't already own it in your account. (DO NOT GET MAC EDITION)
+
3. Next, type the following command: <nowiki>brew install --no-quarantine wine-crossover --cask</nowiki>
  
4. Download the Path of Diablo Launcher installation file: https://pathofdiablo.com/wiki/index.php?title=Download
+
4. Next we need to install winetricks using the following command: <nowiki>brew install winetricks</nowiki>
  
5. Use wine to run the PoD Launcher installer. Select your Diablo II installation folder before clicking next during installation. This step is crucial.
+
5. Next we need to add support for .NET using the following command: <nowiki>winetricks -q dotnet46</nowiki>
  
6. To play use wine explorer to navigate to your Path of Diablo Launcher and run it.
+
6. Finally we need to configure Brew as 32-bit with the following command: <nowiki>WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg</nowiki>
  
 +
7. If all is successful then we can begin installing the base the game. Visit www.battle.net and login. You can then download the Windows digital copy under your account and see your digital key for Diablo II.
  
For questions DM BaReinhard#8547 on Discord.
+
8. Download the Windows version of Diablo II and Diablo II Lord of Destruction expansion Downloaders (English versions) somewhere and take note of the location. Do not download the Mac version as it won't work.
 +
 
 +
9. In a Terminal, type the following command: <nowiki>wine explorer</nowiki>
 +
 
 +
10. In Wine Explorer you can navigate what looks like a Windows environment. Navigate to the location you downloaded the Diablo II Downloader and launch the app. It will ask you where you want to download the Installer. Pick a location and begin the download.
 +
 
 +
11. Once the download is done, you can proceed with the installation of the base game (classic). I recommend installing it Program Files x86 or straight in your root C: folder of the windows environment. Once that's done, launch the Expansion downloader and go through that installation.
 +
 
 +
12. Now that you have both Diablo II and Lord of Destruction installed, [[Download]] Path of Diablo and open the installation file from within Wine Explorer. When the PoD installation program starts up, make sure to select your Diablo II installation path before clicking next. This step is crucial.
 +
 
 +
13. If done correctly, you have now installed Path of Diablo in your Diablo II installation. So navigate to this location in Wine Explorer (usually at C:\Program Files(x86)\Diablo II\Path of Diablo or wherever you installed them).
 +
 
 +
14. Open the Path of Diablo Launcher.exe app and download all the necessary updates. Once the updating process is done and it is ready to play, select a video mode that is compatible with Wine. D2GL is recommended. Glide and GDI work. Ddraw seems incompatible.
 +
 
 +
15. Each time you want to play Path of Diablo, just open Wine Explorer and navigate to the Path of Diablo Launcher.exe and click Play. You can also create a simple bash script and place it on the dock to launch into Wine Explorer quickly.
 +
 
 +
'''Errors''':
 +
 
 +
''Error: No developer tools installed'' : In a terminal type the following command: <nowiki>xcode-select --install</nowiki>
 +
It will warn you that it needs to download over 15gigs but in reality you will likely be a lot less once it checks what files you already have and which ones it needs to update. In one such case, it was only missing 1.5GBs so his download was done in 5 minutes.
 +
You may need to use the "brew doctor" command after installing xcode but it might clean itself up automatically afterwards. Do it regardless. Once done, go back to Step #4 and continue without error.
 +
 
 +
Stuck on ''This will hang until all wine processes in prefix=/Users/XYZ/ .wine terminate'' : Close all open Terminals and close Wine Explorer (or reboot pc). Once there is no wine related processes open, you can go back to Step #5 and continue without error.

Revision as of 23:22, 23 July 2023

While Mac and Linux are not officially supported, they do work.


Unofficial Guide - How to play Path of Diablo on Mac

The following instructions have been tested on older Intel Macs and the Macbook Air M1.

Instructions:

0. I suggest removing your previously installed wine, winetricks, xquartz

1. Open a Terminal and install Brew using the following command: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

2. Once brew has installed successfully, type the following command: brew tap gcenx/wine

3. Next, type the following command: brew install --no-quarantine wine-crossover --cask

4. Next we need to install winetricks using the following command: brew install winetricks

5. Next we need to add support for .NET using the following command: winetricks -q dotnet46

6. Finally we need to configure Brew as 32-bit with the following command: WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg

7. If all is successful then we can begin installing the base the game. Visit www.battle.net and login. You can then download the Windows digital copy under your account and see your digital key for Diablo II.

8. Download the Windows version of Diablo II and Diablo II Lord of Destruction expansion Downloaders (English versions) somewhere and take note of the location. Do not download the Mac version as it won't work.

9. In a Terminal, type the following command: wine explorer

10. In Wine Explorer you can navigate what looks like a Windows environment. Navigate to the location you downloaded the Diablo II Downloader and launch the app. It will ask you where you want to download the Installer. Pick a location and begin the download.

11. Once the download is done, you can proceed with the installation of the base game (classic). I recommend installing it Program Files x86 or straight in your root C: folder of the windows environment. Once that's done, launch the Expansion downloader and go through that installation.

12. Now that you have both Diablo II and Lord of Destruction installed, Download Path of Diablo and open the installation file from within Wine Explorer. When the PoD installation program starts up, make sure to select your Diablo II installation path before clicking next. This step is crucial.

13. If done correctly, you have now installed Path of Diablo in your Diablo II installation. So navigate to this location in Wine Explorer (usually at C:\Program Files(x86)\Diablo II\Path of Diablo or wherever you installed them).

14. Open the Path of Diablo Launcher.exe app and download all the necessary updates. Once the updating process is done and it is ready to play, select a video mode that is compatible with Wine. D2GL is recommended. Glide and GDI work. Ddraw seems incompatible.

15. Each time you want to play Path of Diablo, just open Wine Explorer and navigate to the Path of Diablo Launcher.exe and click Play. You can also create a simple bash script and place it on the dock to launch into Wine Explorer quickly.

Errors:

Error: No developer tools installed : In a terminal type the following command: xcode-select --install It will warn you that it needs to download over 15gigs but in reality you will likely be a lot less once it checks what files you already have and which ones it needs to update. In one such case, it was only missing 1.5GBs so his download was done in 5 minutes. You may need to use the "brew doctor" command after installing xcode but it might clean itself up automatically afterwards. Do it regardless. Once done, go back to Step #4 and continue without error.

Stuck on This will hang until all wine processes in prefix=/Users/XYZ/ .wine terminate : Close all open Terminals and close Wine Explorer (or reboot pc). Once there is no wine related processes open, you can go back to Step #5 and continue without error.