Created
March 25, 2022 19:36
-
-
Save jbweber/0446f98551f095f2f6ba682d148b46ab to your computer and use it in GitHub Desktop.
lutris battle.net
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Battle.Net | |
game_slug: battle-dot-net | |
version: Installer | |
slug: battle-dot-net-installer | |
runner: wine | |
script: | |
files: | |
- setup: http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe | |
game: | |
arch: win64 | |
exe: $GAMEDIR/drive_c/Program Files (x86)/Battle.net/Battle.net.exe | |
prefix: $GAMEDIR | |
installer: | |
- task: | |
arch: win64 | |
description: creating 64-bit wine prefix | |
name: create_prefix | |
prefix: $GAMEDIR | |
- task: | |
app: arial | |
arch: win64 | |
description: install Arial font | |
name: winetricks | |
prefix: $GAMEDIR | |
silent: true | |
- task: | |
name: winekill | |
prefix: $GAMEDIR | |
- task: | |
arch: win64 | |
description: 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 | |
Streaming: | |
StreamingEnabled: false | |
description: disabling sound/hardware acceleration/streaming in blizzard app | |
file: $GAMEDIR/drive_c/users/$USER/Application Data/Battle.net/Battle.net.config | |
- task: | |
name: winekill | |
prefix: $GAMEDIR | |
- task: | |
arch: win64 | |
description: Installing Battle.Net app. Do not login. | |
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: | |
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: | |
dxvk: true | |
esync: true | |
overrides: | |
nvapi: disabled | |
nvapi64: disabled |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment