Playing Call of Duty(R) 4 - Modern Warfare(TM) on ubuntu 8.10

posted Apr 4, 2009, 9:55 AM by Ofer Fridman   [ updated Apr 28, 2009, 2:19 PM ]

using wine (1.1.18) 

installation step by step:

  1. First you should have graphic acceleration for your driver, I have G-force so I'm using  NVIDIA-Linux-x86-177.80-pkg1 driver from http://www.nvidia.com/object/linux_display_ia32_180.44.html to install it:
    • log in to one of the system terminals Ctrl + alt + F1 (F2 is OK to).
    • run the flowing code

      code

      sudo apt-get install build-essential
      sudo /etc/init.d/gdm stop
      sudo sh NVIDIA-Linux-x86-177.80-pkg1.run
      sudo /etc/init.d/gdm start


  2. installed wine automatically using WineHQ repositories   
  3. Download and install a DirectX DLL using th flowing script:

    code

    wget http://www.m3fe.com/files/d3dx9_34.zip
    unzip d3dx9_34.zip -d ~/.wine/drive_c/windows/system32/

  4. Change Wine to use Windows XP emulation mode, and ddd “d3dx9_34.dll” into the winecfg Library section as a Native dll

    code

    winecfg

    On the Application tab, change the Windows Version to Windows XP
    Now goto the Library tab, type in d3dx9_34.dll and press the Add button.
  5. now install the COD4
  6. run COD4 (iw3sp.exe)
  7. OK wine is not perfect so: turn off the following options for optimal performance in options > graphics
    • Anti-aliasing
    • Sync Every Frame
    • Shadows
    • Specular Map
    • Depth of Field
    • Glow
    • Number of Dynamic Lights
    • Soften Smoke Edges (most impotent)


  8. Enjoy playing


Thanks for fsckin for the help on http://www.fsckin.com/2008/02/21/how-to-run-call-of-duty-4-cod4-modern-combat-in-linux/.
Comments