Saturday, August 15, 2015

How to install WoW & Diablo III on Ubuntu + tips for better fps

Before installing WoW we need to install wine . What is wine you ask ?

Wine (recursive acronym for Wine Is Not an Emulator) is a free and open source compatibility layer software application that aims to allow applications designed for Microsoft Windows to run on Unix-like operating systems .
To install the latest stable version (1.8 as of December 19th 2015) open a terminal and and type in the following commands :

sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.8 winetricks

To install the latest development verision (1.9 as of December 25th 2015) use these commands instead :

sudo dpkg --add-architecture i386  (If your system is 64 bit, enable 32 bit architecture)

sudo add-apt-repository ppa:wine/wine-builds
sudo apt-get update
sudo apt-get install --install-recommends winehq-devel

After Wine has completed installing head on to the page to download the latest windows version of the installer . When the download is complete navigate to the folder where the installer is located and right click it > Wine Windows Program Loader . There will be messages on the screen prompting you to install additional files :

1. Wine Gecko Installer
2. Wine Mono Installer

Wait for the game installation to finish . does not exist, run the game and log into a character, then exit WoW .

For a better gaming experience we need to edit the  file located in WoW folder . You can navigate to it by browsing wine C: Drive  where WoW is installed or by opening a terminal and using the following command:

gedit ~/.wine/drive_c/Program\ Files\ \(x86\)/World\ of\ Warcraft/WTF/

For improved performance add the following to your config file :

SET M2UseShaders “0”
SET UseVertexShaders “0”
SET useWeatherShaders “0”
SET ffxGlow “0”
SET ffxDeath “0”
SET ffxSpecial “0”
SET weatherDensity “0”
SET reflectionMode “0”
SET maxFPS “60”
SET ffx “0”
SET maxFPSbk “5”
SET mapShadows “0”

and make sure to set SET gxApi "OpenGL"  instead of "D3D9" or "D3D11" .

Save the file and exit . 

1. Open a terminal (ctrl+alt+t) and type in regedit and hit enter
2. Open the tree on the left to the section where you need to add it , in this case HKEY_CURRENT_USER\Software\Wine
3. Create a key with the name Direct3D
4. Now go to the Direct3D key you have just made and make string values by right clicking and doing New > String Value (ex. create a string named, ‘VideoMemorySize’ and then double click on it and enter the amount of memory your video card contains with integers only, do not enter MB) :  

DirectDrawRenderer = opengl
UseGLSL = disabled (when using Nvidia card , enabled when using AMD video card)
VideoMemorySize = 2048

Enter the command winecfg in terminal and  follow the steps below : 

Add Application > Launcher.exe  > Windows Version > Windows XP

Adjust audio devices

Apply the new settings and click OK and launch the client from Dash or using the following command :

wine ~/.wine/drive_c/Program*/" Launcher.exe" 

Recommend add-ons  :
Optional :
If you are planning on raiding installing VoIP applications like Mumble , TeamSpeak or Ventrilo is a must. 

Once World of Warcraft is installed you can continue by adding the "Diablo III Launcher.exe" and setting the Windows version to "Windows XP".

Apply the new configuration and launch client via Dash or with the following command in a terminal :

 wine ~/.wine/drive_c/Program*/" Launcher.exe" 

Use these settings at your own risk ! I am not responsible for any damages that occur during this process . This tutorial is meant for educational purposes only !