World Of Warcraft is one of the most successful games in history, with 9.3 million subscribers and counting. Believe it or not, the beta test of World of Warcraft actually had a Linux client. It’s true! When the game shipped, support for Linux was dropped and the game never shipped with a Linux client.
What a shame! The good news is, there’s been some positive collaboration between members of the Linux developer community who work on and contribute code to projects like Wine, Cedega and CrossOver. Because of this, installation and configuration of World of Warcraft is a snap for those of you who are interested in getting rid of your Windows partitions lying around if WoW is your game of choice.
We have 8 steps to complete to play the game:
1. Configure 3D drivers with Envy.
2. Install WINE and fonts.
3. Configure WINE.
4. Download (or install from media) the actual game.
5. Edit config.wtf
6. Create a Registry key
7. Install a Linux specific AddOn
8. Launch the game!
1. First, we need to check to see if we have correct and working video card drivers that will work with the game. Open a terminal and type in this command:
glxinfo | grep rendering
It should return with something like this:
direct rendering: Yes
If it says “no
” then we have to install the right drivers.
If you have an ATI or nVidia card, the quickest way is to use Envy. Head on over to the website and snatch a copy of the script. Scroll about halfway down and you’ll see the link that ends in .deb – that’s what you want if you’re running Ubuntu or Debian.
Open up the Envy .deb file once it’s done downloading, and we should be prompted with an installer program, just hit the install button and follow the prompts. After it’s installed, we will need to start up the script by going into the Application Menu, then System Tools, then select Envy.
Select “Install the NVIDIA driver” (or ATI driver) and press Apply. This process takes about 5 minutes to complete, so go make a sandwich and reboot your computer when it prompts you to do so.
Don’t worry if it seems like it’s not making progress – just be patient. After rebooting, run the glxinfo | grep rendering
command again, and this time it should respond “yes
” this time.
2. Then, we are going to install two items before we can actually start installing the game.
a. WINE allows us to run Microsoft Windows executable files
b. To make things look pretty, we need to download two different font packs.
In Ubuntu 7.10, the following command will install all three items in short order. You can open a run dialog box by pressing Alt+F2 simultanously (or open a terminal), then paste in the following:
sudo apt-get install wine msttcorefonts ttf-xfree86-nonfree
Type in the password for your user account, and follow the prompts. After that command completes, we’re just about done preparing the system and can install the game *almost* as easily as in Windows.
3. Configuring Wine
By running the winecfg
command, we can choose which sound driver to use (OSS or ALSA), and also switch compatibility modes – just like XP and Vista have done for quite some time, WINE allows us to switch between different operating systems to allow for better compatibility with various programs.
Some users have reported that switching WINE to use NT 4.0 compatibility, issues with patches or installations have been resolved. If you run into problems, you may want to try here first. I left it on Windows XP mode the entire time and had no problems, but your mileage may vary.
4. We need to download and/or install the game from media.
I personally have an old account that has been sitting dormant for approximately a year, and I’ve thrown away my installation media. The easiest way to install WoW and TBC is using the original CDs, but if you don’t have them, or have a pretty fat internet pipe, Blizzard helpfully provides online downloads via BitTorrent, so that’s the method I’ll document here today.
Since I’m showing how to install via download, here’s the two links you need. The first one is to download the original WoW game installation files, and the second link requires you to login to verify that you actually have The Burning Crusade expansion enabled on your account before you can get the BT download program for TBC from Blizzard.
http://www.worldofwarcraft.com/downloads/files/pc/wowclient-downloader.exe
https://www.worldofwarcraft.com/account/download/clients/pc/bc-downloader.html
Both of these files utilize BitTorrent technology to allow users to download the entire game, except for the latest patch. These files are updated pretty often, so you usually don’t need to install more than one patch after you’ve got the game installed.
To run them, just open them up just like you would on a Windows computer. They should automatically open up in WINE, and after you select a download destination, you’ll have a pretty familiar window staring you right in the mullet.
NOTE: Your internet bandwidth is going to be sucked up completely by the download client. If you need to browse the web or anything in the meantime while you download over 4GB of data, select the View menu in the download program and select preferences, then uncheck download from peers.
When these are done downloading and installing, we can go and get a few tweaks setup so that everything will run smoothly once the game is downloaded.
5. We need to setup the config.wtf file inside your WoW folder, by default it is located in the ~/.wine/drive_c/Program\ Files/World\ of\ Warcraft/
directory. If it doesn’t exist, login to the game once, and just exit right out. The game will create a default one for you.
We need to append a few items to this file to use the OpenGL rendering engine (instead of DirectX or Software rendering) and make sure we have everything setup to run properly under WINE.
You can run this command to edit the file:
gedit ~/.wine/drive_c/Program\ Files/World\ of\ Warcraft/wtf/Config.wtf
Then paste these lines at the end:
SET gxApi "opengl"
SET ffxDeath "0"
SET ffxGlow "0"
SET SoundOutputSystem "1"
SET SoundBufferSize "150"
6. Next, we create a registry key and value.
The following instructions to modify the registry are taken directly from the Ubuntu wiki page and is licensed under CC-BY-SA.
a. Find this key HKEY_CURRENT_USER\Software\Wine\
b. Highlight the wine folder in the left hand pane by clicking left on it. The icon should change to an open folder
c. Right-click on the wine folder and select [NEW] then [KEY]
d. Replace the text New Key #1 with OpenGL
e. Right-click in the right hand pane and select [NEW] then [String Value]
f. Replace New Value #1 with DisabledExtensions (Notice it's case sensitive!)
g. Then double click anywhere on the line, a dialog box will open.
h. In the value field type GL_ARB_vertex_buffer_object
It should look like this:
7. Now we can install a Linux-specific AddOn for the game so that the graphics options are able to be modified in-game without crashing. Download this file and unzip it.
applytoforehead-4.zip
Copy the entire extracted ApplyToForehead-4 folder into the following location:
~/.wine/drive_c/Program\ Files/World\ of\ Warcraft/Interface/AddOns/
If the Interface or AddOns folder do not exist, go ahead and create them.
8. We can launch the game from the desktop shortcut, or create one pointing to the wow.exe file within the WoW folder.
You should end up with the launch executing flawlessly:
Now just hit the Play button and enjoy the most addicting game since slot machines. On the character selection screen, make sure to enable out of date AddOns so that ApplyToForehead is loaded properly.
That’s it! If you have problems with running the game, please leave a comment and I’ll attempt to answer it, or look for support channels via the following wikis:
Ubuntu: https://help.ubuntu.com/community/WorldofWarcraft
Anything else: http://www.wowwiki.com/Linux/Wine
And for your enjoyment, here’s a video. 🙂