World of Warcraft/Wine
From Gentoo Linux Wiki
| Installation • Kernel & Hardware • Networks • Portage • Software • System • X Server • Gaming • Non-x86 • Emulators • Misc |
Contents |
[edit] Hardware Requirements
The minimum system requirements for World of Warcraft are as follows:
- Intel Pentium® III 800 MHz or AMD Athlon 800 MHz
- 512 MB or more of RAM
- 32 MB 3D graphics card with Hardware Transform and Lighting, such as NVIDIA® GeForce™ 2 class card or above
- 6.0 GB available HD space
- 4x CD-ROM drive
- A 56k or better Internet connection
[edit] Software Requirements
To run World of Warcraft on a Gentoo system, you will need, at the very least, an X server, graphics drivers, and wine.
While any version of Wine will work to an extent, it's better to use the newest Wine package available in portage.
As of this writing, the newest version of Wine is 0.9.58. This version provides many performance benefits over previous versions.
This same principle carries over for video drivers. If you own an nVidia or ATi video card, you should consider unmasking and installing the newest drivers available in portage.
If you are working with a non-standard configuration and find that you want to attempt some of the patches mentioned in this HOWTO, you will need to create a portage overlay. If you are not familiar with this process, please read Create an Updated Ebuild.
[edit] Installing wine
When installing wine, it's highly recommended that you use the most recent version available. Every release of wine includes fixes and patches from previous versions, as well as an added performance benefit.
To install the newest version of wine, you will need to unmask it in portage:
echo "app-emulation/wine" >> /etc/portage/package.keywords
Before you start the emerge, make sure that wine has the opengl, alsa, and oss USE flags enabled. This can be done via /etc/make.conf (for system-wide), or via /etc/portage/package.use (for package-specific):
| File: /etc/make.conf |
[...] USE=" [...] opengl alsa oss" |
| File: /etc/portage/package.use |
app-emulation/wine alsa oss opengl |
[edit] Installing WoW
For most users, installing direct from CD works without a hitch. Others report that installing locally or using the trial installer works better. All of these options are covered here.
[edit] Installing via CD/DVD
[edit] Installing via Collector's Edition DVD
To start the installation, just run wine {YOUR_DVD_MOUNT_POINT}/Installer.exe
[edit] Installing via CD
To install via CD, you must first set up a mountpoint in wine.
- Start by opening the wine configuration utility: winecfg
- Switch to the Drives tab. Click Add to create a new drive (be sure to remember the drive letter you selected).
- Highlight your newly created drive entry and expand the info by clicking on Show Advanced.
- Enter the path of your CDROM's mountpoint in the Path field. UnderType, select CDROM.
- Finish the setup by clicking Apply, then exit the configuration utility by clicking OK.
- Insert the first WoW disk and mount your CD. Now you can open a Console and type in the command to launch the install:
wine X:\installer.exe
Where X:\ is the drive letter you selected in step 2.
When you are prompted to insert the next CD, simply unmount the drive (umount CD_MOUNT_PATH), insert the next CD, mount it, and click OK.
[edit] Installing via Local Store
This installation method involves copying all of the necessary files off the installation discs and running the install locally. This elminates some troubleshooting steps, and also may increase the installation speed.
The files required from each disc are the Installer Tome #.mpq files and the Installer program.
- Create a folder to store the installation files: mkdir ~/WoWinstall
- Insert the first installation disc and mount it.
- Copy the contents of the disc to the folder: cp -rg "/mnt/cdrom/* ~/WoWinstall/
- When the copy is finished, insert the next disc, mount it, and copy Installer Tome 2.mpq: cp -g "/mnt/cdrom/Installer Tome 2.mpq" ~/WoWinstall/
- Repeat this process for CDs 3, 4, and 5, replacing the X in Installer Tome X.mpq with the CD number you are on.
- Once this process is complete, you can now start the installation: wine ~/WoWinstall/Installer.exe.
[edit] Installing via Trial Download
[edit] Trial Download Links
Included are the links for installing WoW with the trial download. There are two methods of downloading: with the Blizzard Downloader, and with a BitTorrent client. Both download methods are covered below.
- WoW Europe Version: http://www.wow-europe.com/shared/wow-com/downloads/files/wow-trial/WoW-enGB-Installer-downloader.exe
- BC Europe Version: http://wow-europe.com/shared/downloads/protected/burningcrusade/pc/WoW-BurningCrusade-enGB-Installer-downloader.exe
- WoW US Version: http://www.worldofwarcraft.com/downloads/files/pc/wowclient-downloader.exe
- BC US Version: https://www.worldofwarcraft.com/account/download/bc-clientdownload.html
[edit] Using the Blizzard Downloader
Downloading the trial with the Blizzard Downloader should proceed with no problems, as this program is supported with wine, and (as of this writing) there have been no reported problems with the Blizzard Downloader.
[edit] Using a BitTorrent Client
If you do not want the Blizzard Downloader to take up all your up- and downstream, do the following:
- Open a hexeditor (like khexedit or vim in binary mode) and search for the ASCII-string d8:announce within the downloader.
- Copy everything from that point (including the d8:announce) to the end of the downloader into a new file.
- Cut the last 8 bytes off of that new file (the file should then be ending with a lower e), and save it as a .torrent
You can now download the patches with the BitTorrent client of your choice!
[edit] Installing
Now that the necessary files are downloaded, navigate to the folder where the files are located and start the installation: wine Installer.exe
[edit] Creating an Icon
To extract the icon from WoW.exe to create a launcher, do the following:
- Emerge icoutils: emerge icoutils
- Extract the image:
wrestool -x --output=. -t14 /{PATH_TO}/WoW.exe
You will have an icon file. Use eog or another program to convert it to a png, and add a launcher to your desktop.
[edit] Performance Tweaks
[edit] Kernel Boot Parameter
Users of nvidia 8800 GTS and GTX cards have reported significant performance increases (around 10-30 fps improvements) by adding the vga=normal boot option on kernels 2.6.22 and 2.6.23.
[edit] OpenGL Registry Edit
A common performance tweak for wine and opengl games is a registry edit. While your results may vary, many users report up to a 100% increase in framerate with no loss of stability. To make this change, do the following:
- Open regedit (regedit)
- Navigate to HKEY_CURRENT_USER\Software\Wine\
- Right click on the wine folder and select [NEW] then [KEY].
- Replace the text New Key #1 with OpenGL (case sensitive).
- Right click in the right panel and select [NEW] then [String Value].
- Replace the text New Value #1 with DisabledExtensions (case sensitive).
- Now right click on DisabledExtensions and select Modify
- A dialog box should appear. In the value field type GL_ARB_vertex_buffer_object
[edit] Startup Script
The idea for this tweak is to create a script which will allow you to launch WoW on a dedicated X server, and will give you a little FPS boost (up to 10-15fps).
- Start by creating the script: nano -w ~/launch-wow.sh
- Paste the following in the script:
| Code: ~/launch-wow.sh |
#!/bin/sh
export WOW_PATH=~/".wine/drive_c/Program Files/World of Warcraft" # Installation path
X :3 -ac -terminate & # Launch on a new X session on display 3
cd "${WOW_PATH}" # Goto WoW dir
sleep 2
DISPLAY=:3 `which wine` Wow.exe -opengl # Launches WoW
|
- Press Ctrl+O then Ctrl+W to save and quit nano.
- Make your script executable: chmod +x ~/launch-wow.sh
[edit] Enabling hardware rendering
You should verify that you are actually rendering the game with OpenGL, not just software. If you are getting 1 FPS or the game is virtually unplayable, you're probably using software rendering. To switch to hardware/OpenGL rendering, run the following command as root:
For nVidia Cards: eselect opengl set nvidia
For ATi Cards: eselect opengl set ati
Exit X, Log out and back in, then start X again. Startup WoW, and you should be fine. See http://forums.gentoo.org/viewtopic-t-448436-start-375.html.
[edit] Config.wtf Tweaks
The Config.wtf file is located in the WTF folder in your WoW installation. By default, this location is /home/<username>/.wine/drive_c/Program\ Files/World\ of\ Warcraft/.
[edit] OpenGL
Instead of launching WoW with the -opengl switch, you can make the change permanent by adding the following line:
SET gxApi "opengl"
[edit] Updating WoW
To begin the update process, you must first start WoW. The default location is ~/.wine/drive_c/Program Files/World of Warcraft/WoW.exe -opengl)
When you run that and log in, the updater should start downloading the patch.
[edit] Troubleshooting
See World of Warcraft/Troubleshooting
[edit] Special Thanks
The following people have done a lot in order to get WoW running on Wine. Thank you for helping ensure this wonderful game runs on wine.
- Darckness for the Support thread on Gentoo Forums and his original Wiki
- Raphael Junqueira for the patches which kept WoW running since WoW version 1.3.0
- pagefault for the tips for ATI users
- Septor for his coding efforts and the one who dug out the Cedega solution for wine
- and all other who are helping and supporting our little WoW support forum.
- and Ian for being cool
