Use wine to play World of Warcraft in Ubuntu
Game environment: Ubuntu 6.06 P4 2.4g 726 M scim Input Method nvidia mx 440 wine 9.21
1. Install the video card driver. (if it is not a Debian-based release, go to the relevant website to find out how to install the video card driver)
First, are you sure you have installed your own graphics card driver?
Run glxinfo | grep Rendering
If "direct rendering: yes" is displayed, it is installed.
Otherwise:
NVIDIA graphics card:
Sudo apt-Get install NVIDIA-Glx
Sudo NVIDIA-Glx-config enable
NVIDIA-settings
AIT graphics card (not verified ):
Sudo apt-Get install Xorg-driver-fglrx
Sudo dpkg-reconfigure xserver-Xorg
When you are prompted to select a driver, select fglrx
Restart your computer
2. Set the administrator password (it seems that only Ubuntu does not have the Default Root User)
Sudo passwd Root
3. Install the compiling environment (Please install it by yourself according to different releases)
First, it is the basic Compiler (it seems that only Ubuntu does not include this by default -________-)
Sudo apt-Get install build-essential
Second, install flex and bison
Sudo apt-Get install flex bison
Then install the x 11 Library File
(Wine readme said so, called xlib6g-dev In Debian and XFree86-devel in Red Hat)
Sudo apt-Get install xlibs-Dev
Install libgl
(This depends on your release version. It is an OpenGL lib file that provides OpenGL support)
Sudo apt-Get install libartsc0 libartsc0-dev libgl1-mesa-dev
Finally, install the Font Pack
Sudo apt-Get install ftgl-dev fontforge
4. Download wine source code
On the wine download page of sf.net
Download wine-0.9.21.tar.bz2
Decompress
5. Patch
Download
Wow-patch-0.9.21.patch
X11drv_fbconfig_fix-0001.bin
And then put it in the wine source code decompressed directory.
Then use the terminal to access the directory where you put the source code (such as CD ~ /Desktop/wine-0.9.21)
Patch-P1 <wows-patch-0.9.21
The following figure is displayed on the screen:
The text leading up to this was:
--------------------------
| --- DLLs/winex11.drv/OpenGL. c 2006-09-14 18: 57: 01.000000000 + 0200
| ++ DLLs/winex11.drv/OpenGL. c 18:57:17. 000000000 + 0200
--------------------------
File to patch:
Follow the prompts and enter DLLs/winex11.drv/OpenGL. C (Tab cannot be automatically used here)
If you are an ait video card, you also need patch-P1 <x11drv_fbconfig_fix-0001.bin. the others are the same as the previous patch.
6. Compile
Enter the tools directory (such as CD tools) in the terminal)
Bash wineinstall
Wait for the system to set it by itself
Then
We need to install wine as root user, do you want us to build wine,
'Su root' and install wine? Enter 'no' to continue without installing
Check the system prompts that the package is missing.
If there is no problem, input "yes" to start a long compilation.
After compilation, you will be asked to log on as the root user for the final settings.
7. Load & run easywine
(On www.easywine.org, find the easywine Installation Method for your version)
Download easywine
Then in the terminal:
Enter the place where you put easywine (such as CD desktop)
Su Root
Bash easywine3rc2. Sh
Then, the server prompts you to enter
After the installation is complete, close and re-open the terminal, enter easywine, set the Virtual Drive C, leave the path blank, and then select initialize wine settings.
Easywine settings are complete.
8. Set the Input Method
In scim options, choose front-end> global settings, and deselect "embed the pre-edited string into the customer window as shown in"
You can enter Chinese characters in the wow simulated by wine.
9. Games
1. If you are installing a game on windows
Wine/Media/hdax/(your Warcraft directory)/wow.exe-OpenGL-nosound to play the game.
2. If you want to install the game in Ubuntu, you can directly install the wine file. The installed file is in. Wine/dosdevices in the main folder. . Wine is a hidden folder. You need to press Ctrl + H in the root directory to see it.