From a0d76c0a075b1b10dc891e70372b6b35fdb394fd Mon Sep 17 00:00:00 2001 From: Jacob Hrbek Date: Wed, 5 Jun 2019 16:55:13 -0500 Subject: [PATCH 1/2] Add uplay option for ACB --- .../Assassin's Creed: Brotherhood/Uplay/script.js | 15 +++++++++++++++ .../Uplay/script.json | 13 +++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 Applications/Games/Assassin's Creed: Brotherhood/Uplay/script.js create mode 100644 Applications/Games/Assassin's Creed: Brotherhood/Uplay/script.json diff --git a/Applications/Games/Assassin's Creed: Brotherhood/Uplay/script.js b/Applications/Games/Assassin's Creed: Brotherhood/Uplay/script.js new file mode 100644 index 0000000000..2d5f3f82a7 --- /dev/null +++ b/Applications/Games/Assassin's Creed: Brotherhood/Uplay/script.js @@ -0,0 +1,15 @@ +include("engines.wine.quick_script.uplay_script"); + +var installerImplementation = { + run: function () { + new UplayScript() + .name("Assassin's Creed") + .editor("Ubisoft, Gameloft, Ubisoft Montreal, Blue Byte, MORE") + .applicationHomepage("https://www.ubisoft.com/en-us/game/assassins-creed") + .author("KREYREN") + .appId(26) + .go(); +}; + +/* exported Installer */ +var Installer = Java.extend(org.phoenicis.scripts.Installer, installerImplementation); diff --git a/Applications/Games/Assassin's Creed: Brotherhood/Uplay/script.json b/Applications/Games/Assassin's Creed: Brotherhood/Uplay/script.json new file mode 100644 index 0000000000..5e1db54d2e --- /dev/null +++ b/Applications/Games/Assassin's Creed: Brotherhood/Uplay/script.json @@ -0,0 +1,13 @@ +{ + "scriptName" : "Uplay", + "id" : "applications.games.assassins_creed_brotherhood.uplay", + "compatibleOperatingSystems" : [ + "MACOSX", + "LINUX" + ], + "testingOperatingSystems" : [ + "MACOSX" + ], + "free" : false, + "requiresPatch" : false +} From 3a176f20dad5d86b30bcbcc6e74438c89db37810 Mon Sep 17 00:00:00 2001 From: Jacob Hrbek Date: Wed, 5 Jun 2019 19:29:20 -0500 Subject: [PATCH 2/2] Added DXVK --- .../Games/Assassin's Creed: Brotherhood/Steam/script.js | 2 ++ .../Games/Assassin's Creed: Brotherhood/Uplay/script.js | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/Applications/Games/Assassin's Creed: Brotherhood/Steam/script.js b/Applications/Games/Assassin's Creed: Brotherhood/Steam/script.js index c4c3eaf9e2..4ffd4cb715 100644 --- a/Applications/Games/Assassin's Creed: Brotherhood/Steam/script.js +++ b/Applications/Games/Assassin's Creed: Brotherhood/Steam/script.js @@ -1,5 +1,6 @@ include("engines.wine.quick_script.steam_script"); include("engines.wine.verbs.uplay"); +include("engines.wine.verbs.dxvk"); var installerImplementation = { run: function () { @@ -12,6 +13,7 @@ var installerImplementation = { .wineDistribution("staging") .postInstall(function (wine/*, wizard*/) { wine.uplay(); + wine.DXVK(); }) .go(); } diff --git a/Applications/Games/Assassin's Creed: Brotherhood/Uplay/script.js b/Applications/Games/Assassin's Creed: Brotherhood/Uplay/script.js index 2d5f3f82a7..93890fab8a 100644 --- a/Applications/Games/Assassin's Creed: Brotherhood/Uplay/script.js +++ b/Applications/Games/Assassin's Creed: Brotherhood/Uplay/script.js @@ -1,4 +1,5 @@ include("engines.wine.quick_script.uplay_script"); +include("engines.wine.verbs.dxvk"); var installerImplementation = { run: function () { @@ -8,6 +9,9 @@ var installerImplementation = { .applicationHomepage("https://www.ubisoft.com/en-us/game/assassins-creed") .author("KREYREN") .appId(26) + .preInstall(function (wine/*, wizard*/) { + wine.DXVK(); + }) .go(); };