Installer nba-2k16-steam

files:
- dx2010: https://lutris.net/files/tools/directx-2010.tar.gz
- faudio: https://github.com/Kron4ek/FAudio-Builds/archive/master.zip
game:
  appid: 370240
  arch: win64
  prefix: $GAMEDIR/prefix
installer:
- extract:
    dst: $CACHE/dxsetup
    file: dx2010
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR/prefix
- task:
    arch: win64
    args: /silent
    executable: $CACHE/dxsetup/DXSETUP.exe
    name: wineexec
    prefix: $GAMEDIR/prefix
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR/prefix
- task:
    app: vcrun2012 vcrun2015 win7
    arch: win64
    name: winetricks
    prefix: $GAMEDIR/prefix
- extract:
    dst: $GAMEDIR/prefix/faudio
    file: faudio
- execute:
    command: WINEPREFIX="$GAMEDIR/prefix" "$GAMEDIR/prefix/faudio/wine_setup_faudio.sh"
system:
  env:
    DXVK_HUD: 0
description: null
game_slug: nba-2k16
gogslug: ''
humblestoreid: ''
installer_slug: nba-2k16-steam
name: NBA 2K16
notes: ''
runner: winesteam
script:
  files:
  - dx2010: https://lutris.net/files/tools/directx-2010.tar.gz
  - faudio: https://github.com/Kron4ek/FAudio-Builds/archive/master.zip
  game:
    appid: 370240
    arch: win64
    prefix: $GAMEDIR/prefix
  installer:
  - extract:
      dst: $CACHE/dxsetup
      file: dx2010
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR/prefix
  - task:
      arch: win64
      args: /silent
      executable: $CACHE/dxsetup/DXSETUP.exe
      name: wineexec
      prefix: $GAMEDIR/prefix
  - task:
      arch: win64
      name: winekill
      prefix: $GAMEDIR/prefix
  - task:
      app: vcrun2012 vcrun2015 win7
      arch: win64
      name: winetricks
      prefix: $GAMEDIR/prefix
  - extract:
      dst: $GAMEDIR/prefix/faudio
      file: faudio
  - execute:
      command: WINEPREFIX="$GAMEDIR/prefix" "$GAMEDIR/prefix/faudio/wine_setup_faudio.sh"
  system:
    env:
      DXVK_HUD: 0
slug: nba-2k16-steam
steamid: 370240
version: Steam
year: 2015
{
  "game_slug": "nba-2k16",
  "version": "Steam",
  "description": null,
  "notes": "",
  "name": "NBA 2K16",
  "year": 2015,
  "steamid": 370240,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "winesteam",
  "slug": "nba-2k16-steam",
  "installer_slug": "nba-2k16-steam",
  "script": {
    "files": [
      {
        "dx2010": "https://lutris.net/files/tools/directx-2010.tar.gz"
      },
      {
        "faudio": "https://github.com/Kron4ek/FAudio-Builds/archive/master.zip"
      }
    ],
    "game": {
      "appid": 370240,
      "arch": "win64",
      "prefix": "$GAMEDIR/prefix"
    },
    "installer": [
      {
        "extract": {
          "dst": "$CACHE/dxsetup",
          "file": "dx2010"
        }
      },
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR/prefix"
        }
      },
      {
        "task": {
          "arch": "win64",
          "args": "/silent",
          "executable": "$CACHE/dxsetup/DXSETUP.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR/prefix"
        }
      },
      {
        "task": {
          "arch": "win64",
          "name": "winekill",
          "prefix": "$GAMEDIR/prefix"
        }
      },
      {
        "task": {
          "app": "vcrun2012 vcrun2015 win7",
          "arch": "win64",
          "name": "winetricks",
          "prefix": "$GAMEDIR/prefix"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/prefix/faudio",
          "file": "faudio"
        }
      },
      {
        "execute": {
          "command": "WINEPREFIX=\"$GAMEDIR/prefix\" \"$GAMEDIR/prefix/faudio/wine_setup_faudio.sh\""
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_HUD": 0
      }
    }
  }
}
Back to game