Installer call-of-duty-black-ops-iiii-battlenet-1

game:
  arch: win64
  args: --exec="launch Pro"
  exe: drive_c/Program Files (x86)/Battle.net/Battle.net.exe
  prefix: $GAMEDIR
installer:
- 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
- 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
requires: battlenet-standard
system:
  env:
    DXVK_HUD: compiler
    DXVK_STATE_CACHE_PATH: $GAMEDIR
    STAGING_SHARED_MEMORY: 1
    __GL_DXVK_OPTIMIZATIONS: 1
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
    __GL_SHADER_DISK_CACHE_SKIP_CLEANUP: 1
  exclude_processes: Agent.exe "Battle.net Helper.exe"
description: Script for existing install of Battle.net
game_slug: call-of-duty-black-ops-iiii
gogslug: ''
humblestoreid: ''
installer_slug: call-of-duty-black-ops-iiii-battlenet-1
name: 'Call of Duty: Black Ops IIII'
notes: "Instructions for proper functionality of Battle.Net (+ common problems)\r\n\
  https://github.com/lutris/docs/blob/master/Battle.Net.md\""
runner: wine
script:
  game:
    arch: win64
    args: --exec="launch Pro"
    exe: drive_c/Program Files (x86)/Battle.net/Battle.net.exe
    prefix: $GAMEDIR
  installer:
  - 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
  - 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
  requires: battlenet-standard
  system:
    env:
      DXVK_HUD: compiler
      DXVK_STATE_CACHE_PATH: $GAMEDIR
      STAGING_SHARED_MEMORY: 1
      __GL_DXVK_OPTIMIZATIONS: 1
      __GL_SHADER_DISK_CACHE: 1
      __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
      __GL_SHADER_DISK_CACHE_SKIP_CLEANUP: 1
    exclude_processes: Agent.exe "Battle.net Helper.exe"
slug: call-of-duty-black-ops-iiii-battlenet-1
steamid: null
version: Battle.net
year: 2018
{
  "game_slug": "call-of-duty-black-ops-iiii",
  "version": "Battle.net",
  "description": "Script for existing install of Battle.net",
  "notes": "Instructions for proper functionality of Battle.Net (+ common problems)\r\nhttps://github.com/lutris/docs/blob/master/Battle.Net.md\"",
  "name": "Call of Duty: Black Ops IIII",
  "year": 2018,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "call-of-duty-black-ops-iiii-battlenet-1",
  "installer_slug": "call-of-duty-black-ops-iiii-battlenet-1",
  "script": {
    "game": {
      "arch": "win64",
      "args": "--exec=\"launch Pro\"",
      "exe": "drive_c/Program Files (x86)/Battle.net/Battle.net.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "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"
        }
      },
      {
        "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"
        }
      }
    ],
    "requires": "battlenet-standard",
    "system": {
      "env": {
        "DXVK_HUD": "compiler",
        "DXVK_STATE_CACHE_PATH": "$GAMEDIR",
        "STAGING_SHARED_MEMORY": 1,
        "__GL_DXVK_OPTIMIZATIONS": 1,
        "__GL_SHADER_DISK_CACHE": 1,
        "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR",
        "__GL_SHADER_DISK_CACHE_SKIP_CLEANUP": 1
      },
      "exclude_processes": "Agent.exe \"Battle.net Helper.exe\""
    }
  }
}
Back to game