Installer command-conquer-generals-zero-10

files:
- patch1: N/A:Please select Patch 1.04 File (GeneralsZH-104-english.exe)
- patch2: N/A:Please select Crack (generals-zh-v104_crack.zip)
- optionsini: https://lutris.net/files/games/command-conquer-generals/options.ini
game:
  arch: win32
  exe: drive_c/Program Files/EA Games/Command & 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/drive_c/Program Files/EA Games/Command & Conquer Generals Zero Hour/
    file: patch2
- merge:
    dst: $GAMEDIR/drive_c/users/$USER/My 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
name: "Command & Conquer: Generals \u2013 Zero Hour"
notes: Game is configured to run at 1920x1080, to run in different resolutions, edit
  file drive_c/users/$USER/My Documents/Command and Conquer Generals Data/options.ini
runner: wine
script:
  files:
  - patch1: N/A:Please select Patch 1.04 File (GeneralsZH-104-english.exe)
  - patch2: N/A:Please select Crack (generals-zh-v104_crack.zip)
  - optionsini: https://lutris.net/files/games/command-conquer-generals/options.ini
  game:
    arch: win32
    exe: drive_c/Program Files/EA Games/Command & 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/drive_c/Program Files/EA Games/Command & Conquer Generals Zero
        Hour/
      file: patch2
  - merge:
      dst: $GAMEDIR/drive_c/users/$USER/My Documents/Command and Conquer Generals
        Zero Hour Data/
      src: optionsini
slug: command-conquer-generals-zero-10
steamid: null
version: '1.0'
year: 2003
{
  "game_slug": "command-conquer-generals-zero-hour",
  "version": "1.0",
  "description": "",
  "notes": "Game is configured to run at 1920x1080, to run in different resolutions, edit file drive_c/users/$USER/My Documents/Command and Conquer Generals Data/options.ini",
  "name": "Command & Conquer: Generals \u2013 Zero Hour",
  "year": 2003,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "command-conquer-generals-zero-10",
  "installer_slug": "command-conquer-generals-zero-10",
  "script": {
    "files": [
      {
        "patch1": "N/A:Please select Patch 1.04 File (GeneralsZH-104-english.exe)"
      },
      {
        "patch2": "N/A:Please select Crack (generals-zh-v104_crack.zip)"
      },
      {
        "optionsini": "https://lutris.net/files/games/command-conquer-generals/options.ini"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "drive_c/Program Files/EA Games/Command & 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/drive_c/Program Files/EA Games/Command & Conquer Generals Zero Hour/",
          "file": "patch2"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/users/$USER/My Documents/Command and Conquer Generals Zero Hour Data/",
          "src": "optionsini"
        }
      }
    ]
  }
}
Back to game