Main Menu

Projects

Linux Games
Linux Games
[HOWTO Home :: HOWTO INDEX Wine Games :: This page]  

HOWTO COD4

Authors: Marko Kaiser
Keywords: Linux Games, Call of Duty 4: Modern Warfare

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike2.5 License.

Warning: This HOWTO comes with no explicit or implicit warranty whatsoever. Use at your own risk!

Table of Content

  1. Preface
  2. Preparations
  3. Installation
  4. Gameplay
  5. Limitations

1. Preface

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

2. Preparations

  1. Get wine sources.
  2. You have to patch wine in order to play COD4:ModernWarfare. Taken fom the wine appdb entry:

    For wine < 0.9.59 (0.9.58 and earlier)

    http://bugs.winehq.org/attachment.cgi?id=10811

  3. For wine > 0.9.58 (0.9.59 and higher)

    http://www.bennyp.org/wine/wine-0.9.59-3dmark.patch

  4. Get a no cd patch for COD4. Some people reported that with wine 1.0-rcX this may not be needed anymore in some cases.
  5. 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.
  6. Get official patches for COD4 from Activision or any mirror.
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.
Now apply available COD4 patches with wine. Make a backup of iw3sp.exe and replace it with the file from the no cd patch if the game does not work without 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

Sometimes one has to adapt the graphic settings in the game to avoid performance problems. The keyword here is "Depth of field".

Multiplayer does not work because COD4 uses Punkbuster which does not work with wine.

Last modified: 11.01.10 by GlaDiaC  

Comments
The comments are owned by the poster. We aren't responsible for their content.
Linux Games
Linux Games
Terms of Use · Privacy Policy · Creative Commons License · Credits · Linux Games · Linux Games · World Time · Vereins Intern