From 61ec4b00ef1978f135195219ab7b6c22de849415 Mon Sep 17 00:00:00 2001 From: Jacob Hrbek Date: Wed, 5 Jun 2019 17:56:30 -0500 Subject: [PATCH 1/2] Add Uplay option for AC1 --- .../Games/Assassin's Creed/Uplay/script.js | 16 ++++++++++++++++ .../Games/Assassin's Creed/Uplay/script.json | 14 ++++++++++++++ .../Games/Assassin's Creed/application.json | 4 ++-- 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 Applications/Games/Assassin's Creed/Uplay/script.js create mode 100644 Applications/Games/Assassin's Creed/Uplay/script.json diff --git a/Applications/Games/Assassin's Creed/Uplay/script.js b/Applications/Games/Assassin's Creed/Uplay/script.js new file mode 100644 index 0000000000..b198129b6a --- /dev/null +++ b/Applications/Games/Assassin's Creed/Uplay/script.js @@ -0,0 +1,16 @@ +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(82) + .go(); + } +}; + +/* exported Installer */ +var Installer = Java.extend(org.phoenicis.scripts.Installer, installerImplementation); diff --git a/Applications/Games/Assassin's Creed/Uplay/script.json b/Applications/Games/Assassin's Creed/Uplay/script.json new file mode 100644 index 0000000000..8dd8238e96 --- /dev/null +++ b/Applications/Games/Assassin's Creed/Uplay/script.json @@ -0,0 +1,14 @@ +{ + "scriptName" : "Uplay", + "id" : "applications.games.assassins_creed.uplay", + "compatibleOperatingSystems" : [ + "MACOSX", + "LINUX" + ], + "testingOperatingSystems" : [ + "MACOSX", + "LINUX" + ], + "free" : false, + "requiresPatch" : false +} diff --git a/Applications/Games/Assassin's Creed/application.json b/Applications/Games/Assassin's Creed/application.json index 1b32545d4c..3703d901a0 100644 --- a/Applications/Games/Assassin's Creed/application.json +++ b/Applications/Games/Assassin's Creed/application.json @@ -1,5 +1,5 @@ { - "name" : "Assassin's Creed™", + "name" : "Assassin's Creed", "id" : "applications.games.assassins_creed", - "description" : "Assassin's Creed™ is the next-gen game developed by Ubisoft Montreal that redefines the action genre. While other games claim to be next-gen with impressive graphics and physics, Assassin's Creed merges technology, game design, theme and emotions into a world where you instigate chaos and become a vulnerable, yet powerful, agent of change.

The setting is 1191 AD. The Third Crusade is tearing the Holy Land apart. You, Altair, intend to stop the hostilities by suppressing both sides of the conflict.You are an Assassin, a warrior shrouded in secrecy and feared for your ruthlessness. Your actions can throw your immediate environment into chaos, and your existence will shape events during this pivotal moment in history." + "description" : "Assassin's Creed is the next-gen game developed by Ubisoft Montreal that redefines the action genre. While other games claim to be next-gen with impressive graphics and physics, Assassin's Creed merges technology, game design, theme and emotions into a world where you instigate chaos and become a vulnerable, yet powerful, agent of change.

The setting is 1191 AD. The Third Crusade is tearing the Holy Land apart. You, Altair, intend to stop the hostilities by suppressing both sides of the conflict.You are an Assassin, a warrior shrouded in secrecy and feared for your ruthlessness. Your actions can throw your immediate environment into chaos, and your existence will shape events during this pivotal moment in history." } From e6f60d2e10d597d7b86e332266445bdfff71dd15 Mon Sep 17 00:00:00 2001 From: Jacob Hrbek Date: Wed, 5 Jun 2019 19:20:29 -0500 Subject: [PATCH 2/2] Added DXVK --- Applications/Games/Assassin's Creed/Steam/script.js | 4 ++++ Applications/Games/Assassin's Creed/Uplay/script.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Applications/Games/Assassin's Creed/Steam/script.js b/Applications/Games/Assassin's Creed/Steam/script.js index e9a36b2032..751f6af6bf 100644 --- a/Applications/Games/Assassin's Creed/Steam/script.js +++ b/Applications/Games/Assassin's Creed/Steam/script.js @@ -1,4 +1,5 @@ include("engines.wine.quick_script.steam_script"); +include("engines.wine.verbs.dxvk"); var installerImplementation = { run: function () { @@ -9,6 +10,9 @@ var installerImplementation = { .wineVersion(LATEST_STAGING_VERSION) .wineDistribution("staging") .appId(15100) + .preInstall(function (wine/*, wizard*/) { + wine.DXVK(); + }) .go(); } }; diff --git a/Applications/Games/Assassin's Creed/Uplay/script.js b/Applications/Games/Assassin's Creed/Uplay/script.js index b198129b6a..0f198ba4d8 100644 --- a/Applications/Games/Assassin's Creed/Uplay/script.js +++ b/Applications/Games/Assassin's Creed/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(82) + .preInstall(function (wine/*, wizard*/) { + wine.DXVK(); + }) .go(); } };