Installer darksiders-warmastered-editio-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: Darksiders - Warmastered Edition - GOG
files:
- mfplat: https://github.com/legluondunet/mlls-tools/raw/master/mfplat/mfplat.zip
- inno: http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz
- gog: N/A:Select the Windows GOG setup file
game:
  arch: win64
  exe: drive_c/GOG Games/Darksiders Warmastered Edition/darksiders1.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating WINE prefix
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $CACHE
    file: inno
- execute:
    args: -d "$CACHE" "$gog"
    file: $CACHE/innoextract
- merge:
    dst: $GAMEDIR/drive_c/GOG Games/Darksiders Warmastered Edition
    src: $CACHE/app
- extract:
    dst: $CACHE
    src: mfplat
- execute:
    command: cd "$CACHE/"; WINEPREFIX="$GAMEDIR" ./install-mf-64.sh ; cd "$GAMEDIR/drive_c/GOG
      Games/Darksiders Warmastered Edition/" ; mv "$CACHE/mfplatds.dll" mfplat.dll;
      rm -f -r __support GameuxInstallHelper.dll gog* *.lnk Support.ico unins000.*
      webcache.zip;
- task:
    arch: win64
    key: csmt
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\Direct3D\
    prefix: $GAMEDIR
    type: REG_DWORD
    value: '00000000'
- task:
    arch: win64
    key: background
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 0 0 0
wine:
  Desktop: true
{
  "game": {
    "arch": "win64",
    "exe": "drive_c/GOG Games/Darksiders Warmastered Edition/darksiders1.exe",
    "prefix": "$GAMEDIR"
  },
  "files": [
    {
      "mfplat": "https://github.com/legluondunet/mlls-tools/raw/master/mfplat/mfplat.zip"
    },
    {
      "inno": "http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
    },
    {
      "gog": "N/A:Select the Windows GOG setup file"
    }
  ],
  "custom-name": "Darksiders - Warmastered Edition - GOG",
  "installer": [
    {
      "task": {
        "install_gecko": false,
        "arch": "win64",
        "prefix": "$GAMEDIR",
        "description": "Creating WINE prefix",
        "name": "create_prefix",
        "install_mono": false
      }
    },
    {
      "extract": {
        "dst": "$CACHE",
        "file": "inno"
      }
    },
    {
      "execute": {
        "args": "-d \"$CACHE\" \"$gog\"",
        "file": "$CACHE/innoextract"
      }
    },
    {
      "merge": {
        "src": "$CACHE/app",
        "dst": "$GAMEDIR/drive_c/GOG Games/Darksiders Warmastered Edition"
      }
    },
    {
      "extract": {
        "src": "mfplat",
        "dst": "$CACHE"
      }
    },
    {
      "execute": {
        "command": "cd \"$CACHE/\"; WINEPREFIX=\"$GAMEDIR\" ./install-mf-64.sh ; cd \"$GAMEDIR/drive_c/GOG Games/Darksiders Warmastered Edition/\" ; mv \"$CACHE/mfplatds.dll\" mfplat.dll; rm -f -r __support GameuxInstallHelper.dll gog* *.lnk Support.ico unins000.* webcache.zip;"
      }
    },
    {
      "task": {
        "arch": "win64",
        "key": "csmt",
        "type": "REG_DWORD",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\Direct3D\\",
        "name": "set_regedit",
        "prefix": "$GAMEDIR",
        "value": "00000000"
      }
    },
    {
      "task": {
        "arch": "win64",
        "key": "background",
        "type": "REG_SZ",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
        "name": "set_regedit",
        "prefix": "$GAMEDIR",
        "value": "0 0 0"
      }
    }
  ],
  "wine": {
    "Desktop": true
  }
}
Back to game