Installer blizzard-battlenet-testing

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.

count: 1
next: null
previous: null
results:
- content: "files:\n- setup: http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe\n\
    game:\n  arch: win32\n  exe: drive_c/Program Files (x86)/Battle.net/Battle.net.exe\n\
    \  prefix: $GAMEDIR\ninstaller:\n- task:\n    arch: win32\n    description: Creating\
    \ 64bit Wine prefix.\n    name: create_prefix\n    prefix: $GAMEDIR\n- task:\n\
    \    app: arial\n    arch: win32\n    description: Installing Arial font...\n\
    \    name: winetricks\n    prefix: $GAMEDIR\n    silent: true\n- task:\n    name:\
    \ winekill\n    prefix: $GAMEDIR\n- write_json:\n    data:\n      Client:\n  \
    \      GameLaunchWindowBehavior: '2'\n        GameSearch:\n          BackgroundSearch:\
    \ 'true'\n        HardwareAcceleration: 'false'\n        Sound:\n          Enabled:\
    \ 'false'\n        Streaming:\n          StreamingEnabled: 'false'\n    description:\
    \ Writing a Battle.Net config file\n    file: $GAMEDIR/drive_c/users/$USER/Application\
    \ Data/Battle.net/Battle.net.config\n- write_config:\n    description: Enabling\
    \ Borderless Windowed mode\n    file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini\n\
    \    key: WindowMode\n    section: Render.13\n    value: '\"1\"'\n- write_config:\n\
    \    description: Switching to WEBM format for saving Highlights\n    file: $GAMEDIR/drive_c/users/$USER/My\
    \ Documents/Overwatch/Settings/Settings_v0.ini\n    key: Type\n    section: MovieExport.1\n\
    \    value: '\"1\"'\n- write_config:\n    description: Disabling hardware acceleration\
    \ for saving Highlights\n    file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini\n\
    \    key: UseHardware\n    section: MovieExport.1\n    value: '\"0\"'\n- write_file:\n\
    \    content: hasseennewcinematic=True\n    description: Adding a startup workaround\
    \ for Hearthstone\n    file: $GAMEDIR/drive_c/users/$USER/Local Settings/Application\
    \ Data/Blizzard/Hearthstone/options.txt\n- task:\n    arch: win32\n    description:\
    \ 'Wine Staging: Enabling DXVA2'\n    key: backend\n    name: set_regedit\n  \
    \  path: HKEY_CURRENT_USER\\Software\\Wine\\DXVA2\n    prefix: $GAMEDIR\n    value:\
    \ va\n- task:\n    name: winekill\n    prefix: $GAMEDIR\n- task:\n    arch: win32\n\
    \    description: 'Installing Blizzard App. An installer will open.\n\n      ------------------------------\n\
    \n      To progress, manually continue installation in that window.'\n    exclude_processes:\
    \ Battle.net.exe Agent.exe \"Battle.net Helper.exe\"\n    executable: setup\n\
    \    name: wineexec\n- task:\n    name: winekill\n    prefix: $GAMEDIR\nsystem:\n\
    \  env:\n    DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf\n    DXVK_STATE_CACHE_PATH:\
    \ $GAMEDIR\n    STAGING_SHARED_MEMORY: 1\n    __GL_SHADER_DISK_CACHE: 1\n    __GL_SHADER_DISK_CACHE_PATH:\
    \ $GAMEDIR\n    __GL_SHADER_DISK_CACHE_SIZE: 1000000000\n  exclude_processes:\
    \ Agent.exe \"Battle.net Helper.exe\"\nwine:\n  dxvk: true\n  esync: true\n  overrides:\n\
    \    nvapi: disabled\n    nvapi64: disabled"
  created_at: '2018-06-02T15:27:40.491000Z'
  description: null
  draft: false
  game_id: 2421
  game_slug: hearthstone
  gogid: null
  gogslug: ''
  humbleid: ''
  humblestoreid: ''
  humblestoreid_real: ''
  id: 8500
  name: Hearthstone
  notes: "**CONFIGURE AND INSTALL THE DEPENDENCIES FIRST**\r\nInstructions for Vulkan\
    \ support: <a href=\"https://github.com/lutris/lutris/wiki/Installing-drivers\"\
    >https://github.com/lutris/lutris/wiki/Installing-drivers</a>\r\nInstructions\
    \ for proper functionality of Battle.Net (+ common problems) <a href=\"https://github.com/lutris/lutris/wiki/Game:-Blizzard-App\"\
    >https://github.com/lutris/lutris/wiki/Game:-Blizzard-App</a>"
  published: true
  published_by: 51687
  rating: '4'
  runner: wine
  script:
    files:
    - setup: http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe
    game:
      arch: win32
      exe: drive_c/Program Files (x86)/Battle.net/Battle.net.exe
      prefix: $GAMEDIR
    installer:
    - task:
        arch: win32
        description: Creating 64bit Wine prefix.
        name: create_prefix
        prefix: $GAMEDIR
    - task:
        app: arial
        arch: win32
        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_config:
        description: Enabling Borderless Windowed mode
        file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini
        key: WindowMode
        section: Render.13
        value: '"1"'
    - write_config:
        description: Switching to WEBM format for saving Highlights
        file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini
        key: Type
        section: MovieExport.1
        value: '"1"'
    - write_config:
        description: Disabling hardware acceleration for saving Highlights
        file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini
        key: UseHardware
        section: MovieExport.1
        value: '"0"'
    - 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: win32
        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: win32
        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"
        executable: setup
        name: wineexec
    - task:
        name: winekill
        prefix: $GAMEDIR
    system:
      env:
        DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
        DXVK_STATE_CACHE_PATH: $GAMEDIR
        STAGING_SHARED_MEMORY: 1
        __GL_SHADER_DISK_CACHE: 1
        __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
        __GL_SHADER_DISK_CACHE_SIZE: 1000000000
      exclude_processes: Agent.exe "Battle.net Helper.exe"
    wine:
      dxvk: true
      esync: true
      overrides:
        nvapi: disabled
        nvapi64: disabled
  slug: hearthstone-standard
  steamid: null
  updated_at: '2020-03-30T13:42:38.296870Z'
  user: Dox
  version: Standard
  year: 2014
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "content": "files:\n- setup: http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe\ngame:\n  arch: win32\n  exe: drive_c/Program Files (x86)/Battle.net/Battle.net.exe\n  prefix: $GAMEDIR\ninstaller:\n- task:\n    arch: win32\n    description: Creating 64bit Wine prefix.\n    name: create_prefix\n    prefix: $GAMEDIR\n- task:\n    app: arial\n    arch: win32\n    description: Installing Arial font...\n    name: winetricks\n    prefix: $GAMEDIR\n    silent: true\n- task:\n    name: winekill\n    prefix: $GAMEDIR\n- write_json:\n    data:\n      Client:\n        GameLaunchWindowBehavior: '2'\n        GameSearch:\n          BackgroundSearch: 'true'\n        HardwareAcceleration: 'false'\n        Sound:\n          Enabled: 'false'\n        Streaming:\n          StreamingEnabled: 'false'\n    description: Writing a Battle.Net config file\n    file: $GAMEDIR/drive_c/users/$USER/Application Data/Battle.net/Battle.net.config\n- write_config:\n    description: Enabling Borderless Windowed mode\n    file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini\n    key: WindowMode\n    section: Render.13\n    value: '\"1\"'\n- write_config:\n    description: Switching to WEBM format for saving Highlights\n    file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini\n    key: Type\n    section: MovieExport.1\n    value: '\"1\"'\n- write_config:\n    description: Disabling hardware acceleration for saving Highlights\n    file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini\n    key: UseHardware\n    section: MovieExport.1\n    value: '\"0\"'\n- write_file:\n    content: hasseennewcinematic=True\n    description: Adding a startup workaround for Hearthstone\n    file: $GAMEDIR/drive_c/users/$USER/Local Settings/Application Data/Blizzard/Hearthstone/options.txt\n- task:\n    arch: win32\n    description: 'Wine Staging: Enabling DXVA2'\n    key: backend\n    name: set_regedit\n    path: HKEY_CURRENT_USER\\Software\\Wine\\DXVA2\n    prefix: $GAMEDIR\n    value: va\n- task:\n    name: winekill\n    prefix: $GAMEDIR\n- task:\n    arch: win32\n    description: 'Installing Blizzard App. An installer will open.\n\n      ------------------------------\n\n      To progress, manually continue installation in that window.'\n    exclude_processes: Battle.net.exe Agent.exe \"Battle.net Helper.exe\"\n    executable: setup\n    name: wineexec\n- task:\n    name: winekill\n    prefix: $GAMEDIR\nsystem:\n  env:\n    DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf\n    DXVK_STATE_CACHE_PATH: $GAMEDIR\n    STAGING_SHARED_MEMORY: 1\n    __GL_SHADER_DISK_CACHE: 1\n    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR\n    __GL_SHADER_DISK_CACHE_SIZE: 1000000000\n  exclude_processes: Agent.exe \"Battle.net Helper.exe\"\nwine:\n  dxvk: true\n  esync: true\n  overrides:\n    nvapi: disabled\n    nvapi64: disabled",
      "created_at": "2018-06-02T15:27:40.491000Z",
      "description": null,
      "draft": false,
      "game_id": 2421,
      "game_slug": "hearthstone",
      "gogid": null,
      "gogslug": "",
      "humbleid": "",
      "humblestoreid": "",
      "humblestoreid_real": "",
      "id": 8500,
      "name": "Hearthstone",
      "notes": "**CONFIGURE AND INSTALL THE DEPENDENCIES FIRST**\r\nInstructions for Vulkan support: <a href=\"https://github.com/lutris/lutris/wiki/Installing-drivers\">https://github.com/lutris/lutris/wiki/Installing-drivers</a>\r\nInstructions for proper functionality of Battle.Net (+ common problems) <a href=\"https://github.com/lutris/lutris/wiki/Game:-Blizzard-App\">https://github.com/lutris/lutris/wiki/Game:-Blizzard-App</a>",
      "published": true,
      "published_by": 51687,
      "rating": "4",
      "runner": "wine",
      "script": {
        "files": [
          {
            "setup": "http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe"
          }
        ],
        "game": {
          "arch": "win32",
          "exe": "drive_c/Program Files (x86)/Battle.net/Battle.net.exe",
          "prefix": "$GAMEDIR"
        },
        "installer": [
          {
            "task": {
              "arch": "win32",
              "description": "Creating 64bit Wine prefix.",
              "name": "create_prefix",
              "prefix": "$GAMEDIR"
            }
          },
          {
            "task": {
              "app": "arial",
              "arch": "win32",
              "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_config": {
              "description": "Enabling Borderless Windowed mode",
              "file": "$GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini",
              "key": "WindowMode",
              "section": "Render.13",
              "value": "\"1\""
            }
          },
          {
            "write_config": {
              "description": "Switching to WEBM format for saving Highlights",
              "file": "$GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini",
              "key": "Type",
              "section": "MovieExport.1",
              "value": "\"1\""
            }
          },
          {
            "write_config": {
              "description": "Disabling hardware acceleration for saving Highlights",
              "file": "$GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini",
              "key": "UseHardware",
              "section": "MovieExport.1",
              "value": "\"0\""
            }
          },
          {
            "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": "win32",
              "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": "win32",
              "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\"",
              "executable": "setup",
              "name": "wineexec"
            }
          },
          {
            "task": {
              "name": "winekill",
              "prefix": "$GAMEDIR"
            }
          }
        ],
        "system": {
          "env": {
            "DXVK_CONFIG_FILE": "$GAMEDIR/dxvk.conf",
            "DXVK_STATE_CACHE_PATH": "$GAMEDIR",
            "STAGING_SHARED_MEMORY": 1,
            "__GL_SHADER_DISK_CACHE": 1,
            "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR",
            "__GL_SHADER_DISK_CACHE_SIZE": 1000000000
          },
          "exclude_processes": "Agent.exe \"Battle.net Helper.exe\""
        },
        "wine": {
          "dxvk": true,
          "esync": true,
          "overrides": {
            "nvapi": "disabled",
            "nvapi64": "disabled"
          }
        }
      },
      "slug": "hearthstone-standard",
      "steamid": null,
      "updated_at": "2020-03-30T13:42:38.296870Z",
      "user": "Dox",
      "version": "Standard",
      "year": 2014
    }
  ]
}
Back to game