Installer bioshock-infinite-gog-w-dxvk

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
- setup: N/A:Select the game's setup file
game:
  arch: win64
  exe: drive_c/GOG Games/BioShock Infinite/Binaries/Win32/BioShockInfinite.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $CACHE/dxsetup
    file: dx2010
- task:
    arch: win64
    args: /silent
    executable: $CACHE/dxsetup/DXSETUP.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    app: vcrun2012 vcrun2013 faudio win7
    arch: win64
    name: winetricks
    prefix: $GAMEDIR
- task:
    args: /SP- /NOCANCEL /SUPPRESSMSGBOXES
    description: Installing Bioshock Infinite
    executable: setup
    name: wineexec
    prefix: $GAMEDIR
system:
  env:
    DXVK_HUD: 0
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
  pulse_latency: false
wine:
  Desktop: false
  dxvk: true
{
  "files": [
    {
      "dx2010": "https://lutris.net/files/tools/directx-2010.tar.gz"
    },
    {
      "setup": "N/A:Select the game's setup file"
    }
  ],
  "installer": [
    {
      "task": {
        "prefix": "$GAMEDIR",
        "name": "create_prefix",
        "arch": "win64"
      }
    },
    {
      "extract": {
        "dst": "$CACHE/dxsetup",
        "file": "dx2010"
      }
    },
    {
      "task": {
        "args": "/silent",
        "name": "wineexec",
        "arch": "win64",
        "executable": "$CACHE/dxsetup/DXSETUP.exe",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "prefix": "$GAMEDIR",
        "name": "winetricks",
        "arch": "win64",
        "app": "vcrun2012 vcrun2013 faudio win7"
      }
    },
    {
      "task": {
        "args": "/SP- /NOCANCEL /SUPPRESSMSGBOXES",
        "name": "wineexec",
        "executable": "setup",
        "description": "Installing Bioshock Infinite",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "game": {
    "prefix": "$GAMEDIR",
    "arch": "win64",
    "exe": "drive_c/GOG Games/BioShock Infinite/Binaries/Win32/BioShockInfinite.exe"
  },
  "system": {
    "env": {
      "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR",
      "DXVK_HUD": 0,
      "__GL_SHADER_DISK_CACHE": 1
    },
    "pulse_latency": false
  },
  "wine": {
    "dxvk": true,
    "Desktop": false
  }
}
Back to game