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

From The Al`Kabor Project Wiki
Revision as of 15:58, 18 October 2022 by Tragedie37 (talk | contribs) (Saving progress)
Jump to navigation Jump to search

This is a work in progress. Please send any comments, corrections or concerns to @tragedie37 in the forums.

This installation procedure is a marriage between the original Linux installation instructions and @meriadoc's wonderful, but complicated, non-PlayOnLinux version.

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.

PlayOnLinux

See Optional Section below for steps to install POL and/or Wine; this guide assumes that the user has correctly installed POL, vulkan drivers (both 64 and 32-bit drivers) and wine.

  1. Download the latest Windows client
  2. Download the 32-bit version of dinput8.dll, version number 6.0.6001.18000
  3. Open POL
    1. Choose the Tools | Manage Wine Versions menu
      1. Under the "x86" section (32 bit), install the 6.0-staging version
        POL6Staging.png
      2. You can choose to install wine-staging 2.2 as a fall back; however, I suggest also installing wine-staging 2.22, as well [See note below]
    2. Goto your POL folder at /home/<username>/.PlayOnLinux/wine/linux-x86/6.0-staging and make sure that there are no files containing libz.so; my installation did not have any
      Libzso example.png
    3. Click on the Configure button; this will open a popup
      POLConfigure.png
    4. Click on NEW
      POLNew.png
    5. This will open another pop entitled, 'Virtual drive creator', click NEXT
      POLVirtualDrive.png
    6. Choose the 32 bit drive and click NEXT
      POL32bit.png
    7. Highlight 6.0-staging and click NEXT
      POL6staging.png
    8. Choose a name for the virtual drive, I named mine 'EverQuest' and move on to the next step
    9. Highlight 'EverQuest' and go to the 'Install Components' tab and install the following:
      1. dinput8
      2. vcrun2010
      3. dxvk (Note: choose the one without any numbers after it)
      4. (Optional) Microsoft corefonts
      POLdinput8.png
    10. Next, choose the 'Wine' tab and click on 'Configure'
      POLConfigureWine.png
    11. If POL prompts to install wine-mono and/or wine-gecko, allow it to install
    12. Once the 'Wine Configuration' pops up, go to the 'Staging' tab and click on 'Enable CSMT for better graphic performance'; even though it states that it's deprecated, it does not hurt to click on it and may cause problems if not; once done, click 'Ok' to close the window
      POLcsmt.png
    13. Go to the 'Display' and disable GLSL
      POLglsl.png
    14. 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 /home/(username)/PlayOnLinux's virtual drives/EverQuest/drive_c/Program Files/
      POLEQfolder.png
    15. Download and unzip the file with dinput8.dll version 6.0.6001.18000; copy it to /home/(username)/PlayOnLinux's virtual drives/EverQuest/drive_c/windows/system32/
      POLdinput8 overwrite.png
    16. Download dgVoodo; I grabbed the Latest Stable Version, 2.79.3
      1. Extract the downloaded zip file to a subfolder that you created (it extracts everything to the folder in which you put the zip file)
      2. Copy D3D8.dll and D3D9.dll to /home/(username)/PlayOnLinux's virtual drives/EverQuest/; make sure to delete the existing d3d8.dll
      3. Rename the 2 files in the EverQuest directory and rename them to d3d8.dll and d3d9.dll (Note: Linux is case sensitive)
        POLrenamed.png
    17. Return to the 'Configuration' window and click on the 'Wine' tab; within the tab, click on the 'Registry Editor' button
      POLrenamed.png
      1. Click your way to HKEY_CURRENT_USER\Software\Wine\DllOverrides
        POLregistry override.png

Optional Steps

Install wine and POL from the command line

  • Ubuntu/Ubuntu-based distros
    1. sudo dpkg --add-architecture i386
    2. sudo apt-get update
    3. Now, for wine, you have two choices, you can go with the default repository or with the latest from WineHQ
      1. WineHQ version
        1. Add the GPG key wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add - (NOTE: You may have to install wget and or curl sudo apt-get install wget curl
        2. Followed by: sudo apt-get install software-properties-common
        3. Add the repository: sudo apt-add-repository "deb https://dl.winehq.org/wine-builds/ubuntu/ $(lsb_release -cs) main"
        4. Install the wine-staging branch: sudo apt-get install --install-recommends winehq-staging
        5. Verify your installation on the command line: wine --version
      2. Ubuntu or Ubuntu-based distro standard repository (NOTE: You may get an outdated version, but, it may be more stable or not, your mileage may vary)
        1. sudo apt-get update
        2. sudo apt-get install wine
    4. For POL, it's a bit easier
      1. sudo apt-cache search playonlinux
      2. If you see a result, then type: sudo apt-get install playonlinux
      3. If you do not see a result, then something went wrong; visit POL's website or your distribution's website to figure out why
  • Arch/Arch-based distros
    1. Enable multilib support, or ensure it is enabled vim /etc/pacman.conf
      1. Search for the line #Include = /etc/pacman.d/mirrorlist and remove the crunch ('#') from in front of the word 'Include'
      2. It should now look like
        [multilib]
        Include = /etc/pacman.d/mirrorlist
    2. Complete a system upgrade sudo pacman -Syu
    3. Install wine pacman -S wine
    4. Install wine-gecko and wine-mono pacman -S wine-gecko wine-mono
    5. Note, after the above install, you may see a list of uninstalled dependencies; I recommend installing them, especially the 32-bit packages
    6. Check that you have successfully installed it wine --version
    7. Install POL: sudo pacman -S playonlinux
  • Void Linux
    1. If you're using Void Linux, I'm assuming you will know what to do; but, to be thorough
    2. Install necessary repositories
      1. sudo xbps-install -Sy void-repo-nonfree void-repo-multilib void-repo-multilib-nonfree
      2. Update the repository list and check for upgrades: sudo xbps-install -Suv
    3. Install wine sudo xbps-install -Sy wine wine-32bit winetricks wine-mono wine-gecko
    4. Check your wine installation: wine --version
    5. Install POL: xbps-install -Sy playonlinux
  • OpenSUSE: TBD
  • Solus: TBD