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 - GOG - Tchernobog
files:
- inno: https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz
- tchernobog: https://github.com/qndel/tchernobog_versions/releases/download/0.2.2b/Release0.2.2b.zip
- gogsetup: N/A:Please select the gog installer for this game
game:
  arch: win64
  exe: drive_c/Diablo Tchernobog/Tchernobog.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating WINE prefix
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $CACHE/innoextract
    file: inno
- execute:
    args: --extract $gogsetup --output-dir "$CACHE"
    file: $CACHE/innoextract/innoextract
- extract:
    dst: $GAMEDIR/drive_c/Diablo Tchernobog
    file: tchernobog
- move:
    dst: $GAMEDIR/drive_c/Diablo Tchernobog
    src: $CACHE/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
wine:
  Desktop: true
{
  "custom-name": "Diablo - GOG - Tchernobog",
  "files": [
    {
      "inno": "https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz"
    },
    {
      "tchernobog": "https://github.com/qndel/tchernobog_versions/releases/download/0.2.2b/Release0.2.2b.zip"
    },
    {
      "gogsetup": "N/A:Please select the gog installer for this game"
    }
  ],
  "game": {
    "arch": "win64",
    "exe": "drive_c/Diablo Tchernobog/Tchernobog.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "arch": "win64",
        "description": "Creating WINE prefix",
        "install_gecko": false,
        "install_mono": false,
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "extract": {
        "dst": "$CACHE/innoextract",
        "file": "inno"
      }
    },
    {
      "execute": {
        "args": "--extract $gogsetup --output-dir \"$CACHE\"",
        "file": "$CACHE/innoextract/innoextract"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/drive_c/Diablo Tchernobog",
        "file": "tchernobog"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/drive_c/Diablo Tchernobog",
        "src": "$CACHE/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"
      }
    }
  ],
  "wine": {
    "Desktop": true
  }
}
Back to game