Difference between revisions of "Linux"

From Path of Diablo Wiki
Jump to: navigation, search
Line 25: Line 25:
 
# [[File:Ubuntu.png|30px|Ubuntu]] <code><nowiki>sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key</nowiki></code>
 
# [[File:Ubuntu.png|30px|Ubuntu]] <code><nowiki>sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key</nowiki></code>
 
3. Install Wine (8.0.2+) & Winetricks
 
3. Install Wine (8.0.2+) & Winetricks
* [[File:Ubuntu.png|30px|Ubuntu]][[File:Mint.png|30px|Mint]] <code>sudo apt install winehq-stable winetricks</code>
+
* [[File:Ubuntu.png|30px|Ubuntu]] <code>sudo apt install winehq-stable winetricks</code>
 +
* [[File:Mint.png|30px|Mint]] <code>sudo apt install --install-recommends winehq-staging -yy</code>
 
* [[File:Arch.png|30px|Arch Distros]] <code>pacman -Syu wine winetricks</code>
 
* [[File:Arch.png|30px|Arch Distros]] <code>pacman -Syu wine winetricks</code>
 
4. Install Zenity
 
4. Install Zenity

Revision as of 22:57, 10 February 2024

Linux Distributions

While not officially supported, Linux and Mac do work.

Attempts to install Path of Diablo:

  • Debian Distros
    • Ubuntu Ubuntu 22.04.3 LTS (jammy) Yes.png
      • Mint Mint (?) Yes.png
    • Raspberry Pi 4 No.png
  • Arch Distros
    • Manjaro Manjaro Stable 23.1.2 Yes.png

If you have a distro not listed here, please share your installation attempt results with @GreenDude on Discord

Install Instructions

1. Open Terminal as a regular user, not Root. Do not use sudo su!.

2. Prep Work

  • Debian Distros sudo dpkg --add-architecture i386
  1. Ubuntu sudo add-apt-repository universe
  2. Ubuntu sudo apt update
  3. Ubuntu sudo apt full-upgrade
  4. Ubuntu sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
  5. Ubuntu sudo apt upgrade
  6. Ubuntu sudo mkdir -pm755 /etc/apt/keyrings
  7. Ubuntu sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

3. Install Wine (8.0.2+) & Winetricks

  • Ubuntu sudo apt install winehq-stable winetricks
  • Mint sudo apt install --install-recommends winehq-staging -yy
  • Arch Distros pacman -Syu wine winetricks

4. Install Zenity

  • Ubuntu sudo apt-get install zenity
  • Arch Distros pacman -Syu zenity

5. Install .NET Framework 4.8

  • All Linux Distros WINEPREFIX="$HOME/prefix32" WINEARCH=win32 winetricks --force dotnet48
  • All Linux Distros When prompted by Wine to install Mono choose Yes and proceed with the install.
  • All Linux Distros When prompted by Wine to install Gecko choose Yes and proceed with install.

6. Download D2 Classic Downloader

  1. All Linux Distros URL="https://downloader.battle.net/download/getLegacy?os=win&locale=enUS&product=D2DV&id=e07efddd-791e-4747-a164-05d7e9c4bf2d"; wget "$URL"
  2. All Linux Distros mv 'getLegacy?os=win&locale=enUS&product=D2DV&id=e07efddd-791e-4747-a164-05d7e9c4bf2d' Downloader_Diablo2_enUS.exe

7. Download D2 LoD Downloader

  1. All Linux Distros URL="https://downloader.battle.net/download/getLegacy?os=win&locale=enUS&product=D2XP&id=e07efddd-791e-4747-a164-05d7e9c4bf2d"; wget "$URL"
  2. All Linux Distros mv 'getLegacy?os=win&locale=enUS&product=D2XP&id=e07efddd-791e-4747-a164-05d7e9c4bf2d' Downloader_Diablo2_Lord_of_Destruction_enUS.exe

8. Run D2 Classic Downloader

  1. All Linux Distros WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine Downloader_Diablo2_enUS.exe
  2. All Linux Distros Close any errors or popups until you see a menu to select the folder where the game will be downloaded. (Optional)We recommend to select the emulated C drive like MyComputer -> C\Program Files. The Classic Installer will automatically launch when the download completes.
  3. All Linux Distros (Optional)We recommend installing the game in Program Files(x86) such that the path looks like MyComputer -> C\Program Files\Diablo II.
  4. All Linux Distros Install the game using your D2 digital edition key found under your account on https://battle.net. If you have old CD keys, redeem them under your https://battle.net web account and they will be converted to digital keys. Close installer when done.

9. Run D2 LoD Downloader

  1. All Linux Distros WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine Downloader_Diablo2_Lord_of_Destruction_enUS.exe
  2. All Linux Distros Close any errors or popups until you see a menu to select the folder where the game will be downloaded. The LoD Installer will automatically launch when the download completes.
  3. All Linux Distros Install the game using your LoD digital edition key found under your account on https://battle.net. If you have old CD keys, redeem them under your https://battle.net web account and they will be converted to digital keys. Close installer when done.

9. Download Path of Diablo Installer

  • All Linux Distros wget https://pathofdiablo.com/pathofdiablolauncher.msi

10. Open Path of Diablo Installer

  1. All Linux Distros WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine start pathofdiablolauncher.msi
  2. All Linux Distros When selecting the folder to install PoD, make sure to find and select the Diablo II install location from earlier in the guide. (If you used the recommended path, then simply install Path of Diablo in C:\Program Files\Diablo II.)

11. Open Path of Diablo Launcher

  1. All Linux Distros WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine explorer
  2. All Linux Distros Navigate to the emulated Desktop folder and double click the Path of Diablo Launcher shortcut. (Alternatively, navigate to your Path of Diablo install folder and double click Path of Diablo Launcher.exe,)

Info.png Always start Path of Diablo by opening the launcher and clicking Play. Do not attempt to run the other exe files instead. Enjoy!