Installer diablo-gog-devilutionx-win3

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.

files:
- diablosetup: N/A:Select the EXE downloaded from GOG
- devil: https://github.com/diasurgical/devilutionX/releases/download/0.5.0/devilutionx-windows-i386.zip
- 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:
  arch: win64
  exe: drive_c/devilutionx-win32/devilutionx.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/devilutionx-win32
    file: devil
- extract:
    dst: $CACHE/innoextract
    file: innoextract
- execute:
    args: --extract $diablosetup --output-dir $CACHE/diabdat/
    file: $CACHE/innoextract/innoextract
- move:
    dst: $GAMEDIR/drive_c/devilutionx-win32/diabdat.mpq
    src: $CACHE/diabdat/DIABDAT.MPQ
{
  "files": [
    {
      "diablosetup": "N/A:Select the EXE downloaded from GOG"
    },
    {
      "devil": "https://github.com/diasurgical/devilutionX/releases/download/0.5.0/devilutionx-windows-i386.zip"
    },
    {
      "innoextract": "http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
    }
  ],
  "installer": [
    {
      "task": {
        "prefix": "$GAMEDIR",
        "arch": "win64",
        "name": "create_prefix"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/drive_c/devilutionx-win32",
        "file": "devil"
      }
    },
    {
      "extract": {
        "dst": "$CACHE/innoextract",
        "file": "innoextract"
      }
    },
    {
      "execute": {
        "args": "--extract $diablosetup --output-dir $CACHE/diabdat/",
        "file": "$CACHE/innoextract/innoextract"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/drive_c/devilutionx-win32/diabdat.mpq",
        "src": "$CACHE/diabdat/DIABDAT.MPQ"
      }
    }
  ],
  "game": {
    "prefix": "$GAMEDIR",
    "arch": "win64",
    "exe": "drive_c/devilutionx-win32/devilutionx.exe"
  }
}
Back to game