Difference between revisions of "Mac"

From Path of Diablo Wiki
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 13: Line 13:
 
2. Once brew has installed successfully, type the following command: <code><nowiki>brew tap gcenx/wine</nowiki></code>
 
2. Once brew has installed successfully, type the following command: <code><nowiki>brew tap gcenx/wine</nowiki></code>
  
3. Next, type the following command: <code><nowiki>brew install --no-quarantine wine-crossover --cask</nowiki></code>
+
3. Next, type the following command: <code><nowiki>brew install --cask gcenx/wine/wine-crossover</nowiki></code>
  
 
4. Next we need to install winetricks using the following command: <code><nowiki>brew install winetricks</nowiki></code>
 
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: <code><nowiki>winetricks -q dotnet46</nowiki></code>
+
5. Finally we need to configure wine: <code><nowiki>wineboot -u</nowiki></code>
  
6. Finally we need to configure Brew as 32-bit with the following command: <code><nowiki>WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg</nowiki></code>
+
6. Launch into Wine (windows environment). This should open a windows-like folder explorer: <code><nowiki>wine explorer</nowiki></code>
  
7. If all is successful then we can begin installing the base the game. Visit [https://battle.net 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 [https://battle.net battle.net] and login. You can then download the Windows digital copy under your account and see your digital key for Diablo II, both are under Account Settings then Games & Subscriptions.
  
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 (like Mac's Downloads folder) 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: <code><nowiki>wine explorer</nowiki></code>
+
9. In a Terminal, type the following command: <code><nowiki>wine explorer</nowiki></code>. In Wine Explorer you can navigate what looks like a Windows environment.
  
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. Navigate to the location you downloaded the Diablo II Downloader and launch the app. If you downloaded the files into your Mac's Download folder then in Wine you can type ''Downloads'' in the location bar at the top & hit enter. Once you open the D2 Downloader, it will ask you where you want to download the Installer. Pick any location in the C drive begin the download (this only downloads the game installer not the game itself so location is unimportant yet).
  
 
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.
 
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.
Line 33: Line 33:
 
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'''.
 
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).
+
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.
+
14. Open the ''Path of Diablo Launcher.exe'' appm it will 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.
+
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: ===
 
=== Errors: ===
 +
 +
<span style="color: red">WINEARCH set to win32 but is a 64-bit installation</span>: On step 6 if you get this error, try nonetheless to run <code>wine explorer</code>. If it opens up Wine (looks like old Windows Folder) successfully then continue the guide by moving onto Step 7. <span style="color: darkgrey">(If Wine Explorer does not open then no solution yet DM @GreenDude on our Discord and help me help you troubleshoot it)</span>
  
 
<span style="color: red">Error: No developer tools installed</span>: In a terminal type the following command: <code><nowiki>xcode-select --install</nowiki></code>
 
<span style="color: red">Error: No developer tools installed</span>: In a terminal type the following command: <code><nowiki>xcode-select --install</nowiki></code>
Line 48: Line 50:
  
 
<span style="color: red">Game opens to a black screen (when on Glide -3dfx mode)</span>: Click the cogwheel next to -3dfx option to open glide settings. In Extensions uncheck 'GL_EXT_vertex_array' then save and exit.
 
<span style="color: red">Game opens to a black screen (when on Glide -3dfx mode)</span>: Click the cogwheel next to -3dfx option to open glide settings. In Extensions uncheck 'GL_EXT_vertex_array' then save and exit.
 +
 +
 +
----
 +
 +
Untested - Porting Kit method
 +
 +
Install porting kit
 +
Add Custom Port, select your diablo 2 install exe as Installer Source (if this hangs you can just install steam then come back to install diablo 2 in step 4 before LOD)
 +
Use default engine (WS11WineCX21.2.0 for me), Windows 10, Mac Driver
 +
In the Custom Port settings under "More", use Install Patch/Mod to install LOD, then the dotnet 6.0 x86 runtime
 +
In the custom port settings click Open C:/ and copy and paste Path Of Diablo Launcher.exe into C:/Diablo II/Path of Diablo/
 +
Set launch path in More, Launch Wineskin App, Advanced to "C:/Diablo II/Path of Diablo/Path Of Diablo Launcher.exe" - either Browse to POD folder or manually type it in
 +
Alternatively, set the path in properties
 +
Click play to start launcher and it will update itself. If it hangs, go to More, Force Close, and try update again

Latest revision as of 02:01, 18 November 2024

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 --cask gcenx/wine/wine-crossover

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

5. Finally we need to configure wine: wineboot -u

6. Launch into Wine (windows environment). This should open a windows-like folder explorer: wine explorer

7. If all is successful then we can begin installing the base the game. Visit battle.net and login. You can then download the Windows digital copy under your account and see your digital key for Diablo II, both are under Account Settings then Games & Subscriptions.

8. Download the Windows version of Diablo II and Diablo II Lord of Destruction expansion Downloaders (English versions) somewhere (like Mac's Downloads folder) 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. In Wine Explorer you can navigate what looks like a Windows environment.

10. Navigate to the location you downloaded the Diablo II Downloader and launch the app. If you downloaded the files into your Mac's Download folder then in Wine you can type Downloads in the location bar at the top & hit enter. Once you open the D2 Downloader, it will ask you where you want to download the Installer. Pick any location in the C drive begin the download (this only downloads the game installer not the game itself so location is unimportant yet).

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 appm it will 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:

WINEARCH set to win32 but is a 64-bit installation: On step 6 if you get this error, try nonetheless to run wine explorer. If it opens up Wine (looks like old Windows Folder) successfully then continue the guide by moving onto Step 7. (If Wine Explorer does not open then no solution yet DM @GreenDude on our Discord and help me help you troubleshoot it)

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 it 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.

Game opens to a black screen (when on Glide -3dfx mode): Click the cogwheel next to -3dfx option to open glide settings. In Extensions uncheck 'GL_EXT_vertex_array' then save and exit.



Untested - Porting Kit method

Install porting kit Add Custom Port, select your diablo 2 install exe as Installer Source (if this hangs you can just install steam then come back to install diablo 2 in step 4 before LOD) Use default engine (WS11WineCX21.2.0 for me), Windows 10, Mac Driver In the Custom Port settings under "More", use Install Patch/Mod to install LOD, then the dotnet 6.0 x86 runtime In the custom port settings click Open C:/ and copy and paste Path Of Diablo Launcher.exe into C:/Diablo II/Path of Diablo/ Set launch path in More, Launch Wineskin App, Advanced to "C:/Diablo II/Path of Diablo/Path Of Diablo Launcher.exe" - either Browse to POD folder or manually type it in Alternatively, set the path in properties Click play to start launcher and it will update itself. If it hangs, go to More, Force Close, and try update again