Installer call-of-duty-4-modern-warfare-retail-cd-patched-17

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

files:
- patch1: N/A:Provide path to 1.6 patch
- patch2: N/A:Provide path to 1.6-1.7 patch
game:
  exe: drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern Warfare/iw3mp.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    message: Insert disc 1
    requires: setup.exe
- merge:
    description: Copying disc 1 to cache
    dst: $CACHE/cdrom
    src: $DISC
- task:
    executable: $CACHE/cdrom/setup.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    executable: patch1
    name: wineexec
    prefix: $GAMEDIR
- task:
    executable: patch2
    name: wineexec
    prefix: $GAMEDIR
system:
  prefer_system_libs: false
wine:
  esync: true
{
  "wine": {
    "esync": true
  },
  "installer": [
    {
      "insert-disc": {
        "message": "Insert disc 1",
        "requires": "setup.exe"
      }
    },
    {
      "merge": {
        "src": "$DISC",
        "dst": "$CACHE/cdrom",
        "description": "Copying disc 1 to cache"
      }
    },
    {
      "task": {
        "executable": "$CACHE/cdrom/setup.exe",
        "prefix": "$GAMEDIR",
        "name": "wineexec"
      }
    },
    {
      "task": {
        "executable": "patch1",
        "prefix": "$GAMEDIR",
        "name": "wineexec"
      }
    },
    {
      "task": {
        "executable": "patch2",
        "prefix": "$GAMEDIR",
        "name": "wineexec"
      }
    }
  ],
  "system": {
    "prefer_system_libs": false
  },
  "files": [
    {
      "patch1": "N/A:Provide path to 1.6 patch"
    },
    {
      "patch2": "N/A:Provide path to 1.6-1.7 patch"
    }
  ],
  "game": {
    "exe": "drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern Warfare/iw3mp.exe",
    "prefix": "$GAMEDIR"
  }
}
Back to game