[Wine] Re: Patching Wine 1.0-rc1 with 3dmark.diff

csocean wineforum-user at winehq.org
Sun May 18 14:14:42 CDT 2008

It worked!! It all works!  Thanks for your help everyone, it was much appreciated.  Call of Duty 4 now runs a charm :)  It's amazing how helpful the community has been to a newcomer in confusion.  

I've compiled what I did below, so if anyone follows and wants to patch, compile, and install wine 1.0rc1 on Hardy then follow my "For noobs by noob" guide below, entering one line at a time:

I used a lot of information on the web, and from this post.  Thanks in particular to Zoltan for the new patch, kegel.com for his dependency list, and pointing out that I was in 64bit linux (incidentally, this is for 32bit), Vitamin for his tip on making the install file, and google for figuring out how to install it!

The basic structure of how to do it was shamelessly pinched from:

and the no-cd crack from www.gamecopyworld.com

Without the above I'd never have gotten anywhere, so thanks again!

Ok, so first off, remove any previous wine installation - if you're like me, that means through the synaptic package manager.

next, make a folder from which you're going to be working, so in the terminal:


md wine
cd wine

Now, download and extract the wine RC1 package:

wget http://ibiblio.org/pub/linux/system/emulators/wine/wine-1.0-rc1.tar.bz2
tar -xvjf wine-1.0-rc1.tar.bz2

Now you need to install Kegal's list of dev libraries (Thanks!)


$ wget kegel.com/wine/hardy.sh
$ sh hardy.sh

Next, download the patch (supplied originally from 3dmark, and edited to fit 1.0rc1 by Zoltan Boszormenyi - thanks!) and save it to the folder wine was extracted to - /wine/wine-1.0-rc1

To apply the patch (assuming you called the saved file "attachment.diff":


patch -p1 < attachment.diff

Next, cofigure, and make the install file - this can take a while (~15-20)mins:


./configure --prefix=/usr --sysconfdir=/etc --enable-opengl --with-x
make depend && make
sudo make install

next, install wine (easy eh?!)


dpkg -i wine-1.0-rc1.deb

remember, before you can use wine, you need to run the config once:



also, you need to add the directx files to it, by going to the "Libraries" tab and adding "d3dx9_37"  I added it as "builtin", but also added 35 and 36 as "native, builtin", and also d3d10 as "buitin, native" but I've no idea if these contributed to my success, or if they're superfluous.

Now, download the nocd crack and apply as usual, then run! 


wine "c:\program files\activision\call of duty 4 - modernwarfare\iw3sp.exe"


More information about the wine-users mailing list