Installer nba-2k18-steam

files:
- dx2010: https://lutris.net/files/tools/directx-2010.tar.gz
game:
  appid: 577800
  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: vcrun2010 vcrun2012
    arch: win64
    name: winetricks
    prefix: $GAMEDIR/prefix
- task:
    app: dsound win7
    arch: win64
    name: winetricks
    prefix: $GAMEDIR/prefix
system:
  env:
    DXVK_HUD: 0
  pulse_latency: true
winesteam:
  overrides:
    xaudio2_7: native,builtin
  x360ce-path: $GAMEDIR
  x360ce-xinput9: true
description: null
game_slug: nba-2k18
gogslug: ''
humblestoreid: ''
installer_slug: nba-2k18-steam
name: NBA 2K18
notes: ''
runner: winesteam
script:
  files:
  - dx2010: https://lutris.net/files/tools/directx-2010.tar.gz
  game:
    appid: 577800
    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: vcrun2010 vcrun2012
      arch: win64
      name: winetricks
      prefix: $GAMEDIR/prefix
  - task:
      app: dsound win7
      arch: win64
      name: winetricks
      prefix: $GAMEDIR/prefix
  system:
    env:
      DXVK_HUD: 0
    pulse_latency: true
  winesteam:
    overrides:
      xaudio2_7: native,builtin
    x360ce-path: $GAMEDIR
    x360ce-xinput9: true
slug: nba-2k18-steam
steamid: 577800
version: Steam
year: 2017
{
  "game_slug": "nba-2k18",
  "version": "Steam",
  "description": null,
  "notes": "",
  "name": "NBA 2K18",
  "year": 2017,
  "steamid": 577800,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "winesteam",
  "slug": "nba-2k18-steam",
  "installer_slug": "nba-2k18-steam",
  "script": {
    "files": [
      {
        "dx2010": "https://lutris.net/files/tools/directx-2010.tar.gz"
      }
    ],
    "game": {
      "appid": 577800,
      "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": "vcrun2010 vcrun2012",
          "arch": "win64",
          "name": "winetricks",
          "prefix": "$GAMEDIR/prefix"
        }
      },
      {
        "task": {
          "app": "dsound win7",
          "arch": "win64",
          "name": "winetricks",
          "prefix": "$GAMEDIR/prefix"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_HUD": 0
      },
      "pulse_latency": true
    },
    "winesteam": {
      "overrides": {
        "xaudio2_7": "native,builtin"
      },
      "x360ce-path": "$GAMEDIR",
      "x360ce-xinput9": true
    }
  }
}
Back to game