Installer gog-downloader-wine

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:
- netframework: https://lutris.net/files/runners/netframework3.exe
- downloader: http://static.gog.com/download/d3/stable/Setup_Downloader_3.6.0_stable.exe
game:
  arch: win32
  exe: drive_c/Program Files/GOG.com/GOG.com Downloader.exe
  prefix: $GAMEDIR
  version: 1.9.13-i368
installer:
- task:
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- mkdir: $HOME/.cache/winetricks/dotnet30
- move:
    dst: $HOME/.cache/winetricks/dotnet30
    src: netframework
- task:
    app: dotnet35
    description: Installing .NET 3.5
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: dotnet35sp1
    description: Installing .NET 3.5 SP1
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: windowscodecs
    description: Installing Windows codecs
    name: winetricks
    prefix: $GAMEDIR
- task:
    executable: downloader
    name: wineexec
    prefix: $GAMEDIR
{
  "files": [
    {
      "netframework": "https://lutris.net/files/runners/netframework3.exe"
    },
    {
      "downloader": "http://static.gog.com/download/d3/stable/Setup_Downloader_3.6.0_stable.exe"
    }
  ],
  "installer": [
    {
      "task": {
        "description": "Creating Wine prefix",
        "prefix": "$GAMEDIR",
        "name": "create_prefix"
      }
    },
    {
      "mkdir": "$HOME/.cache/winetricks/dotnet30"
    },
    {
      "move": {
        "dst": "$HOME/.cache/winetricks/dotnet30",
        "src": "netframework"
      }
    },
    {
      "task": {
        "description": "Installing .NET 3.5",
        "prefix": "$GAMEDIR",
        "name": "winetricks",
        "app": "dotnet35"
      }
    },
    {
      "task": {
        "description": "Installing .NET 3.5 SP1",
        "prefix": "$GAMEDIR",
        "name": "winetricks",
        "app": "dotnet35sp1"
      }
    },
    {
      "task": {
        "description": "Installing Windows codecs",
        "prefix": "$GAMEDIR",
        "name": "winetricks",
        "app": "windowscodecs"
      }
    },
    {
      "task": {
        "prefix": "$GAMEDIR",
        "executable": "downloader",
        "name": "wineexec"
      }
    }
  ],
  "game": {
    "prefix": "$GAMEDIR",
    "arch": "win32",
    "exe": "drive_c/Program Files/GOG.com/GOG.com Downloader.exe",
    "version": "1.9.13-i368"
  }
}
Back to game