Last active
September 4, 2017 13:44
-
-
Save daniel-j/8ec04aba22b2ad6995173c71f2f4d624 to your computer and use it in GitHub Desktop.
Overwatch Lutris installer
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
{"Client": {"HardwareAcceleration": "false", "Sound":{"Enabled": "false"}, "OSDeprecationMessageLastSeenMS": "2504095679451"}} |
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: Overwatch | |
game_slug: overwatch | |
version: Standalone | |
slug: overwatch-standalone | |
runner: wine | |
description: Installs/updates Overwatch (unattended mode) | |
notes: | | |
<b>IMPORTANT!</b> Install Wine version overwatch-2.3 x86_64 through the Lutris Wine version manager first! | |
Wine Staging CSMT and DXVA2 are enabled by default. | |
In Overwatch, set all graphical settings to Low. | |
Setting <b>Texture Quality</b> to <b>Low</b> is <b>very important!</b> | |
When starting Overwatch you have to enter your email and password every time. | |
If you need help to get Overwatch to run, or some Linux players to team up with, join the Lutris channel on the Linux Gamers Group Discord server: | |
<a href="https://discord.gg/fWxBm7G">https://discord.gg/fWxBm7G</a> | |
game: | |
exe: $GAMEDIR/drive_c/Program Files (x86)/Overwatch/Overwatch.exe | |
arch: win64 | |
prefix: $GAMEDIR | |
wine: | |
version: overwatch-2.3-x86_64 | |
system: | |
disable_runtime: true | |
files: | |
- setup: | |
filename: Overwatch-Setup.exe | |
url: https://www.battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=OVERWATCH | |
installer: | |
# Create Wine prefix | |
- task: | |
name: create_prefix | |
arch: win64 | |
description: | | |
Creating Wine prefix. | |
Gecko and Mono are not required, you can click Cancel. | |
# Fix ntdll, update prefix | |
- execute: | |
args: '-c "rm -f ./drive_c/windows/syswow64/ntdll.dll ./drive_c/windows/system32/ntdll.dll"' | |
file: /bin/sh | |
- task: | |
name: wineexec | |
arch: win64 | |
executable: wineboot | |
args: --update | |
description: | | |
Updating Wine prefix. | |
Gecko and Mono are not required, you can click Cancel. | |
# Set Windows 10 mode | |
- task: | |
name: set_regedit | |
arch: win64 | |
description: 'Setting Windows 10 mode for Wine' | |
path: 'HKEY_CURRENT_USER\Software\Wine' | |
key: Version | |
value: win10 | |
# Disable hardware acceleration in Battle.net client | |
# Disable notification sound in Battle.net client | |
- execute: | |
args: '-c "dir=\"drive_c/users/$USER/Application Data/Battle.net\"; mkdir -p \"$dir\"; echo \"{\\\"Client\\\": {\\\"HardwareAcceleration\\\": \\\"false\\\", \\\"Sound\\\": {\\\"Enabled\\\": \\\"false\\\"}, \\\"GameLaunchWindowBehavior\\\": \\\"2\\\"}}\" > \"$dir/Battle.net.config\""' | |
file: /bin/sh | |
# Run Battle.net installer | |
- task: | |
name: wineexec | |
arch: win64 | |
description: | | |
Installing/updating Overwatch with Battle.net | |
After you have installed/updated Overwatch, close Battle.net completely. | |
This will make the Lutris install process finish. | |
After exiting, wait about a minute for the install to finish. | |
executable: setup | |
args: --unattendedpatch | |
# Enable cinematic intro | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Cinematics.1' | |
key: 'ShowIntro' | |
value: '1' | |
# Video settings, as low as possible. | |
# Gets overridden when Overwatch starts for the first time :( | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'GFXPresetLevel' | |
value: '1' | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'AADetail' | |
value: '0' | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'RenderScale' | |
value: '0' | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'TextureDetail' | |
value: '1' | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'SimpleDirectionalShadows' | |
value: '1' | |
# Set borderless fullscreen window mode | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'WindowMode' | |
value: '1' | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'MaximizedWindow' | |
value: '0' | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'FullscreenWindow' | |
value: '0' | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'FullscreenWindowEnabled' | |
value: '0' | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'WindowedFullscreen' | |
value: '1' | |
# Enable fps counter, ping stat and clock | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'ShowFPSCounter' | |
value: '1' | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'ShowPing' | |
value: '1' | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'ShowSystemClock' | |
value: '1' | |
# Tweak Wine config | |
- task: | |
name: set_regedit | |
arch: win64 | |
description: 'Wine Staging: Enabling CSMT for Overwatch' | |
path: 'HKEY_CURRENT_USER\Software\Wine\AppDefaults\Overwatch.exe\DllRedirects' | |
key: wined3d | |
value: wined3d-csmt.dll | |
- task: | |
name: set_regedit | |
arch: win64 | |
description: 'Wine Staging: Enabling DXVA2 for Overwatch' | |
path: 'HKEY_CURRENT_USER\Software\Wine\AppDefaults\Overwatch.exe\DXVA2' | |
key: backend | |
value: va | |
- task: | |
name: set_regedit | |
arch: win64 | |
description: "Wine X11: Don't grab mouse in fullscreen windows" | |
path: 'HKEY_CURRENT_USER\Software\Wine\AppDefaults\Overwatch.exe\X11 Driver' | |
key: GrabFullscreen | |
value: 'N' | |
- task: | |
name: set_regedit | |
arch: win64 | |
description: "Wine X11: Don't grab pointer" | |
path: 'HKEY_CURRENT_USER\Software\Wine\AppDefaults\Overwatch.exe\X11 Driver' | |
key: GrabPointer | |
value: 'N' | |
- task: | |
name: set_regedit | |
arch: win64 | |
description: 'Setting Windows 10 mode for Overwatch' | |
path: 'HKEY_CURRENT_USER\Software\Wine\AppDefaults\Overwatch.exe' | |
key: Version | |
value: win10 | |
- task: | |
name: set_regedit | |
arch: win64 | |
description: 'Setting Windows 10 mode for Wine' | |
path: 'HKEY_CURRENT_USER\Software\Wine' | |
key: Version | |
value: win10 |
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: Overwatch | |
game_slug: overwatch | |
version: Installer | |
slug: overwatch-installer | |
runner: wine | |
description: Installs Blizzard App optimized for Overwatch | |
notes: | | |
<b>IMPORTANT: RUNNING OVERWATCH REQUIRES NVIDIA OR AMD GPU-PRO DRIVERS (MESA DRIVERS WILL NOT WORK)</b> | |
System dependencies required for Blizzard App online access: | |
Arch: lib32-gnutls lib32-libldap | |
Ubuntu: libgnutls30:i386 libldap:i386 | |
Nvidia GL Threaded Optimizations and Shader Disk Cache are enabled by default. Wine Staging CSMT is <b>disabled</b>! Mesa GL threaded is enabled. | |
Set all graphical settings to Low for best performance. | |
If you need help to get Overwatch to run, or some Linux players to team up with, join the Lutris channel on the Linux Gamers Group Discord server: <a href="https://discord.gg/fWxBm7G">https://discord.gg/fWxBm7G</a> | |
script: | |
game: | |
exe: drive_c/Program Files (x86)/Blizzard App/Battle.net Launcher.exe | |
args: battlenet://Pro/ | |
arch: win64 | |
prefix: $GAMEDIR | |
wine: | |
version: overwatch-2.15-x86_64 | |
system: | |
env: | |
__GL_THREADED_OPTIMIZATIONS: '1' | |
__GL_SHADER_DISK_CACHE: '1' | |
mesa_glthread: 'true' | |
files: | |
- setup: | |
filename: Overwatch-Setup.exe | |
url: https://www.battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=OVERWATCH | |
# - regfix: http://djazz.se/nas/games/overwatch.reg | |
- bnetconfig: http://djazz.se/nas/games/Battle.net.config | |
- cefcache: http://djazz.se/nas/games/bnet-cache.zip | |
installer: | |
# Create Wine prefix | |
- task: | |
name: create_prefix | |
prefix: $GAMEDIR | |
arch: win64 | |
description: Creating Wine prefix. | |
# Set Windows XP mode | |
- task: | |
name: winetricks | |
app: win10 | |
description: 'Setting Windows 10 mode for Wine' | |
prefix: $GAMEDIR | |
# Disable hardware acceleration in Blizzard App client | |
# Disable notification sound in Blizzard App client | |
- merge: | |
src: bnetconfig | |
dst: $GAMEDIR/drive_c/users/$USER/Application Data/Battle.net | |
description: Copy Battle.net config | |
# Extract prefilled cache (login fix) | |
- extract: | |
description: Extracting cached login screen | |
file: cefcache | |
dst: $GAMEDIR/drive_c/users/$USER/Local Settings/Application Data/Battle.net/BrowserCache/Cache | |
# Run Blizzard App installer | |
- task: | |
name: wineexec | |
arch: win64 | |
description: | | |
Installing Blizzard App | |
Do not run Overwatch yet! Close Blizzard App after it has started. | |
After exiting Blizzard App, wait about a minute for the install to finish. | |
If it doesn't, run "killall Agent.exe Overwatch-Setup.exe" in a terminal. | |
executable: setup | |
args: battlenet://Pro/ | |
# Enable cinematic intro | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Cinematics.1' | |
key: 'ShowIntro' | |
value: '1' | |
# Video settings, as low as possible. | |
# Gets overridden when Overwatch starts for the first time :( | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'GFXPresetLevel' | |
value: '1' | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'AADetail' | |
value: '0' | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'RenderScale' | |
value: '0' | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'TextureDetail' | |
value: '1' | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'SimpleDirectionalShadows' | |
value: '1' | |
# Set borderless fullscreen window mode | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'WindowMode' | |
value: '1' | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'MaximizedWindow' | |
value: '0' | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'FullscreenWindow' | |
value: '0' | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'FullscreenWindowEnabled' | |
value: '0' | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'WindowedFullscreen' | |
value: '1' | |
# Enable fps counter, ping stat and clock | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'ShowFPSCounter' | |
value: '1' | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'ShowPing' | |
value: '1' | |
- write_config: | |
file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini | |
section: 'Render.13' | |
key: 'ShowSystemClock' | |
value: '1' | |
# Tweak Wine config | |
# - task: | |
# name: set_regedit | |
# arch: win64 | |
# description: 'Wine Staging: Enabling CSMT for Overwatch' | |
# path: 'HKEY_CURRENT_USER\Software\Wine\AppDefaults\Overwatch.exe\DllRedirects' | |
# key: wined3d | |
# value: wined3d-csmt.dll | |
# prefix: $GAMEDIR | |
- task: | |
name: set_regedit | |
arch: win64 | |
description: 'Wine Staging: Enabling DXVA2 for Overwatch' | |
path: 'HKEY_CURRENT_USER\Software\Wine\AppDefaults\Overwatch.exe\DXVA2' | |
key: backend | |
value: va | |
prefix: $GAMEDIR | |
- task: | |
name: set_regedit | |
arch: win64 | |
description: 'Setting Windows XP mode for Overwatch' | |
path: 'HKEY_CURRENT_USER\Software\Wine\AppDefaults\Overwatch.exe' | |
key: Version | |
value: winxp64 | |
prefix: $GAMEDIR | |
# - task: | |
# name: winetricks | |
# app: win10 | |
# description: 'Setting Windows 10 mode for Wine' | |
# prefix: $GAMEDIR | |
- task: | |
name: set_regedit | |
arch: win64 | |
description: 'Setting Windows 10 mode for Wine' | |
path: 'HKEY_CURRENT_USER\Software\Wine' | |
key: Version | |
value: win10 | |
prefix: $GAMEDIR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment