callofduty4pv4 Wine Gaming: Call Of Duty 4 (COD4)Modern Warfare’s single player campaign unfolds, the player is introduced to new gameplay at every turn – one moment you are fast-roping from your Black Hawk helicopter after storming into the war zone with an armada of choppers, the next you are a sniper, under concealment, in a Ghillie suit miles behind enemy lines, the next you are engaging hostiles from an AC-130 gunship thousands of feet above the battlefield. Mixed with explosive action, Call of Duty 4: Modern Warfare also delivers special effects, including use of depth of field, rim-lighting, character self-shadowing, real time post-processing, texture streaming as well as physics-enabled effects.

1. Preface

This howto shall you enable to play Call Of Duty 4: Modern Warfare Singleplayer with wine.

2. Preparations

  1. Get latest wine git tree (or cvs).
  2. Get patch for wine.
  3. Get a no cd patch for COD4.
  4. Make sure you have the latest DirectX 9.0c files in your system32 folder of your wine drive. You can copy d3dx9_24.dll…d3dx9_35.dll from an existing Windows installation.

Now patch wine sources and build them with the following command:

# cd

# patch -p1 < diff-file
# ./configure
# make depend && make
# su -c “make install”

3. Installation

Insert the COD4 DVD and mount it. Install the game:

# cd /media/cdrom/
# wine ./setup.exe

Paths may vary. Please check with your system.
Make a backup of iw3sp.exe and replace it with the file from the no cd patch.

4. Gameplay

To run the game enter the following commands in a terminal:

# cd .wine/drive_c/Programme/Activision/Call\ of\ Duty\ 4\ -\ Modern\ Warfare
# wine ./iw3sp.exe

Programme is equivalent with Program Files on english systems.
On first time start of the game you need to create a profile.

5. Limitations

Multiplayer does not work because COD4 uses Punkbuster which does not work with wine. Some people encountered performance problems which seem to be related to their video hardware.

Authors: Marko Kaiser

Creative Commons License

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Print This Post Print This Post

If you like this article then subscribe to Linux and Open Source Blog and get the latest articles delivered to your Feedreader. If you want to recieve latest articles in your email click here.

Similar & Related Posts: