Installer call-of-duty-2-cd

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 disc 1
    requires: setup.exe
- merge:
    dst: $GAMEDIR/drive_c/COD2_DISC
    src: $DISC
- insert-disc:
    description: Insert disc 2
    requires: Setup/Data/main/iw_02.iwd
- merge:
    dst: $GAMEDIR/drive_c/COD2_DISC/Setup/Data/main/
    src: $DISC/Setup/Data/main/
- insert-disc:
    description: Insert disc 3
    requires: Setup/Data/main/iw_07.iwd
- merge:
    dst: $GAMEDIR/drive_c/COD2_DISC/Setup/Data/main/
    src: $DISC/Setup/Data/main/
- insert-disc:
    description: Insert disc 4
    requires: Setup/Data/main/iw_12.iwd
- merge:
    dst: $GAMEDIR/drive_c/COD2_DISC/Setup/Data/main/
    src: $DISC/Setup/Data/main/
- insert-disc:
    description: Insert disc 5
    requires: autorun.inf
- merge:
    dst: $GAMEDIR/drive_c/COD2_DISC/Setup/Data/main/
    src: $DISC/Setup/Data/main/
- insert-disc:
    description: Insert disc 6
    requires: Launch.ini
- merge:
    dst: $GAMEDIR/drive_c/COD2_DISC/Setup/Data/main/
    src: $DISC/Setup/Data/main/
- extract:
    description: Extracting the patch
    dst: $GAMEDIR/drive_c/patch13
    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.
    exclude_processes: cod2.exe
    executable: $GAMEDIR/drive_c/COD2_DISC/setup.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    description: Running the 1.3 Patch.
    executable: $GAMEDIR/drive_c/patch13/cod2-v1.3.exe
    name: wineexec
    prefix: $GAMEDIR
description: Installs the 6 CD version, and updates the game to version 1.3
game_slug: call-of-duty-2
gogslug: ''
humblestoreid: ''
installer_slug: call-of-duty-2-cd
name: Call of Duty 2
notes: "Moves all the requierd install files to a folder then runs the setup.\r\n\
  After the installer crashes, you'll have to end the process \"cod2.exe\" using a\
  \ task manager, or else the process will not proceed.\r\nYou might need a no-cd\
  \ crack as well due to the use of SafeDisc DRM."
runner: wine
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 disc 1
      requires: setup.exe
  - merge:
      dst: $GAMEDIR/drive_c/COD2_DISC
      src: $DISC
  - insert-disc:
      description: Insert disc 2
      requires: Setup/Data/main/iw_02.iwd
  - merge:
      dst: $GAMEDIR/drive_c/COD2_DISC/Setup/Data/main/
      src: $DISC/Setup/Data/main/
  - insert-disc:
      description: Insert disc 3
      requires: Setup/Data/main/iw_07.iwd
  - merge:
      dst: $GAMEDIR/drive_c/COD2_DISC/Setup/Data/main/
      src: $DISC/Setup/Data/main/
  - insert-disc:
      description: Insert disc 4
      requires: Setup/Data/main/iw_12.iwd
  - merge:
      dst: $GAMEDIR/drive_c/COD2_DISC/Setup/Data/main/
      src: $DISC/Setup/Data/main/
  - insert-disc:
      description: Insert disc 5
      requires: autorun.inf
  - merge:
      dst: $GAMEDIR/drive_c/COD2_DISC/Setup/Data/main/
      src: $DISC/Setup/Data/main/
  - insert-disc:
      description: Insert disc 6
      requires: Launch.ini
  - merge:
      dst: $GAMEDIR/drive_c/COD2_DISC/Setup/Data/main/
      src: $DISC/Setup/Data/main/
  - extract:
      description: Extracting the patch
      dst: $GAMEDIR/drive_c/patch13
      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.
      exclude_processes: cod2.exe
      executable: $GAMEDIR/drive_c/COD2_DISC/setup.exe
      name: wineexec
      prefix: $GAMEDIR
  - task:
      description: Running the 1.3 Patch.
      executable: $GAMEDIR/drive_c/patch13/cod2-v1.3.exe
      name: wineexec
      prefix: $GAMEDIR
slug: call-of-duty-2-cd
steamid: 2630
version: CD
year: 2005
{
  "game_slug": "call-of-duty-2",
  "version": "CD",
  "description": "Installs the 6 CD version, and updates the game to version 1.3",
  "notes": "Moves all the requierd install files to a folder then runs the setup.\r\nAfter the installer crashes, you'll have to end the process \"cod2.exe\" using a task manager, or else the process will not proceed.\r\nYou might need a no-cd crack as well due to the use of SafeDisc DRM.",
  "name": "Call of Duty 2",
  "year": 2005,
  "steamid": 2630,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "call-of-duty-2-cd",
  "installer_slug": "call-of-duty-2-cd",
  "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 disc 1",
          "requires": "setup.exe"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/COD2_DISC",
          "src": "$DISC"
        }
      },
      {
        "insert-disc": {
          "description": "Insert disc 2",
          "requires": "Setup/Data/main/iw_02.iwd"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/COD2_DISC/Setup/Data/main/",
          "src": "$DISC/Setup/Data/main/"
        }
      },
      {
        "insert-disc": {
          "description": "Insert disc 3",
          "requires": "Setup/Data/main/iw_07.iwd"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/COD2_DISC/Setup/Data/main/",
          "src": "$DISC/Setup/Data/main/"
        }
      },
      {
        "insert-disc": {
          "description": "Insert disc 4",
          "requires": "Setup/Data/main/iw_12.iwd"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/COD2_DISC/Setup/Data/main/",
          "src": "$DISC/Setup/Data/main/"
        }
      },
      {
        "insert-disc": {
          "description": "Insert disc 5",
          "requires": "autorun.inf"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/COD2_DISC/Setup/Data/main/",
          "src": "$DISC/Setup/Data/main/"
        }
      },
      {
        "insert-disc": {
          "description": "Insert disc 6",
          "requires": "Launch.ini"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/COD2_DISC/Setup/Data/main/",
          "src": "$DISC/Setup/Data/main/"
        }
      },
      {
        "extract": {
          "description": "Extracting the patch",
          "dst": "$GAMEDIR/drive_c/patch13",
          "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.",
          "exclude_processes": "cod2.exe",
          "executable": "$GAMEDIR/drive_c/COD2_DISC/setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Running the 1.3 Patch.",
          "executable": "$GAMEDIR/drive_c/patch13/cod2-v1.3.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      }
    ]
  }
}
Back to game