Installer dungeon-keeper-2-gog-german-patch

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

files:
- game: N/A:Please select the installer downloaded from GOG.
- patch: https://www.la-patches.de/downloads/gog_keeper2_de_v10.zip
game:
  exe: drive_c/GOG Games/Dungeon Keeper 2/DKII-DX.exe
  prefix: $GAMEDIR
installer:
- task:
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    args: /SP- /VERYSILENT /SUPPRESSMSGBOXES
    description: Installing game
    executable: $game
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $CACHE
    file: $patch
    format: zip
- task:
    description: Installing German patch
    executable: $CACHE/gog_keeper2_de_v10.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    key: csmt
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\Direct3D
    prefix: $GAMEDIR
    type: REG_DWORD
    value: '00000000'
{
  "files": [
    {
      "game": "N/A:Please select the installer downloaded from GOG."
    },
    {
      "patch": "https://www.la-patches.de/downloads/gog_keeper2_de_v10.zip"
    }
  ],
  "game": {
    "exe": "drive_c/GOG Games/Dungeon Keeper 2/DKII-DX.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "description": "Creating Wine prefix",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "args": "/SP- /VERYSILENT /SUPPRESSMSGBOXES",
        "description": "Installing game",
        "executable": "$game",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "extract": {
        "dst": "$CACHE",
        "file": "$patch",
        "format": "zip"
      }
    },
    {
      "task": {
        "description": "Installing German patch",
        "executable": "$CACHE/gog_keeper2_de_v10.exe",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "key": "csmt",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\Direct3D",
        "prefix": "$GAMEDIR",
        "type": "REG_DWORD",
        "value": "00000000"
      }
    }
  ]
}
Back to game