Difference between revisions of "Linux"

From Path of Diablo Wiki
Jump to: navigation, search
m (Preparing prefix: minor edits for readability and OS selection)
m (Requirements: slight rewrite)
Line 5: Line 5:
 
== Requirements ==
 
== Requirements ==
  
"Path of Diablo" mod works perfectly under Wine (just as vanilla D2:LoD does), but its launcher requires some additional configuration.
+
"Path of Diablo" mod works perfectly under Wine (just as vanilla D2:LoD does), but its launcher requires some additional configuration.<br />
Basically all you need - setup win32 prefix and install dotnet 4.0 there.
+
All you'll need is a Wine prefix with dotnet 4.0 on it.
  
 
== Preparing prefix ==
 
== Preparing prefix ==

Revision as of 02:54, 2 August 2019

How to run PoD under linux

Requirements

"Path of Diablo" mod works perfectly under Wine (just as vanilla D2:LoD does), but its launcher requires some additional configuration.
All you'll need is a Wine prefix with dotnet 4.0 on it.

Preparing prefix

  • Install Wine and winetricks packages from your distro repositories:
Archlinux: pacman -S wine winetricks
Debian: sudo apt install wine winetricks
  • Create new win32 prefix with winecfg:

WINEPREFIX="$HOME/prefix32" WINEARCH=win32 winecfg

If the winecfg window pops up, that means it's already configured the "prefix32" prefix folder in your user home directory as a x86 (32-bit) Windows.
Ensure you have Windows 7 or higher selected in the drop-down window, as the Path of Diablo installer won't run on Windows XP, and close the window.

  • Install dotnet4.0 with winetricks there:

WINEPREFIX="$HOME/prefix32" WINEARCH=win32 winetricks

Select "install DLL or Windows components" on the second screen, choose "dotnet40" option and press OK

Installing the game

  • Download d2 installers & PoD installer to any folder as described here. Make sure to grab English(US) version of D2 and D2LOD from bnet website.
  • Fire up terminal, Enter directory, run
WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine Downloader_Diablo2_enUS.exe
  • same again but for expansion, run
WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine Downloader_Diablo2_Lord_of_Destruction_enUS.exe
  • go to directory where you downloaded the classic game from the first downloader, run
WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine Installer.exe
  • go to directory where you downloaded the expansion game from the second downloader, run
WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine installer.exe
  • Install PoD launcher. As .msi files aren't executables, make sure to use "wine start"
WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine start pathofdiablolauncher.msi

Running the game

  • In terminal, enter Diablo II directory and then enter Path of Diablo directory which should be inside the Diablo II directory. If this isn't the case you must reinstall pod or you will get an error like "Some or more files are missing from your parent D2 installation". Inside Path of Diablo directory run PoD launcher
WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine Path\ of\ Diablo\ Launcher.exe
  • The launcher may download some updates and restart itself. You can download updates from whichever download server when prompted.
  • Press "Play" to start playing POD mod!

Loot Filter and QoL settings

If you find your game crashing when interacting with the Settings button and its content, check this Reddit thread at: https://www.reddit.com/r/pathofdiablo/comments/6h2hju/linux_getting_qol_to_work/