Installer lego-harry-potter-years-5-7-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.

files:
- dx2010: https://lutris.net/files/tools/directx-2010.tar.gz
- goginstaller: N/A:Please select the GOG installer
game:
  arch: win32
  exe: drive_c/GOG Games/LEGO Harry Potter 5-7/harry2.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win32
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $CACHE/dxsetup
    file: dx2010
- task:
    arch: win32
    args: /silent
    executable: $CACHE/dxsetup/DXSETUP.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win32
    args: /SP- /SUPPRESSMSGBOXES /NOCANCEL /NORESTART
    executable: goginstaller
    name: wineexec
    prefix: $GAMEDIR
{
  "files": [
    {
      "dx2010": "https://lutris.net/files/tools/directx-2010.tar.gz"
    },
    {
      "goginstaller": "N/A:Please select the GOG installer"
    }
  ],
  "installer": [
    {
      "task": {
        "prefix": "$GAMEDIR",
        "arch": "win32",
        "name": "create_prefix"
      }
    },
    {
      "extract": {
        "dst": "$CACHE/dxsetup",
        "file": "dx2010"
      }
    },
    {
      "task": {
        "prefix": "$GAMEDIR",
        "args": "/silent",
        "arch": "win32",
        "executable": "$CACHE/dxsetup/DXSETUP.exe",
        "name": "wineexec"
      }
    },
    {
      "task": {
        "prefix": "$GAMEDIR",
        "args": "/SP- /SUPPRESSMSGBOXES /NOCANCEL /NORESTART",
        "arch": "win32",
        "executable": "goginstaller",
        "name": "wineexec"
      }
    }
  ],
  "game": {
    "prefix": "$GAMEDIR",
    "arch": "win32",
    "exe": "drive_c/GOG Games/LEGO Harry Potter 5-7/harry2.exe"
  }
}
Back to game