Installer capitalism-2-standalone

files:
- patch: http://enlight.b-cdn.net/cap2/Cap2_v114.zip
- installer: 'N/A:Select the Setup executable from your CD:'
game:
  arch: win64
  exe: $GAMEDIR/$INPUT_EXEDIR/Cap2.exe
  prefix: $GAMEDIR
installer:
- input_menu:
    description: 'Choose the game''s version:'
    id: EXEDIR
    options:
    - /drive_c/Program Files (x86)/Capitalism II: English version
    - /drive_c/Program Files (x86)/Capitalism II PL: "Polish version (Komputer \u015A\
        wiat Gry Extra - nr 2/2004)"
    preselect: /drive_c/Program Files (x86)/Capitalism II
- task:
    arch: win64
    description: Creating prefix
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    arch: win64
    executable: installer
    name: wineexec
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/$INPUT_EXEDIR/
    file: patch
description: This script will help to install Capitalism 2 (standalone) with newest
  available patch 1.14.
game_slug: capitalism-2
gogslug: capitalism_2
humblestoreid: ''
installer_slug: capitalism-2-standalone
name: Capitalism 2
notes: "Important:\r\nPlease install this game in default directory.\r\nIf installation\
  \ directory is different than:\r\n- polish version: C:\\Program Files (x86)\\Capitalism\
  \ II PL\\\r\n- english version: C:\\Program Files (x86)\\Capitalism II\\\r\nyou\
  \ should select correct directory manually or this script will not extract patch\
  \ correctly.\r\n---------------------------------------------------------\r\nPatch\
  \ 1.14 improves compatibility with newest version of Windows operating systems and\
  \ also fixes a bug with bad drawing of graphical interface on Linux - tested on\
  \ Wine 5.4 and Wine 5.5.\r\nImportant!\r\nIf you have \"a non-english version\"\
  \ of this game - for example Capitalism 2 from polish magazine \"Komputer \u015A\
  wiat Gry Extra - nr 2/2004\" - some translation of buttons in Main Menu will probably\
  \ gone - please look at screenshots."
runner: wine
script:
  files:
  - patch: http://enlight.b-cdn.net/cap2/Cap2_v114.zip
  - installer: 'N/A:Select the Setup executable from your CD:'
  game:
    arch: win64
    exe: $GAMEDIR/$INPUT_EXEDIR/Cap2.exe
    prefix: $GAMEDIR
  installer:
  - input_menu:
      description: 'Choose the game''s version:'
      id: EXEDIR
      options:
      - /drive_c/Program Files (x86)/Capitalism II: English version
      - /drive_c/Program Files (x86)/Capitalism II PL: "Polish version (Komputer \u015A\
          wiat Gry Extra - nr 2/2004)"
      preselect: /drive_c/Program Files (x86)/Capitalism II
  - task:
      arch: win64
      description: Creating prefix
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      arch: win64
      executable: installer
      name: wineexec
      prefix: $GAMEDIR
  - task:
      name: winekill
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/$INPUT_EXEDIR/
      file: patch
slug: capitalism-2-standalone
steamid: 638200
version: Standalone
year: 2001
{
  "game_slug": "capitalism-2",
  "version": "Standalone",
  "description": "This script will help to install Capitalism 2 (standalone) with newest available patch 1.14.",
  "notes": "Important:\r\nPlease install this game in default directory.\r\nIf installation directory is different than:\r\n- polish version: C:\\Program Files (x86)\\Capitalism II PL\\\r\n- english version: C:\\Program Files (x86)\\Capitalism II\\\r\nyou should select correct directory manually or this script will not extract patch correctly.\r\n---------------------------------------------------------\r\nPatch 1.14 improves compatibility with newest version of Windows operating systems and also fixes a bug with bad drawing of graphical interface on Linux - tested on Wine 5.4 and Wine 5.5.\r\nImportant!\r\nIf you have \"a non-english version\" of this game - for example Capitalism 2 from polish magazine \"Komputer \u015awiat Gry Extra - nr 2/2004\" - some translation of buttons in Main Menu will probably gone - please look at screenshots.",
  "name": "Capitalism 2",
  "year": 2001,
  "steamid": 638200,
  "gogslug": "capitalism_2",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "capitalism-2-standalone",
  "installer_slug": "capitalism-2-standalone",
  "script": {
    "files": [
      {
        "patch": "http://enlight.b-cdn.net/cap2/Cap2_v114.zip"
      },
      {
        "installer": "N/A:Select the Setup executable from your CD:"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "$GAMEDIR/$INPUT_EXEDIR/Cap2.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "input_menu": {
          "description": "Choose the game's version:",
          "id": "EXEDIR",
          "options": [
            {
              "/drive_c/Program Files (x86)/Capitalism II": "English version"
            },
            {
              "/drive_c/Program Files (x86)/Capitalism II PL": "Polish version (Komputer \u015awiat Gry Extra - nr 2/2004)"
            }
          ],
          "preselect": "/drive_c/Program Files (x86)/Capitalism II"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Creating prefix",
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "executable": "installer",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/$INPUT_EXEDIR/",
          "file": "patch"
        }
      }
    ]
  }
}
Back to game