Installer hearthstone-standard

files:
- setup: http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe
game:
  arch: win64
  exe: drive_c/Program Files (x86)/Battle.net/Battle.net.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating 64bit Wine prefix.
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: arial
    arch: win64
    description: Installing Arial font...
    name: winetricks
    prefix: $GAMEDIR
    silent: true
- task:
    name: winekill
    prefix: $GAMEDIR
- write_json:
    data:
      Client:
        GameLaunchWindowBehavior: '2'
        GameSearch:
          BackgroundSearch: 'true'
        HardwareAcceleration: 'false'
        Sound:
          Enabled: 'false'
        Streaming:
          StreamingEnabled: 'false'
    description: Writing a Battle.Net config file
    file: $GAMEDIR/drive_c/users/$USER/Application Data/Battle.net/Battle.net.config
- write_file:
    content: hasseennewcinematic=True
    description: Adding a startup workaround for Hearthstone
    file: $GAMEDIR/drive_c/users/$USER/Local Settings/Application Data/Blizzard/Hearthstone/options.txt
- task:
    arch: win64
    description: 'Wine Staging: Enabling DXVA2'
    key: backend
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DXVA2
    prefix: $GAMEDIR
    value: va
- task:
    name: winekill
    prefix: $GAMEDIR
- task:
    arch: win64
    description: 'Installing Blizzard App. An installer will open.

      ------------------------------

      To progress, manually continue installation in that window.'
    exclude_processes: Battle.net.exe Agent.exe "Battle.net Helper.exe" wineconsole
      explorer.exe conhost.exe svchost.exe
    executable: setup
    name: wineexec
- task:
    name: winekill
    prefix: $GAMEDIR
system:
  exclude_processes: Agent.exe "Battle.net Helper.exe"
wine:
  overrides:
    locationapi: d
description: null
game_slug: hearthstone
gogslug: ''
humblestoreid: ''
installer_slug: hearthstone-standard
name: Hearthstone
notes: "**CONFIGURE AND INSTALL THE DEPENDENCIES FIRST**\r\nInstructions for Vulkan\
  \ support: https://github.com/lutris/lutris/wiki/Installing-drivers\r\nInstructions\
  \ for proper functionality of Battle.Net (+ common problems) https://github.com/lutris/lutris/wiki/Game:-Blizzard-App"
runner: wine
script:
  files:
  - setup: http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe
  game:
    arch: win64
    exe: drive_c/Program Files (x86)/Battle.net/Battle.net.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating 64bit Wine prefix.
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: arial
      arch: win64
      description: Installing Arial font...
      name: winetricks
      prefix: $GAMEDIR
      silent: true
  - task:
      name: winekill
      prefix: $GAMEDIR
  - write_json:
      data:
        Client:
          GameLaunchWindowBehavior: '2'
          GameSearch:
            BackgroundSearch: 'true'
          HardwareAcceleration: 'false'
          Sound:
            Enabled: 'false'
          Streaming:
            StreamingEnabled: 'false'
      description: Writing a Battle.Net config file
      file: $GAMEDIR/drive_c/users/$USER/Application Data/Battle.net/Battle.net.config
  - write_file:
      content: hasseennewcinematic=True
      description: Adding a startup workaround for Hearthstone
      file: $GAMEDIR/drive_c/users/$USER/Local Settings/Application Data/Blizzard/Hearthstone/options.txt
  - task:
      arch: win64
      description: 'Wine Staging: Enabling DXVA2'
      key: backend
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\DXVA2
      prefix: $GAMEDIR
      value: va
  - task:
      name: winekill
      prefix: $GAMEDIR
  - task:
      arch: win64
      description: 'Installing Blizzard App. An installer will open.

        ------------------------------

        To progress, manually continue installation in that window.'
      exclude_processes: Battle.net.exe Agent.exe "Battle.net Helper.exe" wineconsole
        explorer.exe conhost.exe svchost.exe
      executable: setup
      name: wineexec
  - task:
      name: winekill
      prefix: $GAMEDIR
  system:
    exclude_processes: Agent.exe "Battle.net Helper.exe"
  wine:
    overrides:
      locationapi: d
slug: hearthstone-standard
steamid: null
version: Standard
year: 2014
{
  "game_slug": "hearthstone",
  "version": "Standard",
  "description": null,
  "notes": "**CONFIGURE AND INSTALL THE DEPENDENCIES FIRST**\r\nInstructions for Vulkan support: https://github.com/lutris/lutris/wiki/Installing-drivers\r\nInstructions for proper functionality of Battle.Net (+ common problems) https://github.com/lutris/lutris/wiki/Game:-Blizzard-App",
  "name": "Hearthstone",
  "year": 2014,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "hearthstone-standard",
  "installer_slug": "hearthstone-standard",
  "script": {
    "files": [
      {
        "setup": "http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "drive_c/Program Files (x86)/Battle.net/Battle.net.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating 64bit Wine prefix.",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "arial",
          "arch": "win64",
          "description": "Installing Arial font...",
          "name": "winetricks",
          "prefix": "$GAMEDIR",
          "silent": true
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "write_json": {
          "data": {
            "Client": {
              "GameLaunchWindowBehavior": "2",
              "GameSearch": {
                "BackgroundSearch": "true"
              },
              "HardwareAcceleration": "false",
              "Sound": {
                "Enabled": "false"
              },
              "Streaming": {
                "StreamingEnabled": "false"
              }
            }
          },
          "description": "Writing a Battle.Net config file",
          "file": "$GAMEDIR/drive_c/users/$USER/Application Data/Battle.net/Battle.net.config"
        }
      },
      {
        "write_file": {
          "content": "hasseennewcinematic=True",
          "description": "Adding a startup workaround for Hearthstone",
          "file": "$GAMEDIR/drive_c/users/$USER/Local Settings/Application Data/Blizzard/Hearthstone/options.txt"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Wine Staging: Enabling DXVA2",
          "key": "backend",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\DXVA2",
          "prefix": "$GAMEDIR",
          "value": "va"
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Installing Blizzard App. An installer will open.\n------------------------------\nTo progress, manually continue installation in that window.",
          "exclude_processes": "Battle.net.exe Agent.exe \"Battle.net Helper.exe\" wineconsole explorer.exe conhost.exe svchost.exe",
          "executable": "setup",
          "name": "wineexec"
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "system": {
      "exclude_processes": "Agent.exe \"Battle.net Helper.exe\""
    },
    "wine": {
      "overrides": {
        "locationapi": "d"
      }
    }
  }
}
Back to game