Installer diablo-gog-devilutionx-linu

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 Linux x64
files:
- diablosetup: N/A:Select the EXE downloaded from GOG
- dvltx: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Diablo/devilutionx-linux-64.tar.gz
- innoextract: http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
  exe: devilutionx/devilutionx.sh
  prefix: $GAMEDIR
installer:
- extract:
    dst: $GAMEDIR/devilutionx
    file: dvltx
- extract:
    dst: $CACHE/innoextract
    file: innoextract
- execute:
    args: --extract $diablosetup --output-dir $CACHE/diabdat/
    file: $CACHE/innoextract/innoextract
- move:
    dst: $GAMEDIR/devilutionx/diabdat.mpq
    src: $CACHE/diabdat/DIABDAT.MPQ
- chmodx: $GAMEDIR/devilutionx/devilutionx.sh
{
  "custom-name": "Diablo - GOG - DevilutionX Linux x64",
  "files": [
    {
      "diablosetup": "N/A:Select the EXE downloaded from GOG"
    },
    {
      "dvltx": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Diablo/devilutionx-linux-64.tar.gz"
    },
    {
      "innoextract": "http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
    }
  ],
  "game": {
    "exe": "devilutionx/devilutionx.sh",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "extract": {
        "dst": "$GAMEDIR/devilutionx",
        "file": "dvltx"
      }
    },
    {
      "extract": {
        "dst": "$CACHE/innoextract",
        "file": "innoextract"
      }
    },
    {
      "execute": {
        "args": "--extract $diablosetup --output-dir $CACHE/diabdat/",
        "file": "$CACHE/innoextract/innoextract"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/devilutionx/diabdat.mpq",
        "src": "$CACHE/diabdat/DIABDAT.MPQ"
      }
    },
    {
      "chmodx": "$GAMEDIR/devilutionx/devilutionx.sh"
    }
  ]
}
Back to game