wine
using wine in linux to run windows programs
here is how to install and configure wine 1.3.1 from source with additional configurations for nVidia card owners.
download the source here.
open up the tarball:
tar -jvxf wine-1.3.1.tar.bz2
cd into the newly created directory:
cd wine-1.3.0
configure and make dependencies:
./configure --with-x && make depend && make
install wine you may need to sudo this one
make install
create the .wine directory in your home folder:
winecfg
install winetricks for additional .dll’s:
cd .wine/
wget http://www.kegel.com/wine/winetricks
make winetricks executable:
sudo chmod +x ./winetricks
install additional .dll’s using winetricks:
./winetricks d3dx9 droid winxp sound=alsa volnum vcrun2008 dotnet20 ie6 corefonts
recommended for nvidia card users: for the physx gaming engine – make sure your card is supported
./winetricks physx
now, after you have done all this, there is still more to do in order to properly configure wine:
configure the wine registry for windows gaming:
wine regedit
browse to HK_CURRENT_USER/Software/Wine/ and add a new key named Direct3D. then add the following strings and values:
| string | value |
| DirectDrawRenderer | opengl |
| Nonpower2Mode | repack |
| OffscreenRenderingMode | fbo |
| RenderTargetLockMode | auto |
| UseGLSL | readtex |
| VertexShaderMode | hardware |
| VideoDescription | NVIDIA GeForce GT 220 |
| VideoDriver | nv4_disp.dll |
| VideoMemorySize | 1024 |
you can add it manually as shown above, or, copy and paste the following to a graphics.reg file and import it to wines registry.
REGEDIT4
[HKEY_CURRENT_USERSoftwareWineDirect3D]
"DirectDrawRenderer"="opengl"
"Nonpower2Mode"="repack"
"OffscreenRenderingMode"="fbo"
"RenderTargetLockMode"="auto"
"UseGLSL"="readtex"
"VertexShaderMode"="hardware"
"VideoDescription"="NVIDIA GeForce GT 220"
"VideoDriver"="nv4_disp.dll"
"VideoMemorySize"="1024"
enable support for misc binaries:
edit /etc/rc.d/rc.modules and uncomment the following line:
/sbin/modprobe binfmt_misc
then add the following to /etc/fstab:
none /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0
now add the following to /etc/rc.d/rc.local”:
echo ':windows:M::MZ::/path/to/wine:' > /proc/sys/fs/binfmt_misc/register
echo ':windowsPE:M::PE::/path/to/wine:' > /proc/sys/fs/binfmt_misc/register
now reboot the machine
wine 1.3.2 has been released. you can get all the info for bug fixes and download it here
wine 1.3.0 was release 07/30/2010. you can get it here.
go here for a quick how-to on installing one from source.
the shortlog is here
a quick summary of whats new in 1.3.0:
wine 1.2-rc6 was released (awhile ago, i know). so here is a rundown of how to compile from source and install it.
download the newest source here
put wine-1.2-rc6.tar.bz2 in a directory (i just put it in my user accounts home)
run tar -jvxf wine-1.2-rc6.tar.bz2
cd into the newly created directory
run ./configure --with-x && make depend && make
after its done run make install
i downloaded the mysql query browser and attempted to compile from source and install. i kept running into errors for the linux version and because i have virtualbox i didnt want to fight with installing the linux version. so i downloaded the windows version of mysql query browser and then realized that my virtualbox did not have a valid key with it. so i decided to install it using wine.
the .msi file i downloaded kept flagging errors when i tried to install it with wine. i do know that there are some windows .dll's that are required in order to install .msi's within wine….so….i downloaded the .zip instead. (yes, i chose the easy route, i want it to work dammit!)
i unzipped the mysql zip into
~/.wine/drive_c/Program Files/
then i made a quick script to launch it
wine /home/mike/.wine/drive_c/Program Files/MySQL GUI Tools 5.0/MySQLQueryBrowser.exe
here are a couple screenshots of what i did.


so far it appears that all the functionality is working. i will be sure to post any errors i come across here.
i have tried in the past to get ventrilo working in wine and had no success. (last time i tried was several months ago)
so i tried again and below is the error message i got

well, thats it for now. i just downloaded and am going to attempt to install a wow addon studio
so i attempted to install again, got the prompt to repair/remove and chose repair. launched again and got the same error message as before. so i tried a different approach and launched vent via wine from the vent folder in the wine tree. this worked for me and vent runs flawlessly.

i am not sure what made it “just work” but i am not gonna argue. i didnt have to mess around with any windows .dlls or mess with the sys ini (which i have seen people do)
| i tried to launch wow using wine. i compiled wine from source. here is a screenshot of what happened: | ![]() |
i ran wow in crossover and got 28+ fps in the world environment. inside of dalaran (the busiest major city) i was getting 10-12+ fps
here is my Config.wtf
SET gxAPI "opengl"
SET ffxGlow "0"
SET gxWindow "1"
SET locale "enUS"
SET realmList "us.logon.worldofwarcraft.com"
SET patchlist "us.version.worldofwarcraft.com"
SET coresDetected "2"
SET hwDetect "0"
SET gxRefresh "60"
SET gxMultisampleQuality "0.000000"
SET gxFixLag "0"
SET videoOptionsVersion "2"
SET movie "0"
SET Gamma "1.000000"
SET showToolsUI "1"
SET Sound_OutputDriverName "System Default"
SET Sound_MusicVolume "0.40000000596046"
SET Sound_AmbienceVolume "0.60000002384186"
SET farclip "450.000000"
SET specular "1"
SET groundEffectDensity "24"
SET projectedTextures "1"
SET accountName "slackwareFTW"
SET mouseSpeed "1"
SET readTOS "1"
SET readEULA "1"
SET accounttype "LK"
SET VoiceActivationSensitivity "0.39999997615814"
SET ChatMusicVolume "0.29999998211861"
SET ChatSoundVolume "0.39999997615814"
SET ChatAmbienceVolume "0.29999998211861"
SET realmName "Sargeras"
SET gameTip "5"
i installed world of warcraft. and the burning crusade expansion with no problems. i had to manually mount the dvd by using sudo mount -t udf -o ro,unhide /dev/cdrom /media/cdrom0
when i went to install the wrath of the lich king expansion, it kept stopping and exiting crossover. with a little research i found that wotlk can be picky. so i manually mounted the dvd with another parameter added to the mount command.
sudo mount -t udf -o ro,unhide,uid=1000 /dev/cdrom /media/cdrom0
i have discontinued looking into getting world of warcraft working on my dell xps m140. i wiped the laptop and reinstalled a fresh vanilla copy of slackware 12.2.
the reason for this is that i purchased a new laptop hp pavillion dv4-1225 dx. it is primarily a work laptop, but however, i can have fun with it.
if i do happen to mess with that laptop and world of warcraft again i will be sure to post on it here.
i added the following to my Config.wtf
SET hwDetect "0"
SET particleDensity "1.000000"
SET pixelShaders "0"
SET M2UseShaders "0"
SET M2UsePixelShaders "1"
SET Sound_EnableAllSound "0"
SET baseMip "1"
SET environmentDetail "0.5"
SET weatherDensity "0"
SET showfootprints "0"
now i get 16-20fps if i am inside of a building. in major cities (other than dalaran) i get 12-16fps. as soon as i go into the world environment, i get 4-6fps and sometimes it will jump to 8fps.