Installer diablo-gog-devilutionx

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 - DevilutionX for Linux
files:
- diablosetup: N/A:Select the EXE downloaded from GOG
- dvltx: https://github.com/diasurgical/devilutionX/releases/download/1.2.0/devilutionx-linux-x86_64.appimage
- inno: https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz
- menu: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Diablo/devilutionx_gog.sh
game:
  exe: $GAMEDIR/devilutionx_gog.sh
  prefix: $GAMEDIR
installer:
- copy:
    dst: $GAMEDIR
    src: dvltx
- chmodx: $GAMEDIR/devilutionx-linux-x86_64.appimage
- extract:
    dst: $CACHE/innoextract
    file: inno
- execute:
    args: --extract $diablosetup --output-dir $CACHE
    file: $CACHE/innoextract/innoextract
- merge:
    dst: $GAMEDIR/hellfire
    src: $CACHE/hellfire
- copy:
    dst: $GAMEDIR/classic
    src: $CACHE/DIABDAT.MPQ
- chmodx: menu
- copy:
    dst: $GAMEDIR
    src: menu
- execute:
    command: cd "$CACHE"; cp *.PDF "$GAMEDIR/classic"; cd "$GAMEDIR/hellfire"; ln
      -s ../classic/DIABDAT.MPQ .; rm -f -r *.dll language.inf sierra.inf Standard.snp;
require-binaries: zenity
{
  "custom-name": "Diablo - GOG - DevilutionX for Linux",
  "files": [
    {
      "diablosetup": "N/A:Select the EXE downloaded from GOG"
    },
    {
      "dvltx": "https://github.com/diasurgical/devilutionX/releases/download/1.2.0/devilutionx-linux-x86_64.appimage"
    },
    {
      "inno": "https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz"
    },
    {
      "menu": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Diablo/devilutionx_gog.sh"
    }
  ],
  "game": {
    "exe": "$GAMEDIR/devilutionx_gog.sh",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "copy": {
        "dst": "$GAMEDIR",
        "src": "dvltx"
      }
    },
    {
      "chmodx": "$GAMEDIR/devilutionx-linux-x86_64.appimage"
    },
    {
      "extract": {
        "dst": "$CACHE/innoextract",
        "file": "inno"
      }
    },
    {
      "execute": {
        "args": "--extract $diablosetup --output-dir $CACHE",
        "file": "$CACHE/innoextract/innoextract"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/hellfire",
        "src": "$CACHE/hellfire"
      }
    },
    {
      "copy": {
        "dst": "$GAMEDIR/classic",
        "src": "$CACHE/DIABDAT.MPQ"
      }
    },
    {
      "chmodx": "menu"
    },
    {
      "copy": {
        "dst": "$GAMEDIR",
        "src": "menu"
      }
    },
    {
      "execute": {
        "command": "cd \"$CACHE\"; cp *.PDF \"$GAMEDIR/classic\"; cd \"$GAMEDIR/hellfire\"; ln -s ../classic/DIABDAT.MPQ .; rm -f -r *.dll language.inf sierra.inf Standard.snp;"
      }
    }
  ],
  "require-binaries": "zenity"
}
Back to game