Installer diablo-immortal-battlenet

game:
  arch: win64
  exe: drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.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
- task:
    app: fontsmooth-rgb
    arch: win64
    description: Setting fontsmooth=rbg
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win64
    description: Setting Windows 10 mode for Wine
    key: Version
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine
    prefix: $GAMEDIR
    value: win10
- task:
    name: winekill
    prefix: $GAMEDIR
- task:
    arch: win64
    description: 'Wine Staging: Enabling DXVA2'
    key: backend
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DXVA2
    prefix: $GAMEDIR
    value: va
requires: blizzard-battlenet-standard
system:
  env:
    DXVK_HUD: '0'
    DXVK_STATE_CACHE: '1'
    DXVK_STATE_CACHE_PATH: $GAMEDIR
    PBA_ENABLE: '0'
    __GL_SHADER_DISK_CACHE: '1'
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
    __GL_THREADED_OPTIMIZATIONS: '1'
    __PBA_CB_HEAP: '128'
    __PBA_GEO_HEAP: '512'
    mesa_glthread: 'true'
  exclude_processes: Agent.exe "Battle.net Helper.exe"
description: ''
game_slug: diablo-immortal
gogslug: ''
humblestoreid: ''
installer_slug: diablo-immortal-battlenet
name: Diablo Immortal
notes: ''
runner: wine
script:
  game:
    arch: win64
    exe: drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.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
  - task:
      app: fontsmooth-rgb
      arch: win64
      description: Setting fontsmooth=rbg
      name: winetricks
      prefix: $GAMEDIR
  - task:
      arch: win64
      description: Setting Windows 10 mode for Wine
      key: Version
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine
      prefix: $GAMEDIR
      value: win10
  - task:
      name: winekill
      prefix: $GAMEDIR
  - task:
      arch: win64
      description: 'Wine Staging: Enabling DXVA2'
      key: backend
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\DXVA2
      prefix: $GAMEDIR
      value: va
  requires: blizzard-battlenet-standard
  system:
    env:
      DXVK_HUD: '0'
      DXVK_STATE_CACHE: '1'
      DXVK_STATE_CACHE_PATH: $GAMEDIR
      PBA_ENABLE: '0'
      __GL_SHADER_DISK_CACHE: '1'
      __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
      __GL_THREADED_OPTIMIZATIONS: '1'
      __PBA_CB_HEAP: '128'
      __PBA_GEO_HEAP: '512'
      mesa_glthread: 'true'
    exclude_processes: Agent.exe "Battle.net Helper.exe"
slug: diablo-immortal-battlenet
steamid: null
version: Battle.net
year: 2022
{
  "game_slug": "diablo-immortal",
  "version": "Battle.net",
  "description": "",
  "notes": "",
  "name": "Diablo Immortal",
  "year": 2022,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "diablo-immortal-battlenet",
  "installer_slug": "diablo-immortal-battlenet",
  "script": {
    "game": {
      "arch": "win64",
      "exe": "drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.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"
        }
      },
      {
        "task": {
          "app": "fontsmooth-rgb",
          "arch": "win64",
          "description": "Setting fontsmooth=rbg",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Setting Windows 10 mode for Wine",
          "key": "Version",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine",
          "prefix": "$GAMEDIR",
          "value": "win10"
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Wine Staging: Enabling DXVA2",
          "key": "backend",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\DXVA2",
          "prefix": "$GAMEDIR",
          "value": "va"
        }
      }
    ],
    "requires": "blizzard-battlenet-standard",
    "system": {
      "env": {
        "DXVK_HUD": "0",
        "DXVK_STATE_CACHE": "1",
        "DXVK_STATE_CACHE_PATH": "$GAMEDIR",
        "PBA_ENABLE": "0",
        "__GL_SHADER_DISK_CACHE": "1",
        "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR",
        "__GL_THREADED_OPTIMIZATIONS": "1",
        "__PBA_CB_HEAP": "128",
        "__PBA_GEO_HEAP": "512",
        "mesa_glthread": "true"
      },
      "exclude_processes": "Agent.exe \"Battle.net Helper.exe\""
    }
  }
}
Back to game