Mac: Difference between revisions

From Path of Diablo Wiki
major rewrite with instructions for m1
No edit summary
Line 10: Line 10:
0. I suggest removing your previously installed wine, winetricks, xquartz
0. I suggest removing your previously installed wine, winetricks, xquartz


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>
1. Open a Terminal and install Brew using the following command: <code><nowiki>/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"</nowiki></code>


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


3. Next, type the following command: <nowiki>brew install --no-quarantine wine-crossover --cask</nowiki>
3. Next, type the following command: <code><nowiki>brew install --no-quarantine wine-crossover --cask</nowiki></code>


4. Next we need to install winetricks using the following command: <nowiki>brew install winetricks</nowiki>
4. Next we need to install winetricks using the following command: <code><nowiki>brew install winetricks</nowiki></code>


5. Next we need to add support for .NET using the following command: <nowiki>winetricks -q dotnet46</nowiki>
5. Next we need to add support for .NET using the following command: <code><nowiki>winetricks -q dotnet46</nowiki></code>


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


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.
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.
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>
9. In a Terminal, type the following command: <code><nowiki>wine explorer</nowiki></code>


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.
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.
Line 42: Line 42:
'''Errors''':
'''Errors''':


''Error: No developer tools installed'' : In a terminal type the following command: <nowiki>xcode-select --install</nowiki>
''Error: No developer tools installed'' : In a terminal type the following command: <code><nowiki>xcode-select --install</nowiki></code>
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.
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.
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.
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.