Installer command-conquer-generals-zero-10-english-cd

files:
- patch1: https://lutris.net/files/games/command-conquer-generals-zero-hour/GeneralsZH-104-english.exe
- patch2: https://lutris.net/files/games/command-conquer-generals-zero-hour/cc-generalszh-patch-1.04.tar.gz
- optionsini: https://lutris.net/files/games/command-conquer-generals-zero-hour/options.ini
game:
  arch: win32
  exe: command-conquer-generals/drive_c/Program Files/EA Games/Command and Conquer
    Generals Zero Hour/generals.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
- insert-disc:
    message: Insert disc 2
    requires: Language.cab
- merge:
    description: Copying disc 2 to cache
    dst: $CACHE/cdrom
    src: $DISC/Language.cab
- task:
    executable: $CACHE/cdrom/setup.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    executable: patch1
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/command-conquer-generals/drive_c/Program Files/EA Games/Command
      and Conquer Generals Zero Hour/
    file: patch2
- merge:
    dst: $GAMEDIR/command-conquer-generals/drive_c/users/$USER/Documents/Command and
      Conquer Generals Zero Hour Data/
    src: optionsini
description: ''
game_slug: command-conquer-generals-zero-hour
gogslug: ''
humblestoreid: ''
installer_slug: command-conquer-generals-zero-10-english-cd
name: "Command & Conquer: Generals \u2013 Zero Hour"
notes: ''
runner: wine
script:
  files:
  - patch1: https://lutris.net/files/games/command-conquer-generals-zero-hour/GeneralsZH-104-english.exe
  - patch2: https://lutris.net/files/games/command-conquer-generals-zero-hour/cc-generalszh-patch-1.04.tar.gz
  - optionsini: https://lutris.net/files/games/command-conquer-generals-zero-hour/options.ini
  game:
    arch: win32
    exe: command-conquer-generals/drive_c/Program Files/EA Games/Command and Conquer
      Generals Zero Hour/generals.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
  - insert-disc:
      message: Insert disc 2
      requires: Language.cab
  - merge:
      description: Copying disc 2 to cache
      dst: $CACHE/cdrom
      src: $DISC/Language.cab
  - task:
      executable: $CACHE/cdrom/setup.exe
      name: wineexec
      prefix: $GAMEDIR
  - task:
      executable: patch1
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/command-conquer-generals/drive_c/Program Files/EA Games/Command
        and Conquer Generals Zero Hour/
      file: patch2
  - merge:
      dst: $GAMEDIR/command-conquer-generals/drive_c/users/$USER/Documents/Command
        and Conquer Generals Zero Hour Data/
      src: optionsini
slug: command-conquer-generals-zero-10-english-cd
steamid: null
version: 1.0 English CD
year: 2003
{
  "game_slug": "command-conquer-generals-zero-hour",
  "version": "1.0 English CD",
  "description": "",
  "notes": "",
  "name": "Command & Conquer: Generals \u2013 Zero Hour",
  "year": 2003,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "command-conquer-generals-zero-10-english-cd",
  "installer_slug": "command-conquer-generals-zero-10-english-cd",
  "script": {
    "files": [
      {
        "patch1": "https://lutris.net/files/games/command-conquer-generals-zero-hour/GeneralsZH-104-english.exe"
      },
      {
        "patch2": "https://lutris.net/files/games/command-conquer-generals-zero-hour/cc-generalszh-patch-1.04.tar.gz"
      },
      {
        "optionsini": "https://lutris.net/files/games/command-conquer-generals-zero-hour/options.ini"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "command-conquer-generals/drive_c/Program Files/EA Games/Command and Conquer Generals Zero Hour/generals.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"
        }
      },
      {
        "insert-disc": {
          "message": "Insert disc 2",
          "requires": "Language.cab"
        }
      },
      {
        "merge": {
          "description": "Copying disc 2 to cache",
          "dst": "$CACHE/cdrom",
          "src": "$DISC/Language.cab"
        }
      },
      {
        "task": {
          "executable": "$CACHE/cdrom/setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "executable": "patch1",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/command-conquer-generals/drive_c/Program Files/EA Games/Command and Conquer Generals Zero Hour/",
          "file": "patch2"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/command-conquer-generals/drive_c/users/$USER/Documents/Command and Conquer Generals Zero Hour Data/",
          "src": "optionsini"
        }
      }
    ]
  }
}
Back to game