Skip to content

Commit

Permalink
Update Overwatch : multiple fixes
Browse files Browse the repository at this point in the history
- WindowsXP -> Windows 7

- `DXVK` is mandatory for performance, 

- Fix executable

- Disabled nvapi, nvapi64 which proved beneficial in tests.
  • Loading branch information
Kreyren authored and ImperatorS79 committed Feb 21, 2019
1 parent 4da43ee commit a6bbe8d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
14 changes: 8 additions & 6 deletions Applications/Games/Overwatch/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
include(["engines", "wine", "quick_script", "online_installer_script"]);
include(["engines", "wine", "plugins", "csmt"]);
include(["engines", "wine", "plugins", "windows_version"]);
include(["engines", "wine", "plugins", "override_dll"]);
include(["engines", "wine", "verbs", "vcrun2015"]);
include(["engines", "wine", "verbs", "corefonts"]);
include(["engines", "wine", "verbs", "dxvk"]);

var installerImplementation = {
run: function () {
new OnlineInstallerScript()
.name("Overwatch")
.editor("Blizzard")
.applicationHomepage("http://www.playoverwatch.com/")
.author("ImperatorS79")
.author("ImperatorS79, kreyren")
.url("https://eu.battle.net/download/getInstaller?os=win&installer=Overwatch-Setup.exe")
//The checksum is different each time you download
//The checksum is different each time you download
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
.wineArchitecture("amd64")
.category("Games")
.executable("Overwatch.exe")
.executable("Battle.net.exe")
.preInstall(function (wine/*, wizard*/) {
wine.windowsVersion("winxp");
wine.windowsVersion("win7");
wine.vcrun2015();
wine.corefonts();
wine.enableCSMT();
wine.overrideDLL().set("disabled", ["nvapi", "nvapi64"]).do();
wine.DXVK();
})
.go();
}
Expand Down
5 changes: 3 additions & 2 deletions Applications/Games/Overwatch/Online/script.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
"scriptName" : "Online",
"id" : "online",
"compatibleOperatingSystems" : [
"LINUX"
"LINUX",
"MACOSX"
],
"testingOperatingSystems" : [
"LINUX"
"MACOSX"
],
"free" : false,
"requiresPatch" : false
Expand Down

0 comments on commit a6bbe8d

Please sign in to comment.