Installer diablo-gog-devilution-linux

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:
- installer: N/A:Please select the GOG installer
- devilution: https://github.com/diasurgical/devilutionX/releases/download/0.4.0/devilutionx-linux-i386.tar.xz
- inno: https://github.com/NickZ/misc/raw/master/innobin.zip
- steamsdl: https://github.com/NickZ/misc/raw/master/steamsdl.zip
game:
  arch: i386
  exe: $GAMEDIR/devilution.sh
installer:
- extract:
    dst: $CACHE/thing
    file: inno
    format: zip
- execute:
    command: innoextract --gog -d $CACHE/diabloinstaller "$installer"; exit 0
    description: extracting game data
- extract:
    description: extracting devilution
    dst: $GAMEDIR/devilution
    file: devilution
- extract:
    description: extracting dsl
    dst: $GAMEDIR/steamsdl
    file: steamsdl
- move:
    description: moving the game files
    dst: $GAMEDIR/devilution/diabdat.mpq
    src: $CACHE/diabloinstaller/DIABDAT.MPQ
- write_file:
    content: '#!/bin/sh

      '
    file: $GAMEDIR/devilution.sh
- write_file:
    content: LD_LIBRARY_PATH=$GAMEDIR/steamsdl $GAMEDIR/devilution/devilutionx
    file: $GAMEDIR/devilution.sh
    mode: a
- chmodx: $GAMEDIR/devilution.sh
{
  "files": [
    {
      "installer": "N/A:Please select the GOG installer"
    },
    {
      "devilution": "https://github.com/diasurgical/devilutionX/releases/download/0.4.0/devilutionx-linux-i386.tar.xz"
    },
    {
      "inno": "https://github.com/NickZ/misc/raw/master/innobin.zip"
    },
    {
      "steamsdl": "https://github.com/NickZ/misc/raw/master/steamsdl.zip"
    }
  ],
  "installer": [
    {
      "extract": {
        "dst": "$CACHE/thing",
        "format": "zip",
        "file": "inno"
      }
    },
    {
      "execute": {
        "command": "innoextract --gog -d $CACHE/diabloinstaller \"$installer\"; exit 0",
        "description": "extracting game data"
      }
    },
    {
      "extract": {
        "description": "extracting devilution",
        "dst": "$GAMEDIR/devilution",
        "file": "devilution"
      }
    },
    {
      "extract": {
        "description": "extracting dsl",
        "dst": "$GAMEDIR/steamsdl",
        "file": "steamsdl"
      }
    },
    {
      "move": {
        "description": "moving the game files",
        "dst": "$GAMEDIR/devilution/diabdat.mpq",
        "src": "$CACHE/diabloinstaller/DIABDAT.MPQ"
      }
    },
    {
      "write_file": {
        "content": "#!/bin/sh\n",
        "file": "$GAMEDIR/devilution.sh"
      }
    },
    {
      "write_file": {
        "content": "LD_LIBRARY_PATH=$GAMEDIR/steamsdl $GAMEDIR/devilution/devilutionx",
        "file": "$GAMEDIR/devilution.sh",
        "mode": "a"
      }
    },
    {
      "chmodx": "$GAMEDIR/devilution.sh"
    }
  ],
  "game": {
    "arch": "i386",
    "exe": "$GAMEDIR/devilution.sh"
  }
}
Back to game