From 88392701ae00ffef2051412d626849db5f26e329 Mon Sep 17 00:00:00 2001 From: Jacob Hrbek Date: Wed, 5 Jun 2019 18:42:22 -0500 Subject: [PATCH 1/2] Add Uplay option for ACBF --- .../Games/Assassin's Creed III/Uplay/script.js | 15 +++++++++++++++ .../Games/Assassin's Creed III/Uplay/script.json | 10 ++++++++++ .../Steam/script.js | 2 +- .../Uplay/script.js | 15 +++++++++++++++ .../Uplay/script.json | 10 ++++++++++ 5 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 Applications/Games/Assassin's Creed III/Uplay/script.js create mode 100644 Applications/Games/Assassin's Creed III/Uplay/script.json create mode 100644 Applications/Games/Assassin's Creed IV Black Flag/Uplay/script.js create mode 100644 Applications/Games/Assassin's Creed IV Black Flag/Uplay/script.json diff --git a/Applications/Games/Assassin's Creed III/Uplay/script.js b/Applications/Games/Assassin's Creed III/Uplay/script.js new file mode 100644 index 0000000000..8a8a6e8622 --- /dev/null +++ b/Applications/Games/Assassin's Creed III/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(273) + .go(); +}; + +/* exported Installer */ +var Installer = Java.extend(org.phoenicis.scripts.Installer, installerImplementation); diff --git a/Applications/Games/Assassin's Creed III/Uplay/script.json b/Applications/Games/Assassin's Creed III/Uplay/script.json new file mode 100644 index 0000000000..2292f9de09 --- /dev/null +++ b/Applications/Games/Assassin's Creed III/Uplay/script.json @@ -0,0 +1,10 @@ +{ + "scriptName" : "Uplay", + "id" : "applications.games.assassins_creed_3.uplay", + "compatibleOperatingSystems" : [ + "LINUX" + ], + "testingOperatingSystems" : [], + "free" : false, + "requiresPatch" : false +} diff --git a/Applications/Games/Assassin's Creed IV Black Flag/Steam/script.js b/Applications/Games/Assassin's Creed IV Black Flag/Steam/script.js index 8bf2820a94..c7f8f6fbb8 100644 --- a/Applications/Games/Assassin's Creed IV Black Flag/Steam/script.js +++ b/Applications/Games/Assassin's Creed IV Black Flag/Steam/script.js @@ -3,7 +3,7 @@ include("engines.wine.quick_script.steam_script"); var installerImplementation = { run: function () { new SteamScript() - .name("Assassin’s Creed® IV Black Flag™") + .name("Assassin’s Creed IV Black Flag") .editor("Ubisoft Montreal") .author("Plata") .appId(242050) diff --git a/Applications/Games/Assassin's Creed IV Black Flag/Uplay/script.js b/Applications/Games/Assassin's Creed IV Black Flag/Uplay/script.js new file mode 100644 index 0000000000..92e9605630 --- /dev/null +++ b/Applications/Games/Assassin's Creed IV Black Flag/Uplay/script.js @@ -0,0 +1,15 @@ +include("engines.wine.quick_script.uplay_script"); + +var installerImplementation = { + run: function () { + new UplayScript() + .name("Assassin’s Creed IV Black Flag") + .editor("Ubisoft, Gameloft, Ubisoft Montreal, Blue Byte, MORE") + .applicationHomepage("https://www.ubisoft.com/en-us/game/assassins-creed") + .author("KREYREN") + .appId(273) + .go(); +}; + +/* exported Installer */ +var Installer = Java.extend(org.phoenicis.scripts.Installer, installerImplementation); diff --git a/Applications/Games/Assassin's Creed IV Black Flag/Uplay/script.json b/Applications/Games/Assassin's Creed IV Black Flag/Uplay/script.json new file mode 100644 index 0000000000..71f8c7a16c --- /dev/null +++ b/Applications/Games/Assassin's Creed IV Black Flag/Uplay/script.json @@ -0,0 +1,10 @@ +{ + "scriptName" : "Uplay", + "id" : "applications.games.assassins_creed_4_black_flag.uplay", + "compatibleOperatingSystems" : [ + "LINUX" + ], + "testingOperatingSystems" : [], + "free" : false, + "requiresPatch" : false +} From 09c347c6cb51bf0b9878a2a5961d31a809cf4bef Mon Sep 17 00:00:00 2001 From: Jacob Hrbek Date: Wed, 5 Jun 2019 19:26:29 -0500 Subject: [PATCH 2/2] Added DXVK --- .../Games/Assassin's Creed IV Black Flag/Steam/script.js | 2 ++ .../Games/Assassin's Creed IV Black Flag/Uplay/script.js | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/Applications/Games/Assassin's Creed IV Black Flag/Steam/script.js b/Applications/Games/Assassin's Creed IV Black Flag/Steam/script.js index c7f8f6fbb8..472d3e1413 100644 --- a/Applications/Games/Assassin's Creed IV Black Flag/Steam/script.js +++ b/Applications/Games/Assassin's Creed IV Black Flag/Steam/script.js @@ -1,4 +1,5 @@ include("engines.wine.quick_script.steam_script"); +include("engines.wine.verbs.dxvk"); var installerImplementation = { run: function () { @@ -12,6 +13,7 @@ var installerImplementation = { .postInstall(function (wine/*, wizard*/) { // the automatically installed Uplay version does not update properly wine.uplay(); + wine.DXVK(); }) .go(); } diff --git a/Applications/Games/Assassin's Creed IV Black Flag/Uplay/script.js b/Applications/Games/Assassin's Creed IV Black Flag/Uplay/script.js index 92e9605630..2048275d68 100644 --- a/Applications/Games/Assassin's Creed IV Black Flag/Uplay/script.js +++ b/Applications/Games/Assassin's Creed IV Black Flag/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(273) + .preInstall(function (wine/*, wizard*/) { + wine.DXVK(); + }) .go(); };