Installer x-com-apocalypse-gogcom

files:
- game: N/A:Please select the GOG.com Windows installer
game:
  appid: 7660
  config_file: $GAMEDIR/dosbox_xcomapoc.conf
  main_file: $GAMEDIR/dosbox_xcomapoc_single.conf
installer:
- task:
    description: Creating Wine prefix
    name: wine.create_prefix
    prefix: $GAMEDIR
- task:
    key: winemenubuilder.exe
    name: wine.set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
    prefix: $GAMEDIR
    type: REG_SZ
    value: ''
- task:
    args: /VERYSILENT /SP- /NOCANCEL /SUPPRESSMSGBOXES '/DIR=C:/game'
    description: Installing ...
    executable: game
    name: wine.wineexec
    prefix: $GAMEDIR
- execute:
    args: -c 'mv $GAMEDIR/drive_c/game/* $GAMEDIR'
    description: cleaning...
    file: /bin/sh
    terminal: false
- execute:
    args: -c 'rm -rf $GAMEDIR/drive_c $GAMEDIR/dosdevices $GAMEDIR/*.reg'
    description: cleaning...
    file: /bin/sh
    terminal: false
- execute:
    args: -i 's|mount C ".."|mount C "."|g' $GAMEDIR/dosbox_xcomapoc_single.conf
    file: /bin/sed
    terminal: false
- execute:
    args: -i '/^imgmount/ {N; s|imgmount D "..\\CD\\xcom.cue" -t iso.*c:|c:\nimgmount
      D ".\\CD\\xcom.bin" -t iso|g}' $GAMEDIR/dosbox_xcomapoc_single.conf
    file: /bin/sed
    terminal: false
- execute:
    args: -c 'rm -rf $GAMEDIR/DOSBOX'
    file: /bin/sh
    terminal: false
description: null
game_slug: x-com-apocalypse
gogslug: xcom_apocalypse
humblestoreid: ''
installer_slug: x-com-apocalypse-gogcom
name: 'X-COM: Apocalypse'
notes: ''
runner: dosbox
script:
  files:
  - game: N/A:Please select the GOG.com Windows installer
  game:
    appid: 7660
    config_file: $GAMEDIR/dosbox_xcomapoc.conf
    main_file: $GAMEDIR/dosbox_xcomapoc_single.conf
  installer:
  - task:
      description: Creating Wine prefix
      name: wine.create_prefix
      prefix: $GAMEDIR
  - task:
      key: winemenubuilder.exe
      name: wine.set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
      prefix: $GAMEDIR
      type: REG_SZ
      value: ''
  - task:
      args: /VERYSILENT /SP- /NOCANCEL /SUPPRESSMSGBOXES '/DIR=C:/game'
      description: Installing ...
      executable: game
      name: wine.wineexec
      prefix: $GAMEDIR
  - execute:
      args: -c 'mv $GAMEDIR/drive_c/game/* $GAMEDIR'
      description: cleaning...
      file: /bin/sh
      terminal: false
  - execute:
      args: -c 'rm -rf $GAMEDIR/drive_c $GAMEDIR/dosdevices $GAMEDIR/*.reg'
      description: cleaning...
      file: /bin/sh
      terminal: false
  - execute:
      args: -i 's|mount C ".."|mount C "."|g' $GAMEDIR/dosbox_xcomapoc_single.conf
      file: /bin/sed
      terminal: false
  - execute:
      args: -i '/^imgmount/ {N; s|imgmount D "..\\CD\\xcom.cue" -t iso.*c:|c:\nimgmount
        D ".\\CD\\xcom.bin" -t iso|g}' $GAMEDIR/dosbox_xcomapoc_single.conf
      file: /bin/sed
      terminal: false
  - execute:
      args: -c 'rm -rf $GAMEDIR/DOSBOX'
      file: /bin/sh
      terminal: false
slug: x-com-apocalypse-gogcom
steamid: 7660
version: GOG.com
year: 1997
{
  "game_slug": "x-com-apocalypse",
  "version": "GOG.com",
  "description": null,
  "notes": "",
  "name": "X-COM: Apocalypse",
  "year": 1997,
  "steamid": 7660,
  "gogslug": "xcom_apocalypse",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "x-com-apocalypse-gogcom",
  "installer_slug": "x-com-apocalypse-gogcom",
  "script": {
    "files": [
      {
        "game": "N/A:Please select the GOG.com Windows installer"
      }
    ],
    "game": {
      "appid": 7660,
      "config_file": "$GAMEDIR/dosbox_xcomapoc.conf",
      "main_file": "$GAMEDIR/dosbox_xcomapoc_single.conf"
    },
    "installer": [
      {
        "task": {
          "description": "Creating Wine prefix",
          "name": "wine.create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "key": "winemenubuilder.exe",
          "name": "wine.set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": ""
        }
      },
      {
        "task": {
          "args": "/VERYSILENT /SP- /NOCANCEL /SUPPRESSMSGBOXES '/DIR=C:/game'",
          "description": "Installing ...",
          "executable": "game",
          "name": "wine.wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "args": "-c 'mv $GAMEDIR/drive_c/game/* $GAMEDIR'",
          "description": "cleaning...",
          "file": "/bin/sh",
          "terminal": false
        }
      },
      {
        "execute": {
          "args": "-c 'rm -rf $GAMEDIR/drive_c $GAMEDIR/dosdevices $GAMEDIR/*.reg'",
          "description": "cleaning...",
          "file": "/bin/sh",
          "terminal": false
        }
      },
      {
        "execute": {
          "args": "-i 's|mount C \"..\"|mount C \".\"|g' $GAMEDIR/dosbox_xcomapoc_single.conf",
          "file": "/bin/sed",
          "terminal": false
        }
      },
      {
        "execute": {
          "args": "-i '/^imgmount/ {N; s|imgmount D \"..\\\\CD\\\\xcom.cue\" -t iso.*c:|c:\\nimgmount D \".\\\\CD\\\\xcom.bin\" -t iso|g}' $GAMEDIR/dosbox_xcomapoc_single.conf",
          "file": "/bin/sed",
          "terminal": false
        }
      },
      {
        "execute": {
          "args": "-c 'rm -rf $GAMEDIR/DOSBOX'",
          "file": "/bin/sh",
          "terminal": false
        }
      }
    ]
  }
}
Back to game