A short how to World of Warcraft
In order to get World of Warcraft to run you must have the 3d driver installed properly
on the command line:
$glxinfo | grep rendering
should return
direct rendering: Yes
PLEASE NOTE:
I know that when using nvidia you must also have the .i686 library installed as well. Im not sure for ati.
Next install wine
navigate to System->Administration->Add/Remove Software
Then navigate to Applications->wine->Wine Configuration
select the audio tab
check alsa, and set hardware acceleration to Full (this may require experimentation)
select the graphics tab
set vertex shader to hardware and check allow pixel shader.
Next add these DLL's to your setup. In your .wine/drive_c/windows/system32 folder:
Pidgen.dll
mfc42.dll
msvcp60.dll
mfc40.dll
Now you should be ready to start installing the game, so insert your disk and right click on the install.exe file.
In order to install wrath of the lich king on the command line use (as root): #mount -o remount,unhide /dev/sr0
this will alow you to see the .mpq files on the cd. I usually copy the patch files from another installation inorder to save on install time.
Once the game is installed and you are ready to run it for the first time you need to add: -opengl to the end of the .exe command, like:
$env WINEPREFIX="/home/yourusername/.wine" wine "C:\Program Files\World of Warcraft\Launcher.exe" -opengl
or frome the command line
$wine /home/yourusername/.wine/drive_c/Program Files/World of Warcraft/Launcher.exe -opengl
Fedora usually puts an icon on the desktop; you can add the opengl switch by right clicking, select the basic tab and edit the "Command" line.
When the installer prompts you to install gecko(html rendering) say yes so you can see all the new and update information on the launcher screen.
After the game has been run one you can edit the WTF file. Located .wine/drive_c/Program Files/World of Warcraft/WTF
config.wtf; its just a text file. Add the following:
SET gxApi "opengl" (if this is present you no longer need the -opengl switch)
SET SoundOutputSystem "1"
SET SoundBufferSize "150" (prevents sound issues)
SET ffxDeath "0"
SET ffxGlow "0"
Now you should be able to launch wow and enjoy.
In order to improve preformence you can add the following:
navigate to Applications->wine->regedit
HKey_Current_User+Software+wine
add key Direct3D+DirectDrawRenderer gdi(or OpneGL)(case sensitive)
+RenderTargetLockMode readdraw
+VideoMemorySize 512(Size in MB)
+OffscreeenRendingMode backbuffer
+UseGLSL enabled
+VertexShaderMode hardware
+DisabledExtensions GL_ARB_vertex_buffer_object
I have had "stuttering" in wow; this fix adjusts cfs scheduler
you edit the file: /etc/sysctl.conf
add the following:
# World of Warcraft stutter and flickering line fix
kernel.sched_features=21
kernel.sched_batch_wakeup_granularity_ns=25000000
kernel.sched_min_granularity_ns=4000000
Most of the information, I got came from:
http://www.wowwiki.com/Wine