Installer crash-bandicoot-4-its-about-t-battlenet

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
- 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
- write_json:
    data:
      Client:
        GameLaunchWindowBehavior: '2'
        HardwareAcceleration: 'false'
        Sound:
          Enabled: 'false'
    description: Disabling Sound/Hardware Acceleration/Streaming in Blizzard App
    file: $GAMEDIR/drive_c/users/$USER/Application Data/Battle.net/Battle.net.config
- task:
    arch: win64
    description: 'Installing Blizzard App

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

      Do not try to log into Battle.net, just close the Battle.Net login window when
      appearing. After Lutris installer is finished, you can start Blizzard App with
      "Launch the game", and install / locate your Blizzard game.'
    exclude_processes: Battle.net.exe Agent.exe "Battle.net Helper.exe"
    executable: setup
    name: wineexec
- task:
    name: winekill
    prefix: $GAMEDIR
system:
  env:
    DXVK_HUD: compiler
    DXVK_STATE_CACHE_PATH: $GAMEDIR
    STAGING_SHARED_MEMORY: 1
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
  exclude_processes: Agent.exe "Battle.net Helper.exe"
wine:
  overrides:
    nvapi: disabled
    nvapi64: disabled
description: null
game_slug: crash-bandicoot-4-its-about-time
gogslug: ''
humblestoreid: ''
installer_slug: crash-bandicoot-4-its-about-t-battlenet
name: "Crash Bandicoot 4: It\u2019s About Time"
notes: ''
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
  - 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
  - write_json:
      data:
        Client:
          GameLaunchWindowBehavior: '2'
          HardwareAcceleration: 'false'
          Sound:
            Enabled: 'false'
      description: Disabling Sound/Hardware Acceleration/Streaming in Blizzard App
      file: $GAMEDIR/drive_c/users/$USER/Application Data/Battle.net/Battle.net.config
  - task:
      arch: win64
      description: 'Installing Blizzard App

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

        Do not try to log into Battle.net, just close the Battle.Net login window
        when appearing. After Lutris installer is finished, you can start Blizzard
        App with "Launch the game", and install / locate your Blizzard game.'
      exclude_processes: Battle.net.exe Agent.exe "Battle.net Helper.exe"
      executable: setup
      name: wineexec
  - task:
      name: winekill
      prefix: $GAMEDIR
  system:
    env:
      DXVK_HUD: compiler
      DXVK_STATE_CACHE_PATH: $GAMEDIR
      STAGING_SHARED_MEMORY: 1
      __GL_SHADER_DISK_CACHE: 1
      __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
    exclude_processes: Agent.exe "Battle.net Helper.exe"
  wine:
    overrides:
      nvapi: disabled
      nvapi64: disabled
slug: crash-bandicoot-4-its-about-t-battlenet
steamid: null
version: Battle.net
year: 2021
{
  "game_slug": "crash-bandicoot-4-its-about-time",
  "version": "Battle.net",
  "description": null,
  "notes": "",
  "name": "Crash Bandicoot 4: It\u2019s About Time",
  "year": 2021,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "crash-bandicoot-4-its-about-t-battlenet",
  "installer_slug": "crash-bandicoot-4-its-about-t-battlenet",
  "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"
        }
      },
      {
        "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"
        }
      },
      {
        "write_json": {
          "data": {
            "Client": {
              "GameLaunchWindowBehavior": "2",
              "HardwareAcceleration": "false",
              "Sound": {
                "Enabled": "false"
              }
            }
          },
          "description": "Disabling Sound/Hardware Acceleration/Streaming in Blizzard App",
          "file": "$GAMEDIR/drive_c/users/$USER/Application Data/Battle.net/Battle.net.config"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Installing Blizzard App\n------------------------------\nDo not try to log into Battle.net, just close the Battle.Net login window when appearing. After Lutris installer is finished, you can start Blizzard App with \"Launch the game\", and install / locate your Blizzard game.",
          "exclude_processes": "Battle.net.exe Agent.exe \"Battle.net Helper.exe\"",
          "executable": "setup",
          "name": "wineexec"
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_HUD": "compiler",
        "DXVK_STATE_CACHE_PATH": "$GAMEDIR",
        "STAGING_SHARED_MEMORY": 1,
        "__GL_SHADER_DISK_CACHE": 1,
        "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR"
      },
      "exclude_processes": "Agent.exe \"Battle.net Helper.exe\""
    },
    "wine": {
      "overrides": {
        "nvapi": "disabled",
        "nvapi64": "disabled"
      }
    }
  }
}
Back to game