Difference between revisions of "Linux"
(→Compatible Distributions) |
|||
(14 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | =Compatible Distributions= | ||
While not officially supported, Linux and [[Mac]] do work. | While not officially supported, Linux and [[Mac]] do work. | ||
+ | |||
+ | Attempts to install Path of Diablo: | ||
+ | * [[File:Debian.png|30px|link=|Debian Distros]] Debian | ||
+ | ** [[File:Ubuntu.png|30px|link=|Ubuntu]] Ubuntu 22.04.3 LTS (jammy) [[File:yes.png|30px|link=]] | ||
+ | *** [[File:Mint.png|30px|link=|Mint]] Linux Mint 21.2 (Victoria) [[File:yes.png|30px|link=]] | ||
+ | ** [[File:popos.png|30px|link=|Pop!_OS]] Pop!_OS [[File:yes.png|30px|link=]] | ||
+ | ** [[File:Pi.png|26px|link=|Raspberry Pi]] Raspberry Pi 4 [[File:no.png|30px|link=]] | ||
+ | * [[File:Arch.png|30px|link=|Arch Distros]] Arch [[File:yes.png|30px|link=]] | ||
+ | ** [[File:Manjaro.png|28px|link=|Manjaro]] Manjaro Stable 23.1.2 [[File:yes.png|30px|link=]] | ||
+ | * [[File:gentoo.png|30px|link=|Gentoo]] Gentoo [[File:yes.png|30px|link=]] | ||
+ | ''If you have a distro not listed here, please share your installation attempt results with @GreenDude on Discord'' | ||
=Install Instructions= | =Install Instructions= | ||
− | + | 1. Open Terminal as a regular user, not Root. Copy/paste commands into terminal by following the steps for your distro. <span style="color: #c88c2d">Do not use ''sudo su''!</span>. | |
− | + | ||
− | + | 2. Prep Work | |
+ | * [[File:Debian.png|30px|Debian Distros]] <code>sudo dpkg --add-architecture i386</code> | ||
+ | #[[File:Ubuntu.png|30px|Ubuntu]] <code>sudo add-apt-repository universe</code> | ||
+ | #[[File:Ubuntu.png|30px|Ubuntu]] <code>sudo apt update</code> | ||
+ | # [[File:Ubuntu.png|30px|Ubuntu]] <code>sudo apt full-upgrade</code> | ||
+ | # [[File:Ubuntu.png|30px|Ubuntu]] <code><nowiki>sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources</nowiki></code> | ||
+ | # [[File:Ubuntu.png|30px|Ubuntu]] <code>sudo apt upgrade</code> | ||
+ | # [[File:Ubuntu.png|30px|Ubuntu]] <code>sudo mkdir -pm755 /etc/apt/keyrings</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 | ||
+ | * [[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> | ||
+ | 4. Install Zenity | ||
+ | * [[File:Ubuntu.png|30px|Ubuntu]] <code>sudo apt-get install zenity</code> | ||
+ | * [[File:Arch.png|30px|Arch Distros]] <code>pacman -Syu zenity</code> | ||
+ | 5. Install .NET Framework 4.8 | ||
+ | * [[File:Linux.png|32px|All Linux Distros]] <code>WINEPREFIX="$HOME/prefix32" WINEARCH=win32 winetricks --force dotnet48</code> | ||
+ | * [[File:Linux.png|32px|All Linux Distros]] When prompted by Wine to install Mono choose Yes and proceed with the install. | ||
+ | * [[File:Linux.png|32px|All Linux Distros]] When prompted by Wine to install Gecko choose Yes and proceed with the install. | ||
+ | 6. Download D2 Classic Downloader | ||
+ | # [[File:Linux.png|32px|All Linux Distros]] <code><nowiki>URL="https://downloader.battle.net/download/getLegacy?os=win&locale=enUS&product=D2DV&id=e07efddd-791e-4747-a164-05d7e9c4bf2d"; wget "$URL"</nowiki></code> | ||
+ | # [[File:Linux.png|32px|All Linux Distros]] <code>mv 'getLegacy?os=win&locale=enUS&product=D2DV&id=e07efddd-791e-4747-a164-05d7e9c4bf2d' Downloader_Diablo2_enUS.exe</code> | ||
+ | 7. Download D2 LoD Downloader | ||
+ | # [[File:Linux.png|32px|All Linux Distros]] <code><nowiki>URL="https://downloader.battle.net/download/getLegacy?os=win&locale=enUS&product=D2XP&id=e07efddd-791e-4747-a164-05d7e9c4bf2d"; wget "$URL"</nowiki></code> | ||
+ | # [[File:Linux.png|32px|All Linux Distros]] <code>mv 'getLegacy?os=win&locale=enUS&product=D2XP&id=e07efddd-791e-4747-a164-05d7e9c4bf2d' Downloader_Diablo2_Lord_of_Destruction_enUS.exe</code> | ||
+ | 8. Run D2 Classic Downloader | ||
+ | # [[File:Linux.png|32px|All Linux Distros]] <code>WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine Downloader_Diablo2_enUS.exe</code> | ||
+ | # [[File:Linux.png|32px|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. | ||
+ | # [[File:Linux.png|32px|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''. | ||
+ | # [[File:Linux.png|32px|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 | ||
+ | # [[File:Linux.png|32px|All Linux Distros]] <code>WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine Downloader_Diablo2_Lord_of_Destruction_enUS.exe</code> | ||
+ | # [[File:Linux.png|32px|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. | ||
+ | # [[File:Linux.png|32px|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. | ||
+ | 10. Download Path of Diablo Installer | ||
+ | * [[File:Linux.png|32px|All Linux Distros]] <code><nowiki>wget https://pathofdiablo.com/pathofdiablolauncher.msi</nowiki></code> | ||
+ | 11. Open Path of Diablo Installer | ||
+ | # [[File:Linux.png|32px|All Linux Distros]] <code>WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine start pathofdiablolauncher.msi</code> | ||
+ | # [[File:Linux.png|32px|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''.) | ||
+ | [[File:yes.png|30px]] Done! Open Path of Diablo Launcher: Wine will most likely have created a '''Path of Diablo Launcher''' shortcut on your real (not emulated) Desktop. Open the launcher and click the Play button. Enjoy! | ||
+ | |||
+ | <br>[[File:Info.png|18px|link=]] If you don't see a PoD Launcher shortcut on your real actual desktop then: | ||
+ | # [[File:Linux.png|32px|All Linux Distros]] (Optional)<code>WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine explorer</code> | ||
+ | # [[File:Linux.png|32px|All Linux Distros]] (Optional)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'',) | ||
+ | * (Always start Path of Diablo by opening the launcher and clicking Play. Do not attempt to run the other ''exe'' files instead.) |
Latest revision as of 13:46, 23 August 2024
Compatible Distributions
While not officially supported, Linux and Mac do work.
Attempts to install Path of Diablo:
- Debian
- Ubuntu 22.04.3 LTS (jammy)
- Linux Mint 21.2 (Victoria)
- Pop!_OS
- Raspberry Pi 4
- Ubuntu 22.04.3 LTS (jammy)
- Arch
- Manjaro Stable 23.1.2
- Gentoo
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. Copy/paste commands into terminal by following the steps for your distro. Do not use sudo su!.
2. Prep Work
-
sudo add-apt-repository universe
-
sudo apt update
-
sudo apt full-upgrade
-
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
-
sudo apt upgrade
-
sudo mkdir -pm755 /etc/apt/keyrings
-
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
3. Install Wine (8.0.2+) & Winetricks
-
sudo apt install winehq-stable winetricks
-
sudo apt install --install-recommends winehq-staging -yy
-
pacman -Syu wine winetricks
4. Install Zenity
5. Install .NET Framework 4.8
-
WINEPREFIX="$HOME/prefix32" WINEARCH=win32 winetricks --force dotnet48
- When prompted by Wine to install Mono choose Yes and proceed with the install.
- When prompted by Wine to install Gecko choose Yes and proceed with the install.
6. Download D2 Classic Downloader
-
URL="https://downloader.battle.net/download/getLegacy?os=win&locale=enUS&product=D2DV&id=e07efddd-791e-4747-a164-05d7e9c4bf2d"; wget "$URL"
-
mv 'getLegacy?os=win&locale=enUS&product=D2DV&id=e07efddd-791e-4747-a164-05d7e9c4bf2d' Downloader_Diablo2_enUS.exe
7. Download D2 LoD Downloader
-
URL="https://downloader.battle.net/download/getLegacy?os=win&locale=enUS&product=D2XP&id=e07efddd-791e-4747-a164-05d7e9c4bf2d"; wget "$URL"
-
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
-
WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine Downloader_Diablo2_enUS.exe
- 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.
- (Optional)We recommend installing the game in Program Files(x86) such that the path looks like MyComputer -> C\Program Files\Diablo II.
- 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
-
WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine Downloader_Diablo2_Lord_of_Destruction_enUS.exe
- 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.
- 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.
10. Download Path of Diablo Installer
11. Open Path of Diablo Installer
-
WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine start pathofdiablolauncher.msi
- 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.)
Done! Open Path of Diablo Launcher: Wine will most likely have created a Path of Diablo Launcher shortcut on your real (not emulated) Desktop. Open the launcher and click the Play button. Enjoy!
If you don't see a PoD Launcher shortcut on your real actual desktop then:
- (Optional)
WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine explorer
- (Optional)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,)
- (Always start Path of Diablo by opening the launcher and clicking Play. Do not attempt to run the other exe files instead.)