Installer cossacks-european-wars-gog

files:
- goginstaller: N/A:Select the game's setup file
game:
  args: .\\videos\\cdv.avi .\\videos\\kz.avi .\\videos\\Logo.avi dmln.exe
  exe: drive_c/$INSTALLATION_DIR/Cossacks.exe
installer:
- task:
    description: Creating wine prefix
    install_mono: false
    name: create_prefix
- task:
    args: /SILENT /SP- /NOCANCEL /SUPPRESSMSGBOXES '/DIR=C:/$INSTALLATION_DIR'
    description: Running GOG installer
    executable: goginstaller
    name: wineexec
system:
  single_cpu: true
variables:
  INSTALLATION_DIR: GOG Games/Cossacks - European Wars
description: Run game on single CPU; show original intro videos
game_slug: cossacks-european-wars
gogslug: cossacks_anthology
humblestoreid: ''
installer_slug: cossacks-european-wars-gog
name: 'Cossacks: European Wars'
notes: "If one use automatic GOG installer the game won't run. First of all, on modern\
  \ wine versions it requires single_cpu: true. Also the argument list set but automatic\
  \ installer is\r\n\r\n    .\\videos\\cdv.avi .\\videos\\kz.avi .\\videos\\Logo.avi\
  \ dmln.exe\r\n\r\nwhich is probably valid for windows cmd, but fails to run from\
  \ lutris because lutris eats unescaped backslashes (\\). The solution is to escape\
  \ them, e. g. by prepending with another backslash (as in this installer) or surrounding\
  \ each argument with single quotes."
runner: wine
script:
  files:
  - goginstaller: N/A:Select the game's setup file
  game:
    args: .\\videos\\cdv.avi .\\videos\\kz.avi .\\videos\\Logo.avi dmln.exe
    exe: drive_c/$INSTALLATION_DIR/Cossacks.exe
  installer:
  - task:
      description: Creating wine prefix
      install_mono: false
      name: create_prefix
  - task:
      args: /SILENT /SP- /NOCANCEL /SUPPRESSMSGBOXES '/DIR=C:/$INSTALLATION_DIR'
      description: Running GOG installer
      executable: goginstaller
      name: wineexec
  system:
    single_cpu: true
  variables:
    INSTALLATION_DIR: GOG Games/Cossacks - European Wars
slug: cossacks-european-wars-gog
steamid: 4880
version: GOG
year: 2001
{
  "game_slug": "cossacks-european-wars",
  "version": "GOG",
  "description": "Run game on single CPU; show original intro videos",
  "notes": "If one use automatic GOG installer the game won't run. First of all, on modern wine versions it requires single_cpu: true. Also the argument list set but automatic installer is\r\n\r\n    .\\videos\\cdv.avi .\\videos\\kz.avi .\\videos\\Logo.avi dmln.exe\r\n\r\nwhich is probably valid for windows cmd, but fails to run from lutris because lutris eats unescaped backslashes (\\). The solution is to escape them, e. g. by prepending with another backslash (as in this installer) or surrounding each argument with single quotes.",
  "name": "Cossacks: European Wars",
  "year": 2001,
  "steamid": 4880,
  "gogslug": "cossacks_anthology",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "cossacks-european-wars-gog",
  "installer_slug": "cossacks-european-wars-gog",
  "script": {
    "files": [
      {
        "goginstaller": "N/A:Select the game's setup file"
      }
    ],
    "game": {
      "args": ".\\\\videos\\\\cdv.avi .\\\\videos\\\\kz.avi .\\\\videos\\\\Logo.avi dmln.exe",
      "exe": "drive_c/$INSTALLATION_DIR/Cossacks.exe"
    },
    "installer": [
      {
        "task": {
          "description": "Creating wine prefix",
          "install_mono": false,
          "name": "create_prefix"
        }
      },
      {
        "task": {
          "args": "/SILENT /SP- /NOCANCEL /SUPPRESSMSGBOXES '/DIR=C:/$INSTALLATION_DIR'",
          "description": "Running GOG installer",
          "executable": "goginstaller",
          "name": "wineexec"
        }
      }
    ],
    "system": {
      "single_cpu": true
    },
    "variables": {
      "INSTALLATION_DIR": "GOG Games/Cossacks - European Wars"
    }
  }
}
Back to game