Installer diablo-gog

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
files:
- installer: N/A:Select the game's setup file
game:
  arch: win64
  exe: $GAMEDIR/drive_c/GOG Games/Diablo/dx/DiabloLauncher.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating WINE prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    args: /SILENT /SUPPRESSMSGBOXES
    description: Running Setup, please wait...
    executable: installer
    name: wineexec
    prefix: $GAMEDIR
- 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: ddraw
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DllOverrides\
    prefix: $GAMEDIR
    type: REG_SZ
    value: native,builtin
wine:
  Desktop: true
{
  "wine": {
    "Desktop": true
  },
  "custom-name": "Diablo - GOG",
  "files": [
    {
      "installer": "N/A:Select the game's setup file"
    }
  ],
  "installer": [
    {
      "task": {
        "description": "Creating WINE prefix",
        "prefix": "$GAMEDIR",
        "arch": "win64",
        "name": "create_prefix"
      }
    },
    {
      "task": {
        "description": "Running Setup, please wait...",
        "args": "/SILENT /SUPPRESSMSGBOXES",
        "name": "wineexec",
        "executable": "installer",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "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": "ddraw",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides\\",
        "arch": "win64",
        "name": "set_regedit",
        "prefix": "$GAMEDIR",
        "type": "REG_SZ",
        "value": "native,builtin"
      }
    }
  ],
  "game": {
    "prefix": "$GAMEDIR",
    "arch": "win64",
    "exe": "$GAMEDIR/drive_c/GOG Games/Diablo/dx/DiabloLauncher.exe"
  }
}
Back to game