| [HOWTO Home :: HOWTO INDEX Wine Games :: This page] |
HOWTO COD4 |
Authors: Marko Kaiser
Keywords: Linux Games, Call of Duty 4: Modern Warfare

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
- Preface
- Preparations
- Installation
- Gameplay
- Limitations
1. Preface
This howto shall you enable to play Call Of Duty 4: Modern Warfare Singleplayer with wine.
2. Preparations
- Get wine sources.
- 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)
- For wine > 0.9.58 (0.9.59 and higher)
- 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.
- 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.
- Get official patches for COD4 from Activision or any mirror.
# cd
# patch -p1 < diff-file
# ./configure
# make depend && make
# su -c "make install"
# 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
# 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
# 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
|




