Editing Getting Started on Linux (v3) Wine-Staging 6.0, vulkan & dxvk

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<small> This is a work in progress. Please send any comments, corrections or concerns to @tragedie37 in the forums. </small>
<small> This is a work in progress. Please send any comments, corrections or concerns to @tragedie37 in the forums. </small>


This installation procedure is a marriage between the [[Getting_Started_on_Linux|original Linux installation instructions]] and @meriadoc's wonderful, but complicated, [[Getting_Started_on_Linux_(v2)|non-PlayOnLinux version]].
This installation procedure is a marriage between the [https://wiki.takp.info/index.php/Getting_Started_on_Linux original Linux installation instructions] and @meriadoc's wonderful, but complicated, [https://wiki.takp.info/index.php/Getting_Started_on_Linux_(v2) non-PlayOnLinux version].


The reason this page exists is because the original version would not recognize my hardware while Meriadoc's version is able to correctly identify my GPU, due to its using vulkan and dkvx, but does not use PlayOnLinux (POL). POL is much easier for me to control how many clients I am running, rather than using command line arguments or a script. Optionally, I like installing a base wine-staging wine system as well as POL; this usually ensures that 32-bit binaries are included in your installation.
The reason this page exists is because the original version would not recognize my hardware and Meriadoc's version would due to its using vulkan and dkvx, but does not use PlayOnLinux (POL). POL is much easier for me to control how many clients I am running, rather than using command line arguments or a script. I like installing a base wine-staging wine system as well as POL; this usually ensures that 32-bit binaries are included in your installation.


=== <u>PlayOnLinux</u> ===
=== <u>PlayOnLinux</u> ===
Line 10: Line 10:
# Download the latest [https://www.dropbox.com/s/bppy4ebt7vl7hwk/TAKP%20PC%20V2.1c.zip?dl=0 Windows client]
# Download the latest [https://www.dropbox.com/s/bppy4ebt7vl7hwk/TAKP%20PC%20V2.1c.zip?dl=0 Windows client]
# Download the [https://www.dll-files.com/dinput8.dll.html 32-bit version of dinput8.dll], version number 6.0.6001.18000
# Download the [https://www.dll-files.com/dinput8.dll.html 32-bit version of dinput8.dll], version number 6.0.6001.18000
# NOTE: 11/06/23 - Using latest wine (7.22) I did not have to install or use this file, this was actually messing up my install!
# Open POL
# Open POL
## Choose the <code>Tools | Manage Wine Versions</code> menu
## Choose the <code>Tools | Manage Wine Versions</code> menu
Line 44: Line 43:
## Unzip the Windows client you downloaded from above; I recommend the 2.1c version, it includes freethemouse.dll and other recommendations; cut or copy the folder and paste it in <code>/home/(username)/PlayOnLinux's virtual drives/EverQuest/drive_c/Program Files/</code>
## Unzip the Windows client you downloaded from above; I recommend the 2.1c version, it includes freethemouse.dll and other recommendations; cut or copy the folder and paste it in <code>/home/(username)/PlayOnLinux's virtual drives/EverQuest/drive_c/Program Files/</code>
##;[[File:POLEQfolder.png|250px]]
##;[[File:POLEQfolder.png|250px]]
## Download and unzip the <b>32-bit</b> file [https://www.dll-files.com/dinput8.dll.html dinput8.dll version 6.0.6001.18000]; copy it to <code>/home/(username)/PlayOnLinux's virtual drives/EverQuest/drive_c/windows/system32/</code>
## Download and unzip the file with [https://www.dll-files.com/dinput8.dll.html dinput8.dll version 6.0.6001.18000]; copy it to <code>/home/(username)/PlayOnLinux's virtual drives/EverQuest/drive_c/windows/system32/</code>
##;[[File:POLdinput8 overwrite.png|250px]]
##;[[File:POLdinput8 overwrite.png|250px]]
## Download [http://dege.freeweb.hu/dgVoodoo2/dgVoodoo2/ dgVoodo]; I grabbed the Latest Stable Version, 2.79.3
## Download [http://dege.freeweb.hu/dgVoodoo2/dgVoodoo2/ dgVoodo]; I grabbed the Latest Stable Version, 2.79.3
### Extract the downloaded zip file to a subfolder that you created (it extracts everything to the folder in which you put the zip file)
### Extract the downloaded zip file to a subfolder that you created (it extracts everything to the folder in which you put the zip file)
### Copy D3D8.dll and D3D9.dll to <code>/home/(username)/PlayOnLinux's virtual drives/EverQuest/drive_c/Program Files/EverQuest</code>; make sure to delete the existing d3d8.dll
### Copy D3D8.dll and D3D9.dll to <code>/home/(username)/PlayOnLinux's virtual drives/EverQuest/</code>; make sure to delete the existing d3d8.dll
### Rename the 2 files in the EverQuest directory and rename them to <code>d3d8.dll</code> and <code>d3d9.dll</code> (Note: Linux is case sensitive)
### Rename the 2 files in the EverQuest directory and rename them to <code>d3d8.dll</code> and <code>d3d9.dll</code> (Note: Linux is case sensitive)
###;[[File:POLrenamed.png|250px]]
###;[[File:POLrenamed.png|250px]]
## Return to the 'Configuration' window and click on the 'Wine' tab; within the tab, click on the 'Registry Editor' button
## Return to the 'Configuration' window and click on the 'Wine' tab; within the tab, click on the 'Registry Editor' button
##;[[File:POLregistry.png|250px]]
##;[[File:POLrenamed.png|250px]]
### Click your way to <code>HKEY_CURRENT_USER\Software\Wine\DllOverrides</code>
### Click your way to <code>HKEY_CURRENT_USER\Software\Wine\DllOverrides</code>
### Right click on the white space in the right-side window pane and click NEW -> STRING VALUE
###;[[File:POLregistry_override.png|250px]]
#### Name it <code>d3d8</code>
#### Double-click on the DATA value and enter 'native'
####;[[File:POLregistry_override.png|250px]]
#### Ensure that d3d9, d3d10 and d3d11 all exist and have "native" as their value
#### Close the Registry Editor
## On the left-hand side of the Configuration window choose the 'General' tab and MAKE A NEW SHORTCUT FROM THIS VIRTUAL DRIVE
##;[[File:POLshortcut.png|250px]]
### Choose <code>eqgame.exe</code> and click NEXT
###;[[File:POLeqgame.png|250px]]
### Name the shortcut, I named mine 'EverQuest', click NEXT
### Then, choose 'I don't want to make another shortcut' and click NEXT
## Finally, we have to edit the <code>/home/(username)/PlayOnLinux's virtual drives/EverQuest/drive_c/Program Files/EverQuest/eqclient.ini</code>
### Open the <code>eqclient.ini</code> in your favorite editor, mine is [https://vim.rtorr.com/ vim]
###;[[File:POLvim1.png|250px]]
### Find the section [VideoMode] and enter your height and width (see example)
###;[[File:POLvmode.png|250px]]
### Save and close the file


<b>WARNING: Changing video display size in-game will cause the client to crash. If you need to change the video display resolution, close the game, edit the <code>eqclient.ini</code> and restart POL.</b>
=== <u>Optional Steps</u> ===
 
Enjoy playing on the Al'Kabor Project in Linux!
 
Thanks and credit to the TAKP developers, @krakmojo for the original POL instructions and @meriadoc for his excellent v2 guide. It bears repeating that this is a work in progress; if you find a mistake or want to provide any feedback, please contact me via the forums @tragedie37.
 
=== <u>Notes on 2.2-Staging Installation</u> ===
For years, I've noticed a problem with choosing 2.2-Staging: When I tried to open the Wine Configuration tab or it tried to install gecko or mono, I could not see the window; after a lot of research, I was told to look at my running processes and check for an extremely small, unselectable box in the upper left hand corner of my monitor. Sure enough, it was there. If that happens to you, here's the fix:
 
* In POL, add 2.2-Staging and 2.22-Staging; I used 2.22 because it was the closest in numerical value that I found to work; newer versions of Wine through POL do not have the same files/structure
* First, make sure to delete any of the <code>libz.so</code> files, should be four of them
* Open up your favorite file manager and navigate to /home/<user>/.PlayOnLinux/wine/linux-x86/
*;[[File:POLlibx86-1.png|250px]]
* You should have two folders for <code>2.2-staging</code> and <code>2.22-staging</code>
*# Open up another file manager window and navigate one file manager to <code>2.2-staging</code> and the other to <code>2.22-staging</code>
*#;[[File:POLlibx86-2.png|250px]]
*# In the <code>2.2-staging/lib/</code> folder, delete the <code>libz.so</code> files if they exist
*#;[[File:POLlibzso-delete.png|250px]]
*# Copy all the files in the <code>2.22-staging/lib/</code> folder and paste them into the <code>2.2-staging/lib/</code> folder; <b>Do not choose to overwrite any existing files</b>
*#;[[File:POL2.22skip.png|250px]]
*# There will be seven files copied over that will allow <code>2.2-staging</code> to function normally:
*#* libfreetype.so
*#* libfreetype.so.6
*#* libfreetype.so.6.8.1
*#* libpng.so
*#* libpng12.so
*#* libpng12.so.0
*#* libpng12.so.0.49.0
 
You can use a command line argument to display the differences before and after. Note: this search will highlight even sub-folders, be aware that you don't need to pay attention to them:
 
<code>cd /home/<username>/.PlayOnLinux/wine/linux-x86</code><br />
<code>find "2.2-staging/" "2.2-staging/" "2.22-staging/" -printf '%P\n' | sort | uniq -u</code><br />
The above search will show you what's in <code>2.22-staging</code> and is missing in <code>2.2-staging</code>
 
=== <u>Install vulkan drivers</u> ===
This is needed to ensure that [[wikipedia:Vulkan|vulkan]] calls from POL are handled correctly. The installation will differ depending on your video card, as noted below.
 
* [https://youtu.be/j-inskOehOI?t=23 Ubuntu/Ubuntu-based] distros
*# <b>AMD</b>
*## Make sure that you have the 32-bit repository enabled: <code> sudo dpkg --add-architecture i386</code>
*## Install the vulkan drivers from the stock repository: <code>sudo apt-get install libvulkan1 mesa-vulkan-drivers vulkan-utils</code><br />
*##;This should also install the 32-bit/i386 versions
*# <b>NVidia</b>
*## Note: Make sure you have the latest driver supported by your specific video card; once that is done:
*## Install the NVidia repository for the most up-to-date vulkan drivers <code>sudo add-apt-repository ppa:graphics-drivers/ppa</code>
*## Update your repository list: <code>sudo apt-get update</code>
*## Install vulkan drivers: <code>sudo apt-get install vulkan vulkan-utils</code>
*## 11/6/23 Ubuntu Focal update - This didn't work for me and I had to run commands from this AskUbuntu answer here - [https://askubuntu.com/questions/1324989/unable-to-install-vulkan AskUbuntuAnswer]
*##;Please make sure that you understand what happens when you add another repository as that software may override what is delivered by the base Ubuntu installation
* Arch/Arch-based distros
* Void Linux
* OpenSUSE
* Solus
 
=== <u>Optional Steps: Install Wine</u> ===
Install wine and POL from the command line
Install wine and POL from the command line
* Ubuntu/Ubuntu-based distros
* Ubuntu/Ubuntu-based distros

Please note that all contributions to The Al`Kabor Project Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see The Al'Kabor Project Wiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)