From 6998578493e002aeab9482842bb71fab58a8b09d Mon Sep 17 00:00:00 2001 From: Jacob Hrbek Date: Wed, 5 Jun 2019 16:53:34 -0500 Subject: [PATCH 1/2] Add uplay option for ACU --- .../Games/Assassin's Creed Unity/Uplay/script.js | 15 +++++++++++++++ .../Assassin's Creed Unity/Uplay/script.json | 12 ++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 Applications/Games/Assassin's Creed Unity/Uplay/script.js create mode 100644 Applications/Games/Assassin's Creed Unity/Uplay/script.json diff --git a/Applications/Games/Assassin's Creed Unity/Uplay/script.js b/Applications/Games/Assassin's Creed Unity/Uplay/script.js new file mode 100644 index 0000000000..afa2523e19 --- /dev/null +++ b/Applications/Games/Assassin's Creed Unity/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(720) + .go(); +}; + +/* exported Installer */ +var Installer = Java.extend(org.phoenicis.scripts.Installer, installerImplementation); diff --git a/Applications/Games/Assassin's Creed Unity/Uplay/script.json b/Applications/Games/Assassin's Creed Unity/Uplay/script.json new file mode 100644 index 0000000000..dfa5262a50 --- /dev/null +++ b/Applications/Games/Assassin's Creed Unity/Uplay/script.json @@ -0,0 +1,12 @@ +{ + "scriptName" : "Steam", + "id" : "applications.games.assassins_creed_unity.steam", + "compatibleOperatingSystems" : [ + "LINUX" + ], + "testingOperatingSystems" : [ + "LINUX" + ], + "free" : false, + "requiresPatch" : false +} From 04f17db5e5413ea4579b8a29156be91ef0181045 Mon Sep 17 00:00:00 2001 From: Jacob Hrbek Date: Wed, 5 Jun 2019 19:28:29 -0500 Subject: [PATCH 2/2] Added DXVK --- Applications/Games/Assassin's Creed Unity/Steam/script.js | 4 ++++ Applications/Games/Assassin's Creed Unity/Uplay/script.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Applications/Games/Assassin's Creed Unity/Steam/script.js b/Applications/Games/Assassin's Creed Unity/Steam/script.js index 236851fb10..510c89ba21 100644 --- a/Applications/Games/Assassin's Creed Unity/Steam/script.js +++ b/Applications/Games/Assassin's Creed Unity/Steam/script.js @@ -1,4 +1,5 @@ include("engines.wine.quick_script.steam_script"); +include("engines.wine.verbs.dxvk"); var installerImplementation = { run: function () { @@ -10,6 +11,9 @@ var installerImplementation = { .wineVersion(LATEST_STAGING_VERSION) .wineDistribution("staging") .wineArchitecture("amd64") + .preInstall(function (wine/*, wizard*/) { + wine.DXVK(); + }) .go(); } }; diff --git a/Applications/Games/Assassin's Creed Unity/Uplay/script.js b/Applications/Games/Assassin's Creed Unity/Uplay/script.js index afa2523e19..ff6c6aa5f0 100644 --- a/Applications/Games/Assassin's Creed Unity/Uplay/script.js +++ b/Applications/Games/Assassin's Creed Unity/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(720) + .preInstall(function (wine/*, wizard*/) { + wine.DXVK(); + }) .go(); };