个人工具

“UbuntuHelp:WorldofWarcraft”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示2个用户的13个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/WorldofWarcraft}}
 
{{From|https://help.ubuntu.com/community/WorldofWarcraft}}
 
{{Languages|UbuntuHelp:WorldofWarcraft}}
 
{{Languages|UbuntuHelp:WorldofWarcraft}}
Parent: [[UbuntuHelp:Games]]
+
#title World of Warcraft on Ubuntu
 
+
<<Include(Tag/StyleCleanup)>>
 
+
This howto is for installing and playing World of Warcraft using Wine under Ubuntu.
 
+
Wine is a free open source implementation of the proprietary Win32 API, and attempts to enable Windows applications and games to run on Unix-like operating systems.  
This howto is for installing and playing World of Warcraft using Wine under Ubuntu-x86.
+
World of Warcraft can also be played under Ubuntu by using the Wine based [http://www.codeweavers.com/products/cxgames/ CrossOver Games], [http://www.transgaming.com/ Cedega] and [http://www.playonlinux.com/ PlayOnLinux]. This howto, however, does not address these three.
 
+
== Before you get started ==
Wine is a free open source implementation of the proprietary Win32 API, and attempts to enable Windows applications and games to run on Unix-like operating systems. DirectX support in Wine leaves much to be desired, but when run in OpenGL mode, World of Warcraft is one of the Windows based games that is best supported by Wine at the moment. It runs especially well on Nvidia video card hardware, though many ATI and even Intel users report good results.
+
In Linux, [http://en.wikipedia.org/wiki/Direct_Rendering_Infrastructure Direct Rendering Infrastructure] (DRI) facilitates faster graphics rendering, so before you begin the installation you should check whether DRI is enabled. To do this, run the following command:
 
+
<pre><nowiki>
World of Warcraft can also be played under Ubuntu by using the proprietary Cedega and CrossOver Linux. This howto, however, does not address these two.
+
glxinfo | grep rendering</nowiki></pre>
 
+
You should see output similar to this:
 +
<pre><nowiki>
 +
direct rendering: Yes</nowiki></pre>
 +
If this line says "No", it means that graphics data will not be passed directly to the graphics hardware, thus significantly reducing speed at which WoW will run. This is usually caused by a configuration issue with the graphics card driver. See the troubleshooting section for elaboration.
 +
Note though that even if you do have Direct Rendering, it might not be enough. If you graphics card is an Intel GMA, your performance will be low in any case. Most people who successfully play WoW on Ubuntu are probably using an NVIDIA or ATI card with proprietary drivers.
 
== Installing Wine ==
 
== Installing Wine ==
 +
The official deb package file of Wine from WineHQ's [http://www.winehq.org/site/download-deb download page], is recommended for most users, as it works almost out of the box for most people, and has a [http://appdb.winehq.org/appview.php?iVersionId=6482 gold rating] at the moment.
 +
For full instructions on installing Wine see the [[UbuntuHelp:Wine|Wine]] page.
 +
=== Deb package ===
 +
<ol><li>You can easily install Wine through the repositories. Ubuntu will automatically configure and install it for you. You can go to System, then Administration and Synaptic Package Manager, search for it and mark for installation.</li></ol>
  
The unofficial deb file of the current version of Wine (0.9.34), from [http://www.winehq.com WineHQ], works almost out of the box for most users and has a [http://appdb.winehq.org/appview.php?iVersionId=6482 gold to platinum rating] at the moment. Other experienced users, who are unable to make this work, may want to try to compile Wine from source in order to play WoW. Instructions can be found here:
+
You may also use the command line. Simply run:
https://wiki.ubuntu.com/BuildingWineFromSource
+
 
+
=== Latest Wine from the unofficial WineHQ repository ===
+
 
+
For full instructions on installing Wine see the [[UbuntuHelp:Wine]] page. [http://www.winehq.com WineHQ] provides the newest versions of Wine packaged for Ubuntu. To use these, you need to add the WineHQ repository and then install Wine. For additional help on adding repositories, see the [[UbuntuHelp:Repositories]] page.
+
 
+
* Open a terminal(also called a console, CLI, and command prompt) and choose '''one''' of these three commands to run, based on your version of Ubuntu:
+
 
+
'''For Ubuntu Feisty (7.04):'''
+
 
<pre><nowiki>
 
<pre><nowiki>
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/feisty.list -O /etc/apt/sources.list.d/winehq.list</nowiki></pre>
+
sudo apt-get install wine</nowiki></pre>
 
+
In Ubuntu 9.10, there is a <code><nowiki>wine1.2</nowiki></code> package which should work better.
'''For Ubuntu Edgy (6.10):'''
+
1.#2 Before proceeding to install World of Warcraft you must run winecfg at least once (it must setup the ~/.wine directory structure before you can install Windows applications into it). This is a very important step. In a Terminal window type the following:
 
<pre><nowiki>
 
<pre><nowiki>
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/edgy.list -O /etc/apt/sources.list.d/winehq.list</nowiki></pre>
+
winecfg</nowiki></pre>
 
+
Select your Windows type, configure disk and removable drives, etc, then press Apply and Ok. As it closes, winecfg will create a .wine directory structure in your home folder, populating with information about drives and devices installed in your system. If you fail to do this before trying to install World of Warcraft then you'll probably see errors like the following when running winecfg in the future:
'''For Ubuntu Dapper (6.06):'''
+
 
<pre><nowiki>
 
<pre><nowiki>
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/dapper.list -O /etc/apt/sources.list.d/winehq.list</nowiki></pre>
+
err:winecfg:apply_drive_changes  unable to define devicename of 'C:'</nowiki></pre>
''Note: These repositories are recommended on the WineHQ website: http://winehq.org/site/download-deb''
+
=== Compiling Wine from source ===
 
+
Other experienced users, who are unable to make this work or just want more control over the installation, may want to try to compile Wine from source in order to play WoW. Instructions can be found here:
*#2 Now do these three commands in a terminal:
+
https://wiki.ubuntu.com/BuildingWineFromSource
<pre><nowiki>
+
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
+
sudo apt-get update
+
sudo apt-get install wine</nowiki></pre>
+
 
+
 
+
 
== Installing WoW ==
 
== Installing WoW ==
 
+
==== Original WoW ====
* Click on Places -> Home Folder in the top panel. Use this application to create a directory and copy all of the files from all of the CD's to this directory on your hard drive (overwrite when prompted).
+
If you have access to the installation discs is to copy the contents to your hard disk and run them from there. If you have the new DVDs see the note below.
* Then start the installation by opening a terminal and doing these commands:
+
* Create a convenient directory ( 'wow_install' on your Desktop for example)
 +
* Copy all of the files from the first WoW CD to this new directory. 
 +
* For each of the remaining WoW CD's, copy just the 'Installer Tome #.mpq' files. In the end, you should have the 'DirectX' directory, and the 'autorun.inf', 'installer.ico', 'Installer Tome.mpq', and 'Installer.exe' files from disc 1, and 'Installer Tome 2.mpq', 'Installer Tome 3.mpq', 'Installer Tome 4.mpq', and 'Installer Tome 5.mpq' from the remaining discs.  Note that the 'Installer.exe' file on the first disc is different from the files of the same name on the subsequent discs; if you get the wrong one the install will fail with <pre><nowiki>
 +
Unrecognized key "options". (AttributeParser::Parse)</nowiki></pre>
 +
* '''Note''' that on some WoW DVD's the installer executable is hidden and you need to re-mount the disc with the 'unhide' option. To do this type in a terminal:<pre><nowiki>
 +
  sudo umount /dev/cdrom
 +
  sudo mount -t iso9660 -o ro,unhide /dev/cdrom /media/cdrom0/</nowiki></pre>
 +
* Start the installation by opening a terminal and running these commands:
 
<pre><nowiki>
 
<pre><nowiki>
cd /<path-to-directory>/
+
cd /<path-to-directory>/
wine Installer.exe</nowiki></pre>
+
wine Installer.exe</nowiki></pre>
Replace <code><nowiki><path-to-directory/></nowiki></code> with the right path to the directory where you copied all the files.
+
Replace <code><nowiki><path-to-directory/></nowiki></code> with the right path to the directory where you copied all the files above.
*#3 Some dialogs during installation may appear blank or garbled, and the installer may even hang for up to 5 minutes at 100% CPU, while appearing to be doing nothing. Simply wait and click next when possible.
+
''Some dialogs during installation may appear blank or garbled, and the installer may even hang for up to 5 minutes at 100% CPU, while appearing to be doing nothing. Simply wait and click next when possible.''
 
+
''Note: If you have not already done so, you may want to install [[UbuntuHelp:RestrictedFormats/Microsoft_Fonts|Microsoft's|proprietary fonts]], because they can solve some text related graphical glitches during installation.''
''Note: If you haven't already done so, you may want to install [https://help.ubuntu.com/community/RestrictedFormats/Microsoft_Fonts Microsoft's proprietary fonts], because they can solve some text related graphical glitches during installation.''
+
==== Burning Crusade ====
 
+
The BC install is more or less the same as the base game install. 
'''Alternative 1:'''
+
* Create a new directory separate from the directory where you copied the original game discs.  [B][/B]
 +
* Copy the 'Autorun.inf', 'Installer.exe', 'Installer.ico', and 'Installer Tome.mpq' files from the first Burning Crusade disc to this new directory. 
 +
* Copy just 'Installer Tome 2.mpq', 'Installer Tome 3.mpq', and 'Installer Tome 4.mpq' from the remaining install discs.
 +
* Run the installer by opening a terminal and executing these commands:
 +
<pre><nowiki>
 +
cd /<path-to-directory>/
 +
wine Installer.exe</nowiki></pre>
 +
Replace <code><nowiki><path-to-directory/></nowiki></code> with the right path to the directory where you copied all the files (the BC files, not the original WoW files).
 +
==== Alternate Installation Methods ====
 +
If the above isn't possible for some reason (you don't have the discs for example, or a working media drive), here's some alternate ways to install the game.
 +
===== Alternative 1 (Copy from Windows): =====
 
You can also just install WoW in Windows and then copy the entire World of Warcraft folder over from your Windows installation.
 
You can also just install WoW in Windows and then copy the entire World of Warcraft folder over from your Windows installation.
 
+
===== Alternative 2 (Download the Entire Game): =====
'''Alternative 2:'''
+
If you have lost a CD, do not have access to a CD drive or simply would not like to bother with patching and messing with the CD's, you can download and run the installer, which is in fact the full game almost fully patched, from the blizzard downloader. They work very nicely with Wine.
Or if you have lost a CD, do not have access to a cd drive or simply don't wanna bother with patching and messing with the CD's, you can download the trial version, which is the full game almost fully patched, from the blizzard torrentlike downloader.
+
Installer Downloads:
 
+
[http://www.worldofwarcraft.com/downloads/files/pc/wowclient-downloader.exe Original WoW - US Version]
[http://www.wow-europe.com/shared/wow-com/downloads/files/wow-trial/WoW-enGB-Installer-downloader.exe] (European Version)
+
[https://www.worldofwarcraft.com/account/download/bc-clientdownload.html Burning Crusade - US Version] (requires a valid account for log in)
 
+
[http://www.wow-europe.com/en/burningcrusade/download/ WoW - European clients, in all languages]
[http://www.worldofwarcraft.com/downloads/files/pc/wowclient-downloader.exe] (US Version)
+
 
+
Burning Crusade download: -
+
 
+
[http://www.wow-europe.com/shared/downloads/protected/burningcrusade/pc/WoW-BurningCrusade-enGB-Installer-downloader.exe] (European Version)
+
 
+
The US installer for BC can be obtained by logging in and going to the following page:  [https://www.worldofwarcraft.com/account/download/bc-clientdownload.html].
+
 
+
They work very nicely with wine.
+
 
+
 
In order to use the Blizzard Downloader effectively, you must 1) open certain ports on your computer and 2) enable port forwarding on your router.
 
In order to use the Blizzard Downloader effectively, you must 1) open certain ports on your computer and 2) enable port forwarding on your router.
 
+
====== Firewall Configuration for Blizzard Downloader ======
* The easiest way to open these ports is to use the firewall program Firestarter. From the command line, install Firestarter with this command: <code><nowiki>sudo apt-get install firestarter</nowiki></code>. When it is running, select the "Policy" tab, right-click in the Allow Service area, and select Add Rule. Under port, type <code><nowiki>6112</nowiki></code> and make sure that the "Anyone" radio button is selected. Make a note in the comments field that this port relates to Blizzard. Repeat these steps for ports <code><nowiki>3724</nowiki></code> and for the range <code><nowiki>6881-6999</nowiki></code> (which will be recognized as BitTorrent ports).
+
The easiest way to open these ports is to use the firewall program Firestarter.  
 
+
* From the command line, install Firestarter with this command: <code><nowiki>sudo apt-get install firestarter</nowiki></code>.  
* Next, configure your router to forward those ports on the router to your computer only. The steps are similar to the above, but vary slighly from router to router and may be found on Blizzard's website: [http://www.blizzard.com/support/wow/?id=aww01199p]  
+
* When it is running, select the "Policy" tab, right-click in the Allow Service area, and select Add Rule.  
 
+
* Under port, type <code><nowiki>6112</nowiki></code> and make sure that the "Anyone" radio button is selected. Make a note in the comments field that this port relates to Blizzard.  
Once the Burning Crusade downloader is set up and the network is configured for it, run it with (US Version):
+
* Repeat these steps for ports <code><nowiki>3724</nowiki></code> and for the range <code><nowiki>6881-6999</nowiki></code> (which will be recognized as [[UbuntuHelp:BitTorrent|BitTorrent]] ports).
 +
====== Router Configuration for Blizzard Downloader ======
 +
Next, configure your router to forward those ports on the router to your computer only. The steps are similar to the above, but vary slightly from router to router and may be found on Blizzard's website: [http://www.blizzard.com/support/wow/?id=aww01199p]  
 +
Once the firewall is configured and the network port forwarding is working, run the downloader with (Burning Crusade US Version example):
 
<pre><nowiki>
 
<pre><nowiki>
 
wine WoW-BurningCrusade-enUS-Installer-downloader.exe</nowiki></pre>
 
wine WoW-BurningCrusade-enUS-Installer-downloader.exe</nowiki></pre>
 
 
== Configuration ==
 
== Configuration ==
 
+
=== OpenGL or Direct3D ===
WoW will run best using <code><nowiki>OSS</nowiki></code>. Run <code><nowiki>winecfg</nowiki></code> in a terminal and a window should appear. Select <code><nowiki>Audio</nowiki></code>, then select <code><nowiki>OSS Driver</nowiki></code> as Wine's sound driver. Make sure no other driver is selected.
+
==== Background ====
 
+
The Windows version of World of Warcraft supports rendering using either Direct3D mode (the default) or OpenGL mode (it can be configured to use OpenGL).
Next, find the file <code><nowiki>wtf/Config.wtf</nowiki></code> in your WoW directory. By default it is found in <code><nowiki>/home/<username>/.wine/drive_c/Program\ Files/World\ of\ Warcraft/</nowiki></code>, where <username> is you computer login name. If the file does not exist, run the game and log into a character.  The game should then create the file.  Open it using a text editor, and add the following lines:
+
On Windows, most people just use the Direct3D mode, as it is the most tested and it has a number of features over the OpenGL mode, such as support for a hardware cursor.
 +
In wine, Direct3D is supported only through an emulation layer (known as WineD3D), that runs on top of OpenGL. At the moment, WineD3D lowers the fps enough that most people running WoW using wine tend to use the OpenGL mode instead.
 +
WoW can be set to use its OpenGL mode as follows:
 +
Find the file <code><nowiki>wtf/Config.wtf</nowiki></code> in your main WoW directory. By default it is found in <code><nowiki>/home/<username>/.wine/drive_c/Program\ Files/World\ of\ Warcraft/</nowiki></code>, where <username> is you computer login name. Note that since .wine begins with a period, you will not be able to see it, but you may still access it in a terminal. In the Nautilus file manager, you can press <code><nowiki>Ctrl + h</nowiki></code> to see hidden files. If config.wtf does not exist, run the game and log into a character, then exit WoW.  The game should then have created the file.  Open it using a text editor, and add the following line to it:
 
<pre><nowiki>
 
<pre><nowiki>
SET SoundOutputSystem "1"
+
SET gxApi "opengl"</nowiki></pre>
SET SoundBufferSize "150"
+
==== Hardware cursor in OpenGL ====
SET gxApi "OpenGL"
+
There is a workaround to get a kind of hardware cursor even in OpenGL mode. The workaround is to use a slightly modified version of Wine which will always display the X11 cursor (which is not laggy). If you are interested, there is a [http://ubuntuforums.org/showthread.php?t=1051483 thread] in the forums discussing it. Instructions explaining how to get started can be found in the thread.
</nowiki></pre>
+
=== Audio configuration ===
 
+
If you have a recent version of wine (for instance the <code><nowiki>wine1.2</nowiki></code> package in Ubuntu 9.10), your audio should in many cases just work.
To make the sidebuttons on your mouse work in WoW follow this link:
+
What will be used in this case is the ALSA driver of wine. Alsa-lib will be sending all its audio out through PulseAudio, as is the case for many applications running on Ubuntu.
http://www.cs.cornell.edu/~djm/ubuntu/#enable-5button-mouse
+
However, if you are using an older version of Wine and/or Ubuntu, you may need to switch wine to use its OSS driver. To do this, just type <code><nowiki>winecfg</nowiki></code> in a terminal, press enter, and the wine configuration application window should appear and you should go to the <code><nowiki>audio tab</nowiki></code>.
 
+
In there, choose <code><nowiki>OSS</nowiki></code>. Make sure you only have one sound output system (e.g. ALSA/OSS/ESD) ticked at a time.
=== Optional performance enhancing tweaks ===
+
When an application is outputing sound through OSS, it will (by default) cause conflicts with other applications outputing audio. To solve this issue, make sure your wine is started through <code><nowiki>padsp</nowiki></code> (or <code><nowiki>aoss</nowiki></code> if you are using a very old version of Ubuntu). So for instance start wine by typing <code><nowiki>padsp wine WoW.exe</nowiki></code> rather than just <code><nowiki>wine WoW.exe</nowiki></code>.
 
+
==== Voice chat ====
The following tweaks are are gathered from this thread on Ubuntuforums.org: http://www.ubuntuforums.org/showthread.php?t=303509
+
''With the introduction of PulseAudio in 9.10, this section is severely inaccurate -- the main problem for the user in 9.10 becomes separating the "Wine" channels between WoW and Ventrilo, as PulseAudio treats Wine as the same app (i.e. Vent and WoW are all "wine" to PA)''
 
+
Running voice chat applications (such as Ventrilo) in wine suffers from the same potential audio related problems as WoW.
==== Tweak #1 ====
+
Meaning, if you have set up wine to use OSS, you need to start wine as described above (using padsp), or you will not (in most cases) be able to use Voice chat and other audio appliications (such as WoW).
 
+
Using a newer version of wine combined with the ALSA driver should (in many cases) work fine anyway.
This is a simple registry edit for Wine that reportedly may dramatically increase the framerate in game for both ATi and nVidia users.
+
As an alternative to running Ventrilo in wine, there is also [http://www.mangler.org/ Mangler].  
 
+
== Playing ==
* Open a regedit window with this command <code><nowiki>regedit</nowiki></code>
+
=== Start from the Desktop Icon ===
 
+
Double click the icon you find on your Desktop titled World of Warcraft, this will start the launcher. If you have never used something requiring HTML rendering with Wine you will be prompted to download and install the Gecko rendering engine, you should do this as it will enable the WoW Launcher to display news.
* Find this key <code><nowiki>HKEY_CURRENT_USER\Software\Wine\</nowiki></code>
+
=== Start from the Terminal ===
 
+
Starting from the terminal is simple, just enter:
* Highlight the wine folder in the left hand pane by clicking left on it. The icon should change to an open folder
+
 
+
* Click right on the wine folder and select <code><nowiki>[NEW]</nowiki></code> then <code><nowiki>[KEY]</nowiki></code>
+
 
+
* Replace the text <code><nowiki>New Key #1</nowiki></code> with <code><nowiki>OpenGL</nowiki></code>
+
 
+
* Click right in the right hand pane and select <code><nowiki>[NEW]</nowiki></code> then <code><nowiki>[String Value]</nowiki></code>
+
 
+
* Replace <code><nowiki>New Value #1</nowiki></code> with <code><nowiki>DisabledExtensions</nowiki></code> (Notice it's case sensitive!)
+
 
+
*#8 Then double click anywhere on the line, a dialog box will open.
+
* In the value field type <code><nowiki>GL_ARB_vertex_buffer_object</nowiki></code>
+
 
+
''Note: If you are unable to rename the newly created key "New Key #1" to "OpenGL" then expand the left hand pane of the regedit window using the vertical divider bar. You should now be able to change it. A known bug in Wine is causing this unwanted behavior.''
+
 
+
Here's what regedit should look like once you have finished adding this new key and it's value:
+
 
+
http://appdb.winehq.org/appimage.php?iId=4640
+
 
+
 
+
==== Tweak #2 ====
+
 
+
The idea with this tweak is to create a script which will allow you to launch WoW on a dedicated X server, which may give you a little boost of FPS.
+
 
+
''Note: in contrast to the first tweak this one will not enhance performance very much or even not at all for some users, and it is also known to be more troublesome with errors, therefor it will not be worth the effort for most users and should be considered being more oriented for advanced users who enjoy the challenge.''
+
 
+
* <code><nowiki>nano -w ~/launch-wow.sh</nowiki></code>
+
 
+
* Put this content in your newly created file:
+
 
+
 
<pre><nowiki>
 
<pre><nowiki>
#!/bin/sh
+
wine "C:\Program Files\World of Warcraft\Launcher.exe"</nowiki></pre>
 
+
(install when prompted about the Gecko rendering engine)
X :3 -ac &  # Launches a new X session on display 3
+
Or, dive right into the game with:
cd "~/.wine/drive_c/Program Files/World of Warcraft"  # Goto WoW dir
+
sleep 2  # Forces the system to have a break for 2 seconds
+
DISPLAY=:3 /usr/X11R6/bin/wine WoW.exe -opengl  # Launches WoW
+
</nowiki></pre>
+
 
+
*#3 Press <code><nowiki>Ctrl+o</nowiki></code> then <code><nowiki>Ctrl+w</nowiki></code> in order to save your file & quit nano.
+
 
+
* Don't forget to make your script executable with this command <code><nowiki>chmod +x ~/launch-wow.sh</nowiki></code>
+
 
+
* Launch the script with <code><nowiki>./launch.sh</nowiki></code> while being in the home user directory
+
 
+
If you have installed WOW anywhere else than in your standard Wine <code><nowiki>drive c</nowiki></code>, then you will have to replace the directory path found in the line that starts with <code><nowiki>cd"~/.wine...</nowiki></code> in the script, to the path where you have installed.
+
 
+
== Playing ==
+
 
+
You should be able to play WoW using the shortcut on your desktop, or if you installed WoW using Wine's standard installation path, you should be able to play WoW by running this command:
+
 
<pre><nowiki>
 
<pre><nowiki>
 
wine "C:\Program Files\World of Warcraft\WoW.exe"</nowiki></pre>
 
wine "C:\Program Files\World of Warcraft\WoW.exe"</nowiki></pre>
 
If you installed WoW anywhere else, just edit the above command to correctly reflect the path where WoW.exe is found.
 
 
 
=== Gnome menu icon ===
 
=== Gnome menu icon ===
You can make a Gnome menu entry by doing the following commands in a terminal:
+
You can make a Gnome menu entry for WoW by doing the following commands in a terminal:
 
<pre><nowiki>
 
<pre><nowiki>
wget http://kde-files.org/CONTENT/content-files/41569-wow-icon-scalable.svg
+
wget http://kde-files.org/CONTENT/content-files/41569-wow-icon-scalable.svg -O WoW.svg
sudo mv 41569-wow-icon-scalable.svg /usr/share/icons/
+
sudo mv WoW.svg /usr/share/pixmaps/
 
gksudo gedit /usr/share/applications/wow.desktop</nowiki></pre>
 
gksudo gedit /usr/share/applications/wow.desktop</nowiki></pre>
 
 
Add this to the text editor window, which should have appeared after the third command, change <code><nowiki><username></nowiki></code> in the <code><nowiki>Exec=</nowiki></code> line to your computer login username, and save:
 
Add this to the text editor window, which should have appeared after the third command, change <code><nowiki><username></nowiki></code> in the <code><nowiki>Exec=</nowiki></code> line to your computer login username, and save:
 
<pre><nowiki>
 
<pre><nowiki>
第175行: 第129行:
 
Encoding=UTF-8
 
Encoding=UTF-8
 
Name=World of Warcraft
 
Name=World of Warcraft
Name[hr]=World of Warcraft
 
 
Exec=wine /home/<username>/.wine/drive_c/Program\ Files/World\ of\ Warcraft/WoW.exe
 
Exec=wine /home/<username>/.wine/drive_c/Program\ Files/World\ of\ Warcraft/WoW.exe
Icon=41569-wow-icon-scalable.svg
+
Icon=/usr/share/pixmaps/WoW.svg
 
Terminal=false
 
Terminal=false
 
Type=Application
 
Type=Application
第183行: 第136行:
 
StartupNotify=false</nowiki></pre>
 
StartupNotify=false</nowiki></pre>
 
''Note: Remember that you should also edit the <code><nowiki>Exec=</nowiki></code> line to reflect your WoW installation path, if you've installed to a special location.''
 
''Note: Remember that you should also edit the <code><nowiki>Exec=</nowiki></code> line to reflect your WoW installation path, if you've installed to a special location.''
 
== Voice chat ==
 
 
There is an issue with making voice chat applications and WoW use sound input and output simultaneously. You need to be able to mix sound in order for this to work, but most modern onboard soundcards don't support hardware sound mixing, so either you'll have to get a PCI soundcard, which supports this feature, or use software mixing. The issue with software mixing comes down to the two different sound interface architectures available in Linux, <code><nowiki>OSS</nowiki></code> and <code><nowiki>ALSA</nowiki></code>.
 
 
'''OSS'''''(old/legacy)'': Doesn't allow you to use software mixing. Meaning only ONE application will be able to use sound at a time.
 
 
'''ALSA'''''(new)'': Allows software mixing. Meaning several programs can use sound simultaneously.
 
 
However, the ALSA driver in Wine doesn't work very well with WoW, which is why this howto asks you to configure Wine to use OSS.
 
 
So you see the problem:
 
* WoW runs in Wine, ergo uses OSS
 
* Ventrilo runs in Wine, ergo uses OSS
 
* The Linux version of TeamSpeak is based on OSS
 
 
Only one of these applications will be able to use sound at a time, but this can be solved by using [https://help.ubuntu.com/community/alsa-oss alsa-oss], which channels OSS applications through ALSA, making them them work more or less like regular ALSA programs.
 
 
ALSA-OSS is installed by running this command:
 
<pre><nowiki>
 
sudo apt-get install alsa-oss</nowiki></pre>
 
 
And then one uses it by starting the programs with the "aoss" command, something like this:
 
<pre><nowiki>
 
aoss /path-to-program/TeamSpeak</nowiki></pre>
 
<pre><nowiki>
 
aoss wine /path-to-program/Ventrilo.exe</nowiki></pre>
 
<pre><nowiki>
 
aoss wine /path-to-program/WoW.exe</nowiki></pre>
 
 
Remember that both the voice chat program and WoW need to be run with the aoss command in front.
 
 
 
== Troubleshooting ==
 
== Troubleshooting ==
 
+
=== Audio troubleshooting ===
This section tries to address the common issues people are having. Problems that persist after you have explored and tried on all of these different hints and tips, are often related to graphics cards and drivers. Sometimes the graphics card is just not well enough supported in the driver, and other times a driver update or reinstall solves the problem. See here [https://help.ubuntu.com/community/BinaryDriverHowto/] and here [http://albertomilone.com/driver.html] for more info on installing updated drivers for your graphics card.
+
If you experience stuttering, bad sound or no sound what so ever, then there are a few things you could try.
 
+
In <code><nowiki>config.wtf</nowiki></code> set:
* If you have troubles running the installation or even the game itself, you may need to get a few .dll files from a windows installation or here:
+
 
+
** [http://www.dll-files.com/dllindex/dll-files.shtml?msvcp60 msvcp60.dll] (MD5: 6050bcc1b23f3df7a1876cbdcbac8232)
+
** [http://www.dll-files.com/dllindex/dll-files.shtml?mfc42 mfc42.dll] (MD5: 7e4d1b552ee1dfa859ba9033b3670590)
+
** [http://www.dll-files.com/dllindex/dll-files.shtml?riched20 riched20.dll]
+
** [http://www.dll-files.com/dllindex/dll-files.shtml?riched32 riched32.dll]
+
 
+
and place them in /home/<username>/.wine/drive_c/windows/system32. You will, however, need a Windows license to use these files.
+
 
+
''Note: Remember to change <code><nowiki><username></nowiki></code> to your personal computer login username''
+
 
+
* If you have problems with sound stuttering you may have to increase or decrease the sound buffer a bit. It's configured by changing the value of the <code><nowiki>SET SoundBufferSize</nowiki></code> line in <code><nowiki>wtf/Config.wtf</nowiki></code>. Anything from 50 to 250 may cure your problem. Bear in mind that excessive buffer size may create audio sync issues.
+
 
+
* When the patch program, or the WoW Launcher starts, it will ask you about installing Mozilla ActiveX. Select "Yes". In doing this you will download a trimmed down version of the Gecko rendering engine (Firefox, Mozilla) which will respond to ActiveX calls, this means anytime a program tries to use HTML for a display, or similar, it will show. The launcher's news section and the changelog shown when applying a patch both use the rendering engine.
+
 
+
* You may have trouble with the gnome-panel/kicker showing up above the WoW "window". Make sure you have used the configuration settings above or set Gnome's fullscreen hotkey.
+
 
+
* If you are using CONTROL in your switch workspace key combo, you may need to reassign it to avoid inteferance from WoW.
+
 
+
* If you try to configure WoW's video settings (Resolution, Vertex Shaders, Pixel Shaders etc.) while running in opengl mode, WoW may crash. The workaround is to configure WoW's video settings while running WoW in d3d mode, or by using a special addon.
+
 
+
The addon is found here [http://files.wowace.com/ApplyToForehead/no-ext/], and you should extract the zipped folder in to <code><nowiki>/Interface/AddOns/</nowiki></code> in your WoW directory. Then enable it under <code><nowiki>AddOns</nowiki></code> in the choose character screen. You probably need to tick the option, which says <code><nowiki>Load out of date AddOns</nowiki></code>, for it to work.
+
 
+
You use d3d mode by running WoW with this command in stead of your usual one:
+
 
<pre><nowiki>
 
<pre><nowiki>
wine wow.exe -d3d</nowiki></pre>
+
SET Sound_SoundOutputSystem "1"
 
+
SET Sound_SoundBufferSize "150"</nowiki></pre>
or you can change this line in wtf/Config.wtf
+
The optimum value for <code><nowiki>Sound_SoundBufferSize</nowiki></code> varies depending on you setup.
 +
=== Graphics troubleshooting ===
 +
If you are having trouble with your graphics, here is a few tweaks you could try.
 +
==== Config.wtf ====
 +
Add the following to Config.wtf:
 
<pre><nowiki>
 
<pre><nowiki>
SET gxApi "OpenGL"</nowiki></pre>
+
SET ffxDeath "0"
to
+
SET ffxGlow "0"</nowiki></pre>
 +
Note that disabling <code><nowiki>ffxGlow</nowiki></code> may also enable antialiasing for some users.
 +
If you experience a problem with missing character and object models, and/or the login windows background is black, add:
 
<pre><nowiki>
 
<pre><nowiki>
SET gxApi "d3d"</nowiki></pre>
+
SET M2UseShaders "0"</nowiki></pre>
run the game and change the settings, and then change the line back.
+
==== regedit tweaks ====
 +
This is a simple registry edit for Wine that either will either fix crash issues and increase frame rate in game, or it will decrease the performance and even make the game crash. You should give it a try to see what is does for you, as you may always easily remove it again, if it acts negatively for you.
 +
Open a terminal window, type <code><nowiki>regedit</nowiki></code> and press enter. This will start the Wine equivalent of the windows registry editor. If you are familiar with using the registry editor under windows then this is pretty much the same.
 +
<ol><li>Find this key <code><nowiki>HKEY_CURRENT_USER\Software\Wine\</nowiki></code>
 +
</li><li>Highlight the wine folder in the left hand pane by clicking left on it. The icon should change to an open folder
 +
</li><li>Right-click on the wine folder and select <code><nowiki>[NEW]</nowiki></code> then <code><nowiki>[KEY]</nowiki></code>
 +
</li><li>Replace the text <code><nowiki>New Key #1</nowiki></code> with <code><nowiki>OpenGL</nowiki></code>
 +
</li><li>Right-click in the right hand pane and select <code><nowiki>[NEW]</nowiki></code> then <code><nowiki>[String Value]</nowiki></code>
 +
</li><li>Replace <code><nowiki>New Value #1</nowiki></code> with <code><nowiki>DisabledExtensions</nowiki></code> (Notice it's case sensitive!)</li></ol>
  
If this causes the display to be inverted or otherwise corrupted, don't be concerned. The display will right itself once you switch back to opengl. Running in d3d mode is simply so you can set WoW's video options.
+
1.#7 Then double click anywhere on the line, a dialog box will open.
 
+
<ol><li>In the value field type <code><nowiki>GL_ARB_vertex_buffer_object</nowiki></code></li></ol>
* If WoW crashes on startup under opengl, but runs with d3d, try disabling 'fullscreen glow effects', in the video setting screen or by adding this line to <code><nowiki>wtf/Config.wtf</nowiki></code>:
+
<pre><nowiki>
+
SET ffxGlow = "0"</nowiki></pre>
+
 
+
* For users with an Nvidia card who have upgraded to '''Wine 0.9.30''' after installing, you may need to reinstall your nvidia-glx if you are crashing with the following error message when running WoW from the console:
+
 
+
<pre><nowiki>
+
Major opcode of failed request: 142 (GLX)
+
Minor opcode of failed request: 3 (X_GLXCreateContext)
+
Serial number of failed request: 14
+
Current serial number in output stream: 15
+
 
+
/*( This can be fixed by typing: */
+
 
+
$ sudo apt-get install nvidia-glx</nowiki></pre>
+
 
+
* For users with an ATI video card: certain cards have trouble rendering games and video in opengl using current flgrx drivers which will cause your computer to hard locks when you attempt to enter a domain.  This error will occur just after character creation/selection, as the game environment is loading, or possibly after a short period of play. In order to fix this error, add the following three lines of code to your xorg.conf file in the ATI device section:
+
 
+
<pre><nowiki>
+
Option "Capabilities" "0x00000800"
+
Option "UseFastTLS" "off"
+
Option "KernelModuleParm" "locked-userpages=0"</nowiki></pre>
+
You edit the file by doing this command:
+
<pre><nowiki>
+
gksudo gedit /etc/X11/xorg.conf</nowiki></pre>
+
The section should look something similar to this after editing:
+
<pre><nowiki>
+
Section "Device"
+
Identifier  "aticonfig-Device[0]"
+
Driver      "fglrx"
+
Option      "Capabilities" "0x00000800"
+
Option      "UseFastTLS" "off"
+
Option      "KernelModuleParm" "locked-userpages=0"
+
EndSection</nowiki></pre>
+
 
+
* If you experience corrupt icons on your panel then you then you may need to set the <code><nowiki>SET UIFaster</nowiki></code> parameter in <code><nowiki>wtf/Config.wtf</nowiki></code>
+
 
+
Use it like this:
+
<pre><nowiki>
+
Set UIFaster "x"</nowiki></pre>
+
 
+
Where x equals:
+
<pre><nowiki>
+
0 – This turns off all UI acceleration
+
1 – For Internal Use Only - DO NOT USE!
+
2 – Enables partial UI acceleration only.
+
3 – Enables all UI acceleration.</nowiki></pre>
+
 
+
Example:
+
<pre><nowiki>
+
Set UIFaster "2"</nowiki></pre>The value 2 usually corrects this problem.
+
 
+
* For Beryl/Compiz users with gnome pannel showing on top of World of Warcraft start the game in windowed mode. Either by adding <code><nowiki> -windowed </nowiki></code> to your command line starting WoW, or add <code><nowiki> SET gxWindow "1" </nowiki></code> to <code><nowiki>wtf/Config.wtf</nowiki></code>.
+
  
 +
More troubleshooting can be found at [[UbuntuHelp:WorldofWarcraft/Troubleshooting|WorldofWarcraft/Troubleshooting]].
 
== Support and discussion ==
 
== Support and discussion ==
 
 
For support and discussion on the subject of this howto, please post at:
 
For support and discussion on the subject of this howto, please post at:
http://www.ubuntuforums.org/showthread.php?t=312482
+
http://ubuntuforums.org/showthread.php?t=579378
 
+
== External links ==
 
+
* [http://appdb.winehq.org/objectManager.php?sClass=application&iId=1922 WineAppDB - World of Warcraft] - The World of Warcraft page on WineHQ.
== Related links ==
+
* [http://www.wowwiki.com/Wine Wine (WoWWiki)] - A WoWWiki guide for running World of Warcraft under Wine.
 
+
* [http://gentoo-wiki.com/HOWTO_Install_and_update_World_Of_Warcraft_with_wine World of Warcraft/Wine] - The Gentoo wiki World of Warcraft page.
For more information regarding WoW under Wine see Wine's appdb:
+
----
http://appdb.winehq.org/appview.php?iVersionId=6482
+
[[category:CategoryGames]]
 
+
The Gentoo wiki also contains good information, especially for those that need more detailed info:
+
http://gentoo-wiki.com/HOWTO_Install_and_update_World_Of_Warcraft_with_wine
+
 
+
[[category:CategoryGames]] [[category:CategoryDocumentation]] [[category:CategoryCleanup]]
+
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2010年5月20日 (四) 01:02的最新版本

  1. title World of Warcraft on Ubuntu

<<Include(Tag/StyleCleanup)>> This howto is for installing and playing World of Warcraft using Wine under Ubuntu. Wine is a free open source implementation of the proprietary Win32 API, and attempts to enable Windows applications and games to run on Unix-like operating systems. World of Warcraft can also be played under Ubuntu by using the Wine based CrossOver Games, Cedega and PlayOnLinux. This howto, however, does not address these three.

Before you get started

In Linux, Direct Rendering Infrastructure (DRI) facilitates faster graphics rendering, so before you begin the installation you should check whether DRI is enabled. To do this, run the following command:

glxinfo | grep rendering

You should see output similar to this:

direct rendering: Yes

If this line says "No", it means that graphics data will not be passed directly to the graphics hardware, thus significantly reducing speed at which WoW will run. This is usually caused by a configuration issue with the graphics card driver. See the troubleshooting section for elaboration. Note though that even if you do have Direct Rendering, it might not be enough. If you graphics card is an Intel GMA, your performance will be low in any case. Most people who successfully play WoW on Ubuntu are probably using an NVIDIA or ATI card with proprietary drivers.

Installing Wine

The official deb package file of Wine from WineHQ's download page, is recommended for most users, as it works almost out of the box for most people, and has a gold rating at the moment. For full instructions on installing Wine see the Wine page.

Deb package

  1. You can easily install Wine through the repositories. Ubuntu will automatically configure and install it for you. You can go to System, then Administration and Synaptic Package Manager, search for it and mark for installation.

You may also use the command line. Simply run:

sudo apt-get install wine

In Ubuntu 9.10, there is a wine1.2 package which should work better. 1.#2 Before proceeding to install World of Warcraft you must run winecfg at least once (it must setup the ~/.wine directory structure before you can install Windows applications into it). This is a very important step. In a Terminal window type the following:

 winecfg

Select your Windows type, configure disk and removable drives, etc, then press Apply and Ok. As it closes, winecfg will create a .wine directory structure in your home folder, populating with information about drives and devices installed in your system. If you fail to do this before trying to install World of Warcraft then you'll probably see errors like the following when running winecfg in the future:

 err:winecfg:apply_drive_changes   unable to define devicename of 'C:'

Compiling Wine from source

Other experienced users, who are unable to make this work or just want more control over the installation, may want to try to compile Wine from source in order to play WoW. Instructions can be found here: https://wiki.ubuntu.com/BuildingWineFromSource

Installing WoW

Original WoW

If you have access to the installation discs is to copy the contents to your hard disk and run them from there. If you have the new DVDs see the note below.

  • Create a convenient directory ( 'wow_install' on your Desktop for example)
  • Copy all of the files from the first WoW CD to this new directory.
  • For each of the remaining WoW CD's, copy just the 'Installer Tome #.mpq' files. In the end, you should have the 'DirectX' directory, and the 'autorun.inf', 'installer.ico', 'Installer Tome.mpq', and 'Installer.exe' files from disc 1, and 'Installer Tome 2.mpq', 'Installer Tome 3.mpq', 'Installer Tome 4.mpq', and 'Installer Tome 5.mpq' from the remaining discs. Note that the 'Installer.exe' file on the first disc is different from the files of the same name on the subsequent discs; if you get the wrong one the install will fail with
     
Unrecognized key "options". (AttributeParser::Parse)
  • Note that on some WoW DVD's the installer executable is hidden and you need to re-mount the disc with the 'unhide' option. To do this type in a terminal:
 sudo umount /dev/cdrom
sudo mount -t iso9660 -o ro,unhide /dev/cdrom /media/cdrom0/
  • Start the installation by opening a terminal and running these commands:
 cd /<path-to-directory>/
 wine Installer.exe

Replace <path-to-directory/> with the right path to the directory where you copied all the files above. Some dialogs during installation may appear blank or garbled, and the installer may even hang for up to 5 minutes at 100% CPU, while appearing to be doing nothing. Simply wait and click next when possible. Note: If you have not already done so, you may want to install Microsoft's|proprietary fonts, because they can solve some text related graphical glitches during installation.

Burning Crusade

The BC install is more or less the same as the base game install.

  • Create a new directory separate from the directory where you copied the original game discs. [B][/B]
  • Copy the 'Autorun.inf', 'Installer.exe', 'Installer.ico', and 'Installer Tome.mpq' files from the first Burning Crusade disc to this new directory.
  • Copy just 'Installer Tome 2.mpq', 'Installer Tome 3.mpq', and 'Installer Tome 4.mpq' from the remaining install discs.
  • Run the installer by opening a terminal and executing these commands:
 cd /<path-to-directory>/
 wine Installer.exe

Replace <path-to-directory/> with the right path to the directory where you copied all the files (the BC files, not the original WoW files).

Alternate Installation Methods

If the above isn't possible for some reason (you don't have the discs for example, or a working media drive), here's some alternate ways to install the game.

Alternative 1 (Copy from Windows):

You can also just install WoW in Windows and then copy the entire World of Warcraft folder over from your Windows installation.

Alternative 2 (Download the Entire Game):

If you have lost a CD, do not have access to a CD drive or simply would not like to bother with patching and messing with the CD's, you can download and run the installer, which is in fact the full game almost fully patched, from the blizzard downloader. They work very nicely with Wine. Installer Downloads: Original WoW - US Version Burning Crusade - US Version (requires a valid account for log in) WoW - European clients, in all languages In order to use the Blizzard Downloader effectively, you must 1) open certain ports on your computer and 2) enable port forwarding on your router.

Firewall Configuration for Blizzard Downloader

The easiest way to open these ports is to use the firewall program Firestarter.

  • From the command line, install Firestarter with this command: sudo apt-get install firestarter.
  • When it is running, select the "Policy" tab, right-click in the Allow Service area, and select Add Rule.
  • Under port, type 6112 and make sure that the "Anyone" radio button is selected. Make a note in the comments field that this port relates to Blizzard.
  • Repeat these steps for ports 3724 and for the range 6881-6999 (which will be recognized as BitTorrent ports).
Router Configuration for Blizzard Downloader

Next, configure your router to forward those ports on the router to your computer only. The steps are similar to the above, but vary slightly from router to router and may be found on Blizzard's website: [1] Once the firewall is configured and the network port forwarding is working, run the downloader with (Burning Crusade US Version example):

wine WoW-BurningCrusade-enUS-Installer-downloader.exe

Configuration

OpenGL or Direct3D

Background

The Windows version of World of Warcraft supports rendering using either Direct3D mode (the default) or OpenGL mode (it can be configured to use OpenGL). On Windows, most people just use the Direct3D mode, as it is the most tested and it has a number of features over the OpenGL mode, such as support for a hardware cursor. In wine, Direct3D is supported only through an emulation layer (known as WineD3D), that runs on top of OpenGL. At the moment, WineD3D lowers the fps enough that most people running WoW using wine tend to use the OpenGL mode instead. WoW can be set to use its OpenGL mode as follows: Find the file wtf/Config.wtf in your main WoW directory. By default it is found in /home/<username>/.wine/drive_c/Program\ Files/World\ of\ Warcraft/, where <username> is you computer login name. Note that since .wine begins with a period, you will not be able to see it, but you may still access it in a terminal. In the Nautilus file manager, you can press Ctrl + h to see hidden files. If config.wtf does not exist, run the game and log into a character, then exit WoW. The game should then have created the file. Open it using a text editor, and add the following line to it:

SET gxApi "opengl"

Hardware cursor in OpenGL

There is a workaround to get a kind of hardware cursor even in OpenGL mode. The workaround is to use a slightly modified version of Wine which will always display the X11 cursor (which is not laggy). If you are interested, there is a thread in the forums discussing it. Instructions explaining how to get started can be found in the thread.

Audio configuration

If you have a recent version of wine (for instance the wine1.2 package in Ubuntu 9.10), your audio should in many cases just work. What will be used in this case is the ALSA driver of wine. Alsa-lib will be sending all its audio out through PulseAudio, as is the case for many applications running on Ubuntu. However, if you are using an older version of Wine and/or Ubuntu, you may need to switch wine to use its OSS driver. To do this, just type winecfg in a terminal, press enter, and the wine configuration application window should appear and you should go to the audio tab. In there, choose OSS. Make sure you only have one sound output system (e.g. ALSA/OSS/ESD) ticked at a time. When an application is outputing sound through OSS, it will (by default) cause conflicts with other applications outputing audio. To solve this issue, make sure your wine is started through padsp (or aoss if you are using a very old version of Ubuntu). So for instance start wine by typing padsp wine WoW.exe rather than just wine WoW.exe.

Voice chat

With the introduction of PulseAudio in 9.10, this section is severely inaccurate -- the main problem for the user in 9.10 becomes separating the "Wine" channels between WoW and Ventrilo, as PulseAudio treats Wine as the same app (i.e. Vent and WoW are all "wine" to PA) Running voice chat applications (such as Ventrilo) in wine suffers from the same potential audio related problems as WoW. Meaning, if you have set up wine to use OSS, you need to start wine as described above (using padsp), or you will not (in most cases) be able to use Voice chat and other audio appliications (such as WoW). Using a newer version of wine combined with the ALSA driver should (in many cases) work fine anyway. As an alternative to running Ventrilo in wine, there is also Mangler.

Playing

Start from the Desktop Icon

Double click the icon you find on your Desktop titled World of Warcraft, this will start the launcher. If you have never used something requiring HTML rendering with Wine you will be prompted to download and install the Gecko rendering engine, you should do this as it will enable the WoW Launcher to display news.

Start from the Terminal

Starting from the terminal is simple, just enter:

wine "C:\Program Files\World of Warcraft\Launcher.exe"

(install when prompted about the Gecko rendering engine) Or, dive right into the game with:

wine "C:\Program Files\World of Warcraft\WoW.exe"

Gnome menu icon

You can make a Gnome menu entry for WoW by doing the following commands in a terminal:

wget http://kde-files.org/CONTENT/content-files/41569-wow-icon-scalable.svg -O WoW.svg
sudo mv WoW.svg /usr/share/pixmaps/
gksudo gedit /usr/share/applications/wow.desktop

Add this to the text editor window, which should have appeared after the third command, change <username> in the Exec= line to your computer login username, and save:

[Desktop Entry]
Encoding=UTF-8
Name=World of Warcraft
Exec=wine /home/<username>/.wine/drive_c/Program\ Files/World\ of\ Warcraft/WoW.exe
Icon=/usr/share/pixmaps/WoW.svg
Terminal=false
Type=Application
Categories=Application;Game;
StartupNotify=false

Note: Remember that you should also edit the Exec= line to reflect your WoW installation path, if you've installed to a special location.

Troubleshooting

Audio troubleshooting

If you experience stuttering, bad sound or no sound what so ever, then there are a few things you could try. In config.wtf set:

SET Sound_SoundOutputSystem "1"
SET Sound_SoundBufferSize "150"

The optimum value for Sound_SoundBufferSize varies depending on you setup.

Graphics troubleshooting

If you are having trouble with your graphics, here is a few tweaks you could try.

Config.wtf

Add the following to Config.wtf:

SET ffxDeath "0"
SET ffxGlow "0"

Note that disabling ffxGlow may also enable antialiasing for some users. If you experience a problem with missing character and object models, and/or the login windows background is black, add:

SET M2UseShaders "0"

regedit tweaks

This is a simple registry edit for Wine that either will either fix crash issues and increase frame rate in game, or it will decrease the performance and even make the game crash. You should give it a try to see what is does for you, as you may always easily remove it again, if it acts negatively for you. Open a terminal window, type regedit and press enter. This will start the Wine equivalent of the windows registry editor. If you are familiar with using the registry editor under windows then this is pretty much the same.

  1. Find this key HKEY_CURRENT_USER\Software\Wine\
  2. Highlight the wine folder in the left hand pane by clicking left on it. The icon should change to an open folder
  3. Right-click on the wine folder and select [NEW] then [KEY]
  4. Replace the text New Key #1 with OpenGL
  5. Right-click in the right hand pane and select [NEW] then [String Value]
  6. Replace New Value #1 with DisabledExtensions (Notice it's case sensitive!)

1.#7 Then double click anywhere on the line, a dialog box will open.

  1. In the value field type GL_ARB_vertex_buffer_object

More troubleshooting can be found at WorldofWarcraft/Troubleshooting.

Support and discussion

For support and discussion on the subject of this howto, please post at: http://ubuntuforums.org/showthread.php?t=579378

External links