| View previous topic :: View next topic |
| Author |
Message |
b1f30 Apprentice


Joined: 16 Nov 2005 Posts: 262 Location: USA
|
Posted: Thu Mar 30, 2006 7:04 pm Post subject: HOWTO: World of Warcraft - Gentoo/AMD64/nVidia/wine |
|
|
HOWTO: World of Warcraft - Gentoo/AMD64/nVidia/wine
Thursday, March 06 2008 POSTING JUST FOR FUN! Damn how time flies! WoW runs flawlessly on DEBIAN STABLE! For fun, I was doing some frankenstein type stuff with some old boxes and decided to put one of my P4's back together and slap the mighty Debian on it. BAM! WoW runs flawlessly on it! Cheers to all, and here's to me being full-time Dad and admin at a completely new shop! Solaris... AIX.. HP-UX... HELP! Help me!
P.S. Check this out:
http://www.boingboing.net/2008/02/26/love-massively-multi.html
P.P.S. You can still find me in WoW - ugh - but I've since moved over to Horde. If you're LFG, or a 70 to smash you through some instances, /tell Tziki - Troll Shammy - Maelstrom server!
P.P.P.S. You no longer need to patch wine! At least, that I've experienced with the more recent version. YMMV! I've still got it running on the same old AMD64 rig, with an nVidia 7800GT, and I get framerates of 30-40fps+ even in Orgrimmar! Check out some of the tweaks and hacks on the WoW Wiki section for Linux!
Tuesday, December 05 2006 HOWTO OFFICIALLY NULL & VOID due to the fact that app-emulation/wine-0.9.26 needs 0 patches to work with the nVidia drivers! This is a good thing!
If you're Alliance on the Emerald Dream server, you can catch me and my toon, Shingo (Fighting Sixty Ninth), running around having fun! See you in game!
For posterity's sake, I'll keep the old HOWTO here, but it will no longer be updated!
----- BEGIN OLD HOWTO -----
Tuesday, August 15 2006 THIS HOWTO IS NO LONGER MAINTAINED due to the fact that I no longer play WoW (nearly as much), and because wine seems to handle WoW a lot better without all the patch madness! WoW is a great game, but it's also the most life-sucking adventure I've ever encountered! Cheers!
Friday, June 09 2006 Taking some much needed time off! I'll be off for the summer, but I'll still be checking email and messages. It's rainy and crappy here! GAH!
Friday, May 19 2006 My directions work with wine-0.9.13! That's right kids! Follow the steps in the same order, however, you'll want to do a few quick adjustments! First off, change 0.9.6-r1 to 0.9.13-r1 obviously, and, you'll want to use the following patch instead of the patch as listed in step#3:
http://gentoo-wiki.com/HOWTO_Install_and_update_World_Of_Warcraft_with_wine#Patching_wine_0.9.13
Cheers! Here's to summer! Huzzah!
Friday, April 14 2006 Problems with NPC/vendor interaction? If you're running lots of custom UI mods like me, you may have noticed that the post-1.10 mini patch seems to have broken NPC/vendor interaction. If you're using Cosmos, browse to your WoW/Interfaces folder, and move 'Tacklebox' (plus other fishing add-ons) and 'Mcom' to another place. See this post.
Tuesday, April 11 2006 New mini-FAQ section added! I'll make updates when possible!
Tuesday, April 11 2006 These instructions have been tested with wine-0.9.8-r1 and work fine - for me anyway! YMMV!
Tuesday, April 11 2006 WoW downloader easy fix! In your WoW directory, simply rename the file 'downloader.exe' to 'downloader.bak' and voila! No more annoying pop up downloader!
Thursday, March 30 2006 The WoW 'background downloader' utility that came with the 1.10 patch seems to be borked. It's true - I've seen it freak out on my machine. See this post.
Note: I take no responsibility if you break your system trying to make World of Warcraft work on Gentoo! These instructions are based on my home AMD64 system using an nVidia 6600gs or 7500gt card, wine-0.9.6, and a portage overlay. Your mileage may vary! Following these instructions, I am able to play World of Warcraft on my Gentoo AMD64 box with amazing performance!
Note: Before you proceed with this HOWTO, you need to make sure that your kernel is nVidia friendly! Read the Gentoo Linux nVidia Guide!
1) Login as root and create your portage overlay:
# mkdir -p /usr/local/portage/app-emulation/wine/files
2) Edit your /etc/make.conf to include the new portage overlay directory that you've created. Add the following to /etc/make.conf:
PORTDIR_OVERLAY="/usr/local/portage"
3) Download this popular wine patch for WoW:
ftp://anch.org/pub/linux/wine/wow.patch
4) Copy the original wine ebuild file, wine's build files, and the WoW patch you downloaded to the 'files' directory in the new wine overlay directory:
# cp /usr/portage/app-emulation/wine/wine-0.9.6.ebuild /usr/local/portage/app-emulation/wine/wine-0.9.6-r1.ebuild
# cp /usr/portage/app-emulation/wine/files/* /usr/local/portage/app-emulation/wine/files
# cp /location/of/wow.patch /usr/local/portage/app-emulation/wine/files
5) Edit the overlay ebuild in it's revised state:
# nano -w /usr/local/portage/app-emulation/wine/wine-0.9.6-r1.ebuild
Look for the following lines in the src_unpack section of the ebuild:
epatch "${FILESDIR}"/wine-no-ssp.patch #66002
epatch "${FILESDIR}"/wine-20050830-gcc-32bit.patch
And then, just under those lines, you're going to include where to find the WoW patch:
epatch "${FILESDIR}"/wow.patch
6) Save your changes, and then digest the ebuild:
# ebuild /usr/local/portage/app-emulation/wine/wine-0.9.6-r1.ebuild digest
7) Add the testing branch of wine to your keywords file and then you're going to emerge wine with --oneshot so that your custom build does not get entered into your world file - thus, preventing portage from recognizing it. Otherwise, the next 'emerge -uDN world' you do will rebuild wine without the customizations and patches you've added:
# echo "app-emulation/wine ~x86" >> /etc/portage/package.keywords
# emerge -av --oneshot =wine-0.9.6-r1
8) While you're waiting for wine to compile, start checking out these links that I've found to be very helpful for World of Warcraft:
Plan your character's talents:
http://wowhead.com/
Ultimate World of Warcraft Database:
http://thottbot.com/
Cosmos custom UI for WoW:
http://cosmosui.com/
When wine is done compiling, and you're done counting ceiling tiles, and you've got your ub4r Orc warrior all planned out...
9) Logout as root, and configure wine using winecfg:
# winecfg
- Under the 'Applications' tab, when selecting the 'Windows Version', choose Windows XP.
- Under the 'Audio' tab, be sure to use the appropriate audio system. I use ALSA for my box.
- Under the 'Drives' tab, make sure to 'autodetect' your drive mappings so that wine knows where to install your programs and where to find your CD-ROM.
Note: I've heard conflicting results with OSS and ALSA. Personally, I've used ALSA with great success, but again, your mileage may vary! If you're going to use OSS, make sure you have the backwards compatibility compiled in with ALSA.
10) You'll need two dll's from http://www.dll-files.com/ - download and copy them into your .wine/drive_(c)/windows/system/ directory:
msvcp60.dll
mfc42.dll
11) Download a Windows version of Mozilla from http://www.mozilla.org/ and install it using wine. Select to install the browser only when presented with the choice:
# wine mozilla-win32-1.7.12-installer.exe
12) Download the Mozilla ActiveX control. World of Warcraft's patch utility requires ActiveX to be installed order to function properly (BLAH!). Install this with wine:
# wget -c http://www.iol.ie/~locka/mozilla/MozillaControl1712.exe
# wine MozillaControl1712.exe
13) Use wine to install World Of Warcraft. You may have to manually mount and/or eject CD's, depending on what desktop or window manager you use. Personally, I use GNOME, and with the help of the Gentoo GNOME documentation, my CD's are automagically mounted:
# wine /path/to/cdrom/install.exe
When the install is complete, exit the installer! Don't start playing just yet!
14) Tweaking graphics and sound! Edit your World of Warcraft config file:
# nano -w .wine/drive_c/Program\ Files/World\ of\ Warcraft/WTF/Config.wtf
Add or change the following:
SET SoundOutputSystem "1"
SET SoundBufferSize "150"
SET gxApi "opengl"
You may have to play with the buffer size to get the sound where it needs to be. (If someone has a better way to do this, please let me know and I'll make the proper edits!)
And now, the moment you've been waiting for...
15) Start World of Warcraft:
# wine .wine/drive_c/Program\ Files/World\ of\ Warcraft/WoW.exe -opengl &
If this is the first time you've started WoW, you'll most likely be downloading and installing lots of patches. You may see error messages with 'Internal Application Error' - in which case, I've been able to just hit 'OK' and the game appears to proceed normally. If all goes well, WoW's downloader should start downloading patches - some in excess of 300MB!
Works like a dream for me.
FAQ
Q: I don't get it - glxgears screams with my nVidia card, and WoW runs like crap! What gives?!
A #1: Read the step by step Gentoo Linux nVidia Guide.
A #2: Anytime you rebuild X, or nVidia drivers, always be sure to do the following (as root):
# env-update && source /etc/profile
# eselect opengl set nvidia
This will make X use nVidia's GLX libraries and should increase your graphics performance dramatically.
Then, restart X as root:
# /etc/init.d/xdm restart
Or, restart X as user:
Logout of your session (KDE, Gnome, etc), and then at your 'welcome' screen of choice (gdm, kdm, xdm), hit CTRL+ALT+BACKSPACE to restart X.
Hats off to the Gentoo devs, the Gamers & Players forum, my friends at www.binaryfreedom.info and all (Linux) gamers the world around.
Enjoy!
:-)
----- END OLD HOWTO ----- _________________ H T T P : / / W W W . B I N A R Y F R E E D O M . I N F O /
Last edited by b1f30 on Thu Mar 06, 2008 9:44 pm; edited 25 times in total |
|
| Back to top |
|
 |
Gherkin n00b


Joined: 03 Mar 2006 Posts: 4
|
Posted: Thu Mar 30, 2006 9:40 pm Post subject: |
|
|
When running winecfg you'll also want to ensure that a drive mapping to the mount point of your optical drive is created. _________________ maguire's emwrap |
|
| Back to top |
|
 |
b1f30 Apprentice


Joined: 16 Nov 2005 Posts: 262 Location: USA
|
Posted: Fri Mar 31, 2006 12:24 am Post subject: |
|
|
| Gherkin wrote: | | When running winecfg you'll also want to ensure that a drive mapping to the mount point of your optical drive is created. |
Added.
:-)
Thanks for the reminder!
I mention to use the 'autodetect' button for the drives which seems to work fine for me. _________________ H T T P : / / W W W . B I N A R Y F R E E D O M . I N F O / |
|
| Back to top |
|
 |
rek2 Guru


Joined: 05 Jan 2003 Posts: 477 Location: Boston USA/Barcelona Spain
|
|
| Back to top |
|
 |
b1f30 Apprentice


Joined: 16 Nov 2005 Posts: 262 Location: USA
|
Posted: Fri Mar 31, 2006 5:07 pm Post subject: |
|
|
| rek2 wrote: | Great howto ;-)v BTW the link to binaryfreedom is broke you added a , I think.
cheers |
Fixed the link.
:-)
CHIKIMIKI!!! _________________ H T T P : / / W W W . B I N A R Y F R E E D O M . I N F O / |
|
| Back to top |
|
 |
rek2 Guru


Joined: 05 Jan 2003 Posts: 477 Location: Boston USA/Barcelona Spain
|
|
| Back to top |
|
 |
b1f30 Apprentice


Joined: 16 Nov 2005 Posts: 262 Location: USA
|
Posted: Wed Apr 05, 2006 8:55 pm Post subject: |
|
|
http://home.comcast.net/~jmg_071769/images/wowwtf.jpg
This is the error I've been seeing for the past 3 days straight. Anyone know what's up with this or how to get around it? How annoying... _________________ H T T P : / / W W W . B I N A R Y F R E E D O M . I N F O / |
|
| Back to top |
|
 |
Minthos n00b

Joined: 04 Feb 2005 Posts: 9 Location: Norway
|
Posted: Fri Apr 07, 2006 10:49 pm Post subject: |
|
|
| Just want to say thanks for a nice howto, it worked right away and even a noob like me didnt run into any problems related to the stuff in this howto (I ran out of disk space while copying my old wow folder from windows partition so I made a new partition and accidentally formatted one of my windows partitions with ext3 :D) |
|
| Back to top |
|
 |
b1f30 Apprentice


Joined: 16 Nov 2005 Posts: 262 Location: USA
|
Posted: Fri Apr 07, 2006 11:40 pm Post subject: |
|
|
| Minthos wrote: | | Just want to say thanks for a nice howto, it worked right away and even a noob like me didnt run into any problems related to the stuff in this howto (I ran out of disk space while copying my old wow folder from windows partition so I made a new partition and accidentally formatted one of my windows partitions with ext3 :D) |
Thank all the good people on the forums too, because without them this HOWTO wouldn't exist!
w00t!
Glad it works for ya.
:-)
Another satisfied customer! _________________ H T T P : / / W W W . B I N A R Y F R E E D O M . I N F O / |
|
| Back to top |
|
 |
neuron Advocate


Joined: 28 May 2002 Posts: 2371
|
Posted: Sat Apr 08, 2006 11:35 pm Post subject: |
|
|
hm, was gonna install 0.9.6 again since the latest versions runs considerably slower for me, but now I get this error:
| Code: |
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include -DINCLUDEDIR="\"/usr/include/wine\"" -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -march=athlon64 -O2 -pipe -o lex.yy.o lex.yy.c
lex.yy.c:2610: error: syntax error before numeric constant
lex.yy.c: In function `yy_scan_string':
lex.yy.c:2611: error: number of arguments doesn't match prototype
lex.yy.c:305: error: prototype declaration
lex.yy.c:2613: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
lex.yy.c:2613: warning: passing arg 1 of `yy_scan_bytes' makes pointer from integer without a cast
make[2]: *** [lex.yy.o] Error 1
make[2]: Leaving directory `/mnt/storage/gentoo/portage_tmp/portage/wine-0.9.6/work/wine-0.9.6/tools/wrc'
|
|
|
| Back to top |
|
 |
rek2 Guru


Joined: 05 Jan 2003 Posts: 477 Location: Boston USA/Barcelona Spain
|
|
| Back to top |
|
 |
hazer n00b

Joined: 02 Sep 2004 Posts: 55
|
Posted: Sun Apr 09, 2006 7:12 am Post subject: |
|
|
One problem I'm having trying to get WINE to play WoW (instead of Cedega) is that I have dual monitors hooked up. The instant wine kicks off the application it uses both monitors and plasters WoW right in the middle of the screen, half on one display half on the other.
When I look at wineconfig I don't have the option enabled to limit the desktop size for some reason. Is there something else I need to look at as far as my setup goes? |
|
| Back to top |
|
 |
neuron Advocate


Joined: 28 May 2002 Posts: 2371
|
Posted: Sun Apr 09, 2006 4:53 pm Post subject: |
|
|
| so I take it I'm the only one with this compile problem? running ~amd64, I had it compiled before, but it wont work again now for some reason. |
|
| Back to top |
|
 |
asjapulk n00b


Joined: 15 Apr 2004 Posts: 71
|
Posted: Tue Apr 11, 2006 9:15 pm Post subject: |
|
|
I get following error while starting wow:
| Code: | wine .wine/c_drive/Program\ Files/World\ of\ Warcraft/WoW.exe --opengl
err:module:load_builtin_dll failed to load .so lib for builtin L"GLU32.dll": libGLU.so.1: cannot open shared object file: No such file or directory
err:module:import_dll Loading library GLU32.dll (which is needed by L"C:\\windows\\system32\\OPENGL32.dll") failed (error c000007a).
err:module:import_dll Library OPENGL32.dll (which is needed by L"K:\\.wine\\c_drive\\Program Files\\World of Warcraft\\WoW.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"K:\\.wine\\c_drive\\Program Files\\World of Warcraft\\WoW.exe" failed, status c0000135 |
| Code: |
~/TransGaming_Drive/windows/system32$
rw-r--r-- 1 xxx users 733296 Aug 24 1996 opengl32.dll
-rw-r--r-- 1 xxx users 733296 Aug 24 1996 OPENGL32.dll |
Something I missed? |
|
| Back to top |
|
 |
neuron Advocate


Joined: 28 May 2002 Posts: 2371
|
Posted: Tue Apr 11, 2006 10:39 pm Post subject: |
|
|
| USE="opengl" emerge wine |
|
| Back to top |
|
 |
asjapulk n00b


Joined: 15 Apr 2004 Posts: 71
|
Posted: Wed Apr 12, 2006 8:31 am Post subject: |
|
|
Did that (I think it was enambled all the time). Re-merged wine.
| Code: | | [ebuild UD] app-emulation/wine-0.9.6-r1 [20050930-r1] +X +alsa -arts -cups -debug -esd +gif +glut -jack +jpeg +lcms -ldap +nas +ncurses +opengl -oss -scanner +truetype +xml* 0 kB [1] |
Still the same error. |
|
| Back to top |
|
 |
mitsuhashi n00b

Joined: 07 Apr 2006 Posts: 3
|
Posted: Fri Apr 14, 2006 11:28 am Post subject: |
|
|
Hi guys, thx for this howto now WoW is running good but i have a problem i can't target NPC any idea?
I see there are some problem but i can't find on forums to many post if anyone can help i will apreciate it.
--- Edit ---
Solved  |
|
| Back to top |
|
 |
Rylz n00b

Joined: 09 Apr 2005 Posts: 9
|
Posted: Tue Apr 18, 2006 3:44 am Post subject: |
|
|
I have tried wine 0.9.6 with the patch, vanilla 0.9.6, and vanilla 0.9.12, but no matter what I try, I cannot seem to get WoW to install. I always get the same error about 1 minute into the install process...
The installer was unable to read the file "<unknown>". This error may be caused by problems with the media or drive at --for example, a scratched or dirty CD-ROM/DVD-ROM, hard drive corruption, or a networking problem while downloading the installer. (The data being read was "Repack-MPQ\Data#patch.MPQ\textures\BakedNpcTextures\b8b3335182f057b84703fe1c2dd087f2.blp", and the error code was 38.) If this problem persists, please contact Blizzard Technical Support. (MPQFile::Read)
While this may or may not be an amd64 specific problem, I do know that my WoW discs install fine on vanilla 0.9.12 on my x86 box. However, since the x86 box lacks a good graphics card, I can't realistically run it there. Does anybody have any ideas about this problem? |
|
| Back to top |
|
 |
neuron Advocate


Joined: 28 May 2002 Posts: 2371
|
Posted: Tue Apr 18, 2006 11:04 am Post subject: |
|
|
try to just copy it from the x86 box then  |
|
| Back to top |
|
 |
legine Guru

Joined: 27 May 2004 Posts: 555 Location: Germany
|
Posted: Wed Apr 19, 2006 9:58 am Post subject: |
|
|
asjapulk
Sound stupid, but have you opengl installed at all?
I mean does glxgears show something? _________________ quote from Spaceballs:
Dark Helmet:[...] we were told to comb the desert, so we're combing it! [puts down bullhorn] Find anything yet?!
Soldier: Nothing yet, sir. |
|
| Back to top |
|
 |
asjapulk n00b


Joined: 15 Apr 2004 Posts: 71
|
Posted: Thu Apr 20, 2006 8:27 pm Post subject: |
|
|
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
Any other commands to verify if my opengl is working?
But ut2004-demo works very fast and nice (don't know how to make it show fps..but it's fast:)
PS: how can i look from WoW if it's using opengl or d3d? Trying with cedega right now. It kind of works but lots slower than it worked with wine.
Hoping still to get wine to work some day.
---
2.6.15-gentoo-r7 #10 SMP x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
gf7900GT |
|
| Back to top |
|
 |
b1f30 Apprentice


Joined: 16 Nov 2005 Posts: 262 Location: USA
|
Posted: Fri Apr 21, 2006 2:53 pm Post subject: |
|
|
| asjapulk wrote: | direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
Any other commands to verify if my opengl is working?
But ut2004-demo works very fast and nice (don't know how to make it show fps..but it's fast:)
PS: how can i look from WoW if it's using opengl or d3d? Trying with cedega right now. It kind of works but lots slower than it worked with wine.
Hoping still to get wine to work some day.
---
2.6.15-gentoo-r7 #10 SMP x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
gf7900GT |
http://www.blizzard.com/support/wow/?id=aww0793p2 _________________ H T T P : / / W W W . B I N A R Y F R E E D O M . I N F O / |
|
| Back to top |
|
 |
asjapulk n00b


Joined: 15 Apr 2004 Posts: 71
|
Posted: Sat Apr 22, 2006 1:10 pm Post subject: |
|
|
I ment a /command (like /lol or /spit from wow. I remember that there was a command that showed if it's using openGL or d3d while the game was running.
BTW: while compiling wine I get:
| Code: | checking for GL/gl.h... yes
checking for GL/glx.h... yes
checking for GL/glext.h... yes
checking for up-to-date OpenGL version... yes
checking for glXCreateContext in -lGL... no
checking for gluLookAt in -lGLU... yes
checking for glutMainLoop in -lglut... (cached) yes
|
| Code: | | glXCreateContext in -lGL... no |
Can that be a problem? |
|
| Back to top |
|
 |
MaGuS Guru


Joined: 13 Jun 2002 Posts: 303 Location: Luebeck, Germany
|
Posted: Mon Apr 24, 2006 12:59 pm Post subject: |
|
|
| mitsuhashi wrote: | Hi guys, thx for this howto now WoW is running good but i have a problem i can't target NPC any idea?
I see there are some problem but i can't find on forums to many post if anyone can help i will apreciate it.
--- Edit ---
Solved  |
HOW did you solved this? |
|
| Back to top |
|
 |
MaGuS Guru


Joined: 13 Jun 2002 Posts: 303 Location: Luebeck, Germany
|
Posted: Mon Apr 24, 2006 2:17 pm Post subject: |
|
|
| MaGuS wrote: | | mitsuhashi wrote: | Hi guys, thx for this howto now WoW is running good but i have a problem i can't target NPC any idea?
I see there are some problem but i can't find on forums to many post if anyone can help i will apreciate it.
--- Edit ---
Solved  |
HOW did you solved this? |
my fault, installed the wrong ebuild. wine 0.9.12+ wow patch works.
MaG |
|
| Back to top |
|
 |
|