Installer call-of-duty-2-dvd

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:
- patch13: http://www.callofdutyview.net/files/patches/cod2-v1.3.zip
game:
  arch: win32
  exe: drive_c/Program Files/Activision/Call of Duty 2/CoD2SP_s.exe
  prefix: $GAMEDIR
installer:
- task:
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    description: Insert DVD
    requires: setup.exe
- extract:
    description: Extracting the patch
    file: patch13
- task:
    description: Running the installer. Choose Typical. The installer will crash,
      you'll have to end the process "cod2.exe" using a task manager, or else the
      process will not procead.
    executable: $DISC/setup.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    description: Running the 1.3 Patch.
    executable: $GAMEDIR/cod2-v1.3.exe
    name: wineexec
    prefix: $GAMEDIR
wine:
  Desktop: true
  esync: false
{
  "files": [
    {
      "patch13": "http://www.callofdutyview.net/files/patches/cod2-v1.3.zip"
    }
  ],
  "game": {
    "arch": "win32",
    "exe": "drive_c/Program Files/Activision/Call of Duty 2/CoD2SP_s.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "insert-disc": {
        "description": "Insert DVD",
        "requires": "setup.exe"
      }
    },
    {
      "extract": {
        "description": "Extracting the patch",
        "file": "patch13"
      }
    },
    {
      "task": {
        "description": "Running the installer. Choose Typical. The installer will crash, you'll have to end the process \"cod2.exe\" using a task manager, or else the process will not procead.",
        "executable": "$DISC/setup.exe",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "description": "Running the 1.3 Patch.",
        "executable": "$GAMEDIR/cod2-v1.3.exe",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "wine": {
    "Desktop": true,
    "esync": false
  }
}
Back to game