From 67526235c058a26cdf260dcae280d5f3c9dffbfc Mon Sep 17 00:00:00 2001 From: Jacob Hrbek Date: Wed, 5 Jun 2019 18:43:43 -0500 Subject: [PATCH 1/2] Add Uplay option for ACR --- .../Assassin's Creed Revelations/Steam/script.js | 2 +- .../Assassin's Creed Revelations/Uplay/script.js | 15 +++++++++++++++ .../Uplay/script.json | 10 ++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 Applications/Games/Assassin's Creed Revelations/Uplay/script.js create mode 100644 Applications/Games/Assassin's Creed Revelations/Uplay/script.json diff --git a/Applications/Games/Assassin's Creed Revelations/Steam/script.js b/Applications/Games/Assassin's Creed Revelations/Steam/script.js index 94e57f2a99..2e01007d97 100644 --- a/Applications/Games/Assassin's Creed Revelations/Steam/script.js +++ b/Applications/Games/Assassin's Creed Revelations/Steam/script.js @@ -4,7 +4,7 @@ include("engines.wine.verbs.uplay"); var installerImplementation = { run: function () { new SteamScript() - .name("Assassin's Creed® Revelations") + .name("Assassin's Creed Revelations") .editor("Ubisoft Montreal") .author("Plata") .appId(201870) diff --git a/Applications/Games/Assassin's Creed Revelations/Uplay/script.js b/Applications/Games/Assassin's Creed Revelations/Uplay/script.js new file mode 100644 index 0000000000..017d97d2dc --- /dev/null +++ b/Applications/Games/Assassin's Creed Revelations/Uplay/script.js @@ -0,0 +1,15 @@ +include("engines.wine.quick_script.uplay_script"); + +var installerImplementation = { + run: function () { + new UplayScript() + .name("Assassin's Creed Revelations") + .editor("Ubisoft, Gameloft, Ubisoft Montreal, Blue Byte, MORE") + .applicationHomepage("https://www.ubisoft.com/en-us/game/assassins-creed") + .author("KREYREN") + .appId(82) + .go(); +}; + +/* exported Installer */ +var Installer = Java.extend(org.phoenicis.scripts.Installer, installerImplementation); diff --git a/Applications/Games/Assassin's Creed Revelations/Uplay/script.json b/Applications/Games/Assassin's Creed Revelations/Uplay/script.json new file mode 100644 index 0000000000..cb231d6751 --- /dev/null +++ b/Applications/Games/Assassin's Creed Revelations/Uplay/script.json @@ -0,0 +1,10 @@ +{ + "scriptName" : "Uplay", + "id" : "applications.games.assassins_creed_revelations.uplay", + "compatibleOperatingSystems" : [ + "LINUX" + ], + "testingOperatingSystems" : [], + "free" : false, + "requiresPatch" : false +} From 2b6f4640ce474380ef56b434e7059ef81e12d549 Mon Sep 17 00:00:00 2001 From: Jacob Hrbek Date: Wed, 5 Jun 2019 19:27:33 -0500 Subject: [PATCH 2/2] Added DXVK --- .../Games/Assassin's Creed Revelations/Steam/script.js | 2 ++ .../Games/Assassin's Creed Revelations/Uplay/script.js | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/Applications/Games/Assassin's Creed Revelations/Steam/script.js b/Applications/Games/Assassin's Creed Revelations/Steam/script.js index 2e01007d97..5aee8fa526 100644 --- a/Applications/Games/Assassin's Creed Revelations/Steam/script.js +++ b/Applications/Games/Assassin's Creed Revelations/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 Revelations/Uplay/script.js b/Applications/Games/Assassin's Creed Revelations/Uplay/script.js index 017d97d2dc..a226925a78 100644 --- a/Applications/Games/Assassin's Creed Revelations/Uplay/script.js +++ b/Applications/Games/Assassin's Creed Revelations/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,10 @@ var installerImplementation = { .applicationHomepage("https://www.ubisoft.com/en-us/game/assassins-creed") .author("KREYREN") .appId(82) + .postInstall(function (wine/*, wizard*/) { + wine.uplay(); + wine.DXVK(); + }) .go(); };