Installer diablo-gog-tchernobog

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.

custom-name: Diablo Tchernobog GOG
files:
- installer: N/A:Select the installer downloaded from GOG
- tchernobog: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Diablo/Tchernobog.zip
game:
  arch: win64
  exe: drive_c/Diablo Tchernobog/Tchernobog.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating WINE prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    args: /VERYSILENT /SUPPRESSMSGBOXES
    description: Running Setup, please wait...
    executable: installer
    name: wineexec
    prefix: $CACHE
- extract:
    dst: $GAMEDIR/drive_c/Diablo Tchernobog/
    file: tchernobog
- move:
    dst: $GAMEDIR/drive_c/Diablo Tchernobog/
    src: $CACHE/drive_c/GOG Games/Diablo/DIABDAT.MPQ
- task:
    arch: win64
    key: background
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 0 0 0
- task:
    arch: win64
    key: ActiveTitle
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 0 0 0
- task:
    arch: win64
    key: GradientActiveTitle
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 242 59 13
{
  "files": [
    {
      "installer": "N/A:Select the installer downloaded from GOG"
    },
    {
      "tchernobog": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Diablo/Tchernobog.zip"
    }
  ],
  "custom-name": "Diablo Tchernobog GOG",
  "installer": [
    {
      "task": {
        "description": "Creating WINE prefix",
        "prefix": "$GAMEDIR",
        "arch": "win64",
        "name": "create_prefix"
      }
    },
    {
      "task": {
        "description": "Running Setup, please wait...",
        "args": "/VERYSILENT /SUPPRESSMSGBOXES",
        "name": "wineexec",
        "executable": "installer",
        "prefix": "$CACHE"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/drive_c/Diablo Tchernobog/",
        "file": "tchernobog"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/drive_c/Diablo Tchernobog/",
        "src": "$CACHE/drive_c/GOG Games/Diablo/DIABDAT.MPQ"
      }
    },
    {
      "task": {
        "key": "background",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
        "arch": "win64",
        "name": "set_regedit",
        "prefix": "$GAMEDIR",
        "type": "REG_SZ",
        "value": "0 0 0"
      }
    },
    {
      "task": {
        "key": "ActiveTitle",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
        "arch": "win64",
        "name": "set_regedit",
        "prefix": "$GAMEDIR",
        "type": "REG_SZ",
        "value": "0 0 0"
      }
    },
    {
      "task": {
        "key": "GradientActiveTitle",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
        "arch": "win64",
        "name": "set_regedit",
        "prefix": "$GAMEDIR",
        "type": "REG_SZ",
        "value": "242 59 13"
      }
    }
  ],
  "game": {
    "prefix": "$GAMEDIR",
    "arch": "win64",
    "exe": "drive_c/Diablo Tchernobog/Tchernobog.exe"
  }
}
Back to game