How To: Run Call of Duty 4 (COD4): Modern Combat in Linux

Modern Combat in Linux, Here inside the city I affectionately call Salt Lake Shitty, Utah.

it’s about as cold as a witch sporting an iron cupped bra doing push u.S.In the snow.


To offset this cold climate, my nice buddy in the complete international* Yahtzee.

who does a little piece for Escapist Magazine each Wednesday known as Zero Punctuation warmed up to Call of Duty four:

Modern Combat, calling it a “Pretty Excellent Gun Wank”.

Which in my e book means it’s a five-famous person title, and really worth gambling – but handiest if it runs in Wine.

I am now not certainly pals with Yahtzee.

Modern Combat in Linux, The Wine Application DB internet site says the compatibility score of the sport is Silver.

which means it works excellently for ‘ordinary’ use. In much less generalized shade coded terms.

which means it works near flawlessly after recompiling Wine.

I can listen the groaning and murmurs within the historical past – forestall it!!!

All this calls for is a bit little bit of brainless reproduction and paste from this page into a terminal.

I spent a giant amount of time getting this to work by myself, and seemingly.

I did no longer quote the supply of maximum of what I posted here, for which I apologize.

As a long way as I can consider, I had long gone although the method of recompiling Wine with the 3dmark patch.

Downloading the D3D DLL and found a manual on Ubuntu Forums by way of ahaslam that had all my paintings plus more already posted.

Getting COD4 to run in Wine is without a doubt no extra complex than say…

my tutorial on walking all of the video games within the Orange Box (TF2, Portal, HL2, and many others).

Getting COD4 up and strolling takes a touch bit extra time, given.

That compiling Wine takes the better part of 15 minutes on a particularly speedy computer.

On a aspect word, possibly the Department of Homeland Security must take a touch from the Wine parents and alternate.

Their coloration-coded terrorism hazard level matrix.

since Wine’s implementation works pretty rattling nicely, if I say so myself.

Modern Combat in Linux, The story of my existence is that I’m equipped to kick ass and bite bubble gum, and I’m all out of gum.

ARE YOU WITH ME? Let’s cross and kill our present Wine installation, and set up a pair tools since we’re going to be rolling our own. Yeehaw!

sudo apt-get remove wine
rm -r ~/.wine
sudo apt-get build-dep wine
sudo apt-get install build-essential checkinstall rar

Next let’s download the source code for Wine, download and practice the “3dmark” diff patch, then recompile Wine.

This manual has been up to date to use Wine zero.Nine.56 and numerous adjustments have been made after usability trying out.

mkdir wine && cd wine
tar -xvjf wine-0.9.56.tar.bz2
cp attachment.cgi\?id\=8548 wine-0.9.56/3dmark.diff && cd wine-0.9.56
patch -p1 < 3dmark.diff
./configure --prefix=/usr --sysconfdir=/etc --enable-opengl --with-x
make depend && make
sudo checkinstall

Now, we want to down load and set up a DirectX DLL file in order that the entirety runs easily:

unzip -d ~/.wine/drive_c/windows/system32/

Change Wine to apply Windows XP emulation mode, and ddd “d3dx9_34.Dll” into the winecfg Library segment as a Native dll: winecfg On the Application tab, exchange the Windows Version to Windows XP

Now goto the Library tab, type in d3dx9_34.Dll and press the Add button.

Now, I sold the sport from Direct2Drive, which means I have an electronic replica – No disc in any respect.

so after extracting the archive of the installation files I opened setup.Exe from the directory I extracted it to.

If you have the DVD version, simply open the setup.Exe record out of your DVD with Wine.

Installation is a fairly general process.

however I had an issue that cropped up the 2 times I tried to check my method.

wherein it failed for the duration of the first strive.

but on the second one try to deploy the game, it went thru flawlessly.

I did NOT set up PunkBuster because it isn’t always like minded with Wine – but.

I hooked up a No-CD patch from Game Copy World only for exact degree, and if you’re putting in from a CD.

you definitely will need this to avoid wanting the CD each time you need to play the game or if you get this error like I did:

To deploy the No-DVD patch, download the iw3sp.

Exe report from Game Copy World, extract it for your Desktop.

Then run the subsequent commands which will backup your existing sport executable and duplicate the No-DVD patched one in its’ region:

mv ~/.wine/drive_c/Program\ Files/Activision/Call\ of\ Duty\ 4\ -\ Modern\ Warfare/iw3sp.exe iw3sp.exe.backup
cp ~/Desktop/iw3sp.exe ~/.wine/drive_c/Program\ Files/Activision/Call\ of\ Duty\ 4\ -\ Modern\ Warfare/

Finally, we’re ready to actually run the game.
cd ~/.wine/drive_c/Program\ Files/Activision/Call\ of\ Duty\ 4\ -\ Modern\ Warfare/
wine iw3sp.exe

Unfortunately, a Silver rated game means that some things don’t paintings.

And a few configuration adjustments are needed to make the sport run smoothly.

And a few configuration adjustments are needed to make the sport run smoothly.

Turn off the following alternatives for optimum performance:

Anti-aliasing Sync Every Frame Shadows Specular Map Depth of Field Glow Number of Dynamic Lights

Modern Combat in Linux,Soften Smoke Edges

Soften Smoke Edges is the most crucial – Make SURE you switch this off, otherwise the sport will no longer be playable in any respect.