Support FAQ: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Refined process of installing on linux a little)
(→‎How-to install D2 on linux: some formatting and cleanup)
Line 409: Line 409:




== How-to install D2 on linux ==
== How-to install Project Diablo 2 on Linux ==


'''PREREQUISITES:'''
'''PREREQUISITES:'''
* Wine
* Wine installed
* Lutris
* Lutris installed


'''HOW TO:'''
* Manually create game in lutris: click + icon in top left corner and select 'Add locally installed game'


# Open '''Lutris''' and add a configuration for the game.
[[File:Lutris 1.png|400px]]
## From the '''Lutris''' window, click the '''plus (+) icon''' in top left corner and select '''Add locally installed game'''.
##: <br>
##: [[File:Lutris 1.png|400px]]
##: <br>
## Enter a name for the game such as '''PD2'''.
## Select '''Wine''' as the '''Runner'''
## Click the the '''Game options''' tab and enter or browse to a path for where you want to store the Wine prefix. You may need to create the folder you want to use.
##* The '''Path''' can be anything but the '''recommended''' setting is '''/home/<user>/Games/<name from step above>''' e.g. '''/home/tomcik/Games/PD2/'''
## Choose '''64-bit''' for the '''Prefix architecture'''.
##: <br>
##: [[File:Lutris 2.png|400px]][[File:Lutris 3.png|400px]]
##: <br>
## Click '''Save'''.
##: <br>
# Manually run the '''Diablo II''' installation files in this new prefix
## Select the new game you created in '''Lutris'''
## Click the arrow button on the bottom of the '''Lutris window'''
## Select '''Run EXE inside Wine prefix'''
##: <br>
##: [[File:Lutris 4.png]]
##: <br>
## When prompted, browse to the installer file for '''Diablo II''' and select it to open it
## Follow the installation steps as you would in Windows
##* The installation path can be the default location (C:\Program Files\Diablo II). It shouldn't cause any problems.
##* When you run the installer file for first time in the wine prefix it will be configured. '''If you receive any prompts about wine-gecko and wine-mono''', choose '''Yes'''
##: <br>
# '''All of the previous steps for manually running the installation files and completing the install need to be done for each installer'''
#* Diablo II
#* Diablo II: Lord of Destruction
#* PD2 Launcher
#: <br>
# Configure game executable
## '''After''' completing the above steps for '''all three installers''', right-click the new game you created in '''Lutris''' (PD2) and choose '''Configure''''.
## Go to the '''Game options tab''' and click '''Browse''' next to the '''Executable setting'''
## Locate the '''PD2Launcher.exe''' file (installed in the Diablo II\ProjectD2 folder) and select it
##: <br>
##: [[File:Lutris 5.png]][[File:Lutris 6.png]]
##: <br>
## Click '''Save''' in top right corner of the '''Configure''' window
##: <br>
# Run '''PD2''' by double clicking on it in the '''Lutris''' main window or select it and click '''Play''' at the bottom


* In new window type name for game, PD2 for example, and select wine as runner. Then go to 'Game options' tab and type path for PD2 wine prefix and choose 64-bit as prefix architecture and click save.


'''COMMON ISSUES:'''
Path can be anything but recommended setting is /home/<user>/Games/<whatever name you like>
# No text in EULA window during D2/LoD installation

#* '''Wine-gecko''' is missing in the wine prefix. If it is missing, then during the steps to execute the launchers, '''Lutris''' will ask if you want install it, choose '''Yes'''.
[[File:Lutris 2.png|400px]][[File:Lutris 3.png|400px]]
#*: <br>

# Error 'OpenGL loader failed' after clicking play in launcher using 3dfx
* Manually execute EXE files in new prefix - select your new game in lutris, click arrow button on the bottom of lutris window, select 'Run EXE inside Wine prefix', locate installer and double click it/open it in file picker
#* You need to install 32bit libGL.so.1.

#* For Debian based distributions (Debian, Ubuntu, Pop!_OS, etc) you can use the command '''sudo apt install libgl1-mesa-dri:i386 libgl1:i386 libgl1-mesa-glx:i386'''
[[File:Lutris 4.png]]
#* For other distributions, you will need to Google what the equivalent commands/methods/packages are needed to install it

When you execute EXE file for first time in wine prefix, it will be configured. If you get any questions about wine-gecko and wine-mono, choose Yes option.

Repeat this step to install D2+LoD+PD2 Launcher, i.e:
* Execute EXE for D2 installer
* Install D2 normally
* Execute EXE for LoD installer
* Install LoD normally
* Execute PD2 Launcher installer
* Install PD2

Path chosen during installation can be default (C:\Program Files\Diablo II). It shouldn't cause any problems.

* Configure game executable - After installing D2+LoD+PD2 Launcher right-click PD2 game in lutris and choose 'Configure'. then go to game options tab and click browse next to game executable setting, locate PD2 launcher EXE file and double click it/open it in file picker. After this click save in top right corner of game configuration window

[[File:Lutris 5.png]][[File:Lutris 6.png]]
* To run PD2 double click on it in lutris main window or select it and click play at the bottom

'''ISSUES THAT CAN HAPPEN'''

* No text in EULA window during D2/LoD installation

Wine-gecko is missing in wine prefix, if it's missing then during executing of any EXE, lutris will ask if you want install it, choose Yes.

* Error 'OpenGL loader failed' after clicking play in launcher using 3dfx

You need to install 32bit libGL.so.1, for DEB distros (debian, ubuntu, pop_os) you can use command ''sudo apt install libgl1-mesa-dri:i386 libgl1:i386 libgl1-mesa-glx:i386''. I'm not sure about other distros, but google can help with this one


== How-to install PlugY ==
== How-to install PlugY ==