I’ve been playing World of Warcraft (WoW) on my Ubuntu Linux machine for quite a while now, and I have found it to be every bit as playable as it was on a Windows machine. Because of my successes with it (after learning some tricks to bring about that success) I decided I would post a short post detailing how I went about getting WoW to work.
First, let me detail the hardware I’m running – that MAY be a key to my success. I’m running an old nForce 2 based motherboard supporting an Athlon Xp 2800+ CPU and a gig of PC3200 ram, a Soundblaster Live 5.1 soundcard and a GeForce 7300 GT video card with 512mb of VRAM. The video card is a newer addition, prior to it I ran a Radeon 9800 Pro – I was running that card when I tried WoW on Edgy. After upgrading to the GeForce the game was playable, but I also had just installed Feisty.
Assuming you have Ubuntu installed already, an exercise I leave to you, the first thing I did was download Envy. Envy is a nice little script that will fetch the latest video drivers for your particular model of video card (nvidia or ati). I’ve used it several times with great results each time. Of course, your mileage may vary so don’t blame me if it doesn’t work for you. Once I had the driver installed I rebooted, I then checked to make sure the driver was working by issuing the following command:
glxinfo | grep rendering
which resulted in this:
Direct Rendering: Yes
if it doesn’t say YES there, then something is wrong and you need to troubleshoot that.
Since mine said yes, I proceeded with the install. First you have to install WINE, which is a compatability layer that allows SOME windows applications to run natively under Linux. WoW happens to be one of the programs that runs just fine using WINE. You can install WINE by going to add/remove programs and searching for it, checking it and installing it.
After it’s installed, it’s a good idea to run the command “winecfg” from the terminal, that will initialize WINE and get you on your way.
Once you’ve got WINE installed and working, it’s time to do the WoW install – this will require a good deal of disk space.
I created a temporary directory on my hard drive and copied the files from each cd to that directory. The exception to that being the Installer.exe – copy that only from Disk 1, not from any of the others (if you overwrite the one from disk one your install will fail – I found this out the hard way). Once you’ve copied all of the files over, simply run the installer with the command “wine path/to/Installer.exe”, making sure to change the path to where you copied the files to.
The installer should run, and install WoW on your machine. You’re not finished yet, though.
You now need to edit the config.WTF file in your WoW installation. Typically this is found in /home/<username>/.wine/drive_c/Program\ Files/World\ of\ Warcraft/
(if the file doesn’t exist, run the game and log in to a character, that will create it). Open the config.wtf file and add the following to the bottom:
SET gxApi "opengl"SET SoundOutputSystem "1" SET SoundBufferSize "150"
That will set the rendering to use OpenGL instead of Direct3D, while Direct3D also works fine for me it does NOT for most people so it’s recommended that you use OpenGL in Linux. The other two lines set the sound system up to work better in Linux, you don’t technically HAVE to add them but they improved sound quality for me.
After that I tried playing but found it to still be kind of slow, I decided to check into it and see what, if anything, I could do to improve things. I found the following:
There’s a registry tweak that will greatly improve performance. To make the tweak you need to open the registry by running the command “regedit”.
Navigate to the following key in the registry window (using the + symbols to expand the trees until you find it): HKEY_CURRENT_USER\Software\Wine
Right click on the Wine folder and select NEW then KEY.
rename the newly created key “OpenGL” minus the quotes.
replace the “new value 1″ with “DisabledExtensions”, again minus the quotes.
Finally, double click anywhere on the newly created key, it’ll bring up a value box. In that box put “GL_ARB_vertex_buffer_object”, minus quotes.
Save everything and close the registry editor. You should now see significantly better performance.
The last thing you need to do is to create a launcher for the game.
First, download a WoW icon suitable for this. From a terminal run:
wget http://kde-files.org/CONTENT/content-files/41569-wow-icon-scalable.svgsudo mv 41569-wow-icon-scalable.svg /usr/share/icons/wow.svggksudo gedit /usr/share/applications/wow.desktop
In the window that opens now, you should put something like this:
Desktop Entry] Encoding=UTF-8 Name=World of Warcraft Name[hr]=World of Warcraft Exec=wine /home/<username>/.wine/drive_c/Program Files/World of Warcraft/WoW.exe Icon=wow.svg Terminal=false Type=Application Categories=Application;Game; StartupNotify=false
replacing <username> with that of your linux user. Save that and close, and you should have a nice new launcher.
You can optionally change the WoW.exe with Launcher.exe, which will run the WoW launcher prior to the actual game. Since this launcher sometimes (at least for me) has downloaded patches for me when it ran, I choose to do that.
Patches and everything else should run just fine by themselves just as if you were running windows.
If you want to install Burning Crusade, you can follow the same install process I listed above for WoW. You won’t need to do the tweaks again – just install and run and you’ll be fine.
That’s how I got WoW installed and running in Ubuntu. It may not work for you, it may work perfectly. I make no guarantees and take no responsibility if it doesn’t work. If you can’t get something to work you can leave a comment here – I’ll try to help as best I can.
I found a lot of the same material here on the Ubuntu Wiki, which is also a good place to look for help.
[tags] World of Warcraft, World of Warcraft Ubuntu, WINE, Ubuntu, Linux Gaming, Gaming [/tags]












I play WoW on Wine (0.9.47) and Ubuntu Fiesty (7.04).
1) Are you playing cutting edge (current Wine 0.9.49 and Ubunutu Gutsy (7.10)? If so, how’s WoW working? I’m a bit loathe to upgrade to either because usually in cutting edge, there are bugs that make the game unplayable or slow.
2) My WoW link has “-opengl” at the end of the .exe path. If I don’t use this, I have problems with WoW. Does your reg edit tweak fix that so it’s not required anymore, or did you just skip that step by accident? If I remove the -opengl text, I can get into WoW to make graphics tweaks, but the game is unplayable and I have double pointers.
I run a similar system to yours: Athalon processor, GEForce video card and a gig of RAM (more specific specifics available on request).
Great article, by the way. A much more streamlined set of instructions over the official WoWWiki/Ubuntu How-to.
Hey Sky,
I’m actually using a mix of cutting edge and stable, I’m running Wine 0.9.46 on Gutsy (7.10). I’m not really having much in the way of slowdowns, unless I have a lot of programs open while playing – but that’s more a resource issue than anything.
As for the -opengl at the end of the .exe path it sounds like you didn’t modify the config.wtf file to include:
SET gxApi “opengl”
The weird graphics are likely caused by trying to load it in direct3d mode – works for some but doesn’t for others. Check the config.wtf file for that string and if it’s not there add it, if it IS there then let me know so I can track down more info.
Thanks for the input! I think I may take some time over the holiday to reformat my Ubuntu machine.
I originally installed (Dapper) without setting up partitions (I was scared lol – Yeah, I’m a Linux noob) and I’m thinking I should do that to make backups easier. Plus, it seems general consensus is that installing Gutsy fresh works better than upgrading from Feisty.
No problem!
While setting up different partitions for backups CAN be good in some cases, it won’t help much if you have a drive hardware failure. You might be better suited with an external hard drive plugged in or using a remote machine to backup to. I use both methods ( i have several machines being backed up, my mac uses time machine and an external drive, my ubuntu machine uses one of my servers to backup to) and both work well.
I definitely agree that installing Gutsy fresh is the way to go, though, I tried upgrading and it crashed about halfway through because it couldn’t (For whatever reason) install tzdata, and subsequently everything that depends on it (which is a lot). A Fresh install worked flawlessly though. Gutsy is definitely better than Feisty, at least it has been for me.
Lastly, There’s nothing wrong with being a linux n00b, everybody starts somewhere and that you took a chance with Linux at all is pretty awesome. If you run into any issues with anything feel free to ping me, I’ll see what I can do to help you resolve the issue.
Hey, GREAT article! WoW was one of the only reasons I keep windows around! Now I’ll only need to boot into windows for the occasional coursework that requires some sort of windows proprietary stuff.
Thanks a lot for this tutorial!
Stubbs:
No problem – glad you found it useful!
First, I want to say the article impressed me so much I copied it instantly into an e-mail to myself for reference later.
Second, my dilemma, I installed 7.10 (Gusty) on my Dell 1520 and did not dual boot trying to force myself to learn Linux to install WoW on it via Wine. Here are my obstacles:
A. No sound
B. I need to make Synaptic package manager either let me install it or get out of the way. It’s even blocking getting Automatix, grrr.
C. Until I can get these resolved I can’t play WoW. Now I am taking course in January for Linux at a community college and I am convinced this can work, just need help.
Thanks and I am sure once I get “A” & “B” fixed your article will be the bomb, until then patience.
Brian:
Later today I will look up the specs for a Dell 1520, but could you provide me with what the sound hardware is in that machine? Dells sometimes use some funky hardware that can make running linux a pain ( my first linux machine was a dell inspiron1100 notebook and was an absolute bear to get working, but I did manage it)
As for Synaptic, what is it doing that is preventing you from getting things?
While it’s entirely possible this could be easily resolved, it’s also just as possible that it will be a long and painful road, hopefully that’s not the case.
Have a couple friends looking into this, I’ll have to pass this along. Been a long time since I messed with Linux.
Wow, it’s like you cut and pasted directly from the Ubuntu forums. Sweet.
@hi:
Parts were indeed originally found on the Ubuntu Wiki article on WoW, other parts however were not (until I added them to the wiki article).
Regardless of that, who cares? I mention the wiki post in my post here, and even SAY that a lot of the material can be found there. It was NOT, as you say, cut and paste. With the exception of specific commands to run, the rest of the content is different and written by me.
My objective was to provide people with information, hopefully helping them in the process. Judging by the comments thus far, I’d say I succeeded.
Thanks for the advice it works on (Gusty) really well the only thing i was wondering is when you hold “alt” and click on a bandage or some food regardless of if you have selected an other opponant it will autmatically heal your self if your a healer or you can drink a health pot, that i cannot do just yet if anyone knows can you please give me a hand