diff --git a/Applications/Games/Dishonored 2/Steam/script.js b/Applications/Games/Dishonored 2/Steam/script.js new file mode 100644 index 0000000000..09a7c0e84c --- /dev/null +++ b/Applications/Games/Dishonored 2/Steam/script.js @@ -0,0 +1,33 @@ +include(["engines", "wine", "quick_script", "steam_script"]); +include(["engines", "wine", "verbs", "xact"]); +include(["engines", "wine", "verbs", "corefonts"]); +include(["engines", "wine", "verbs", "dxvk"]); +include(["engines", "wine", "plugins", "windows_version"]); + +// Expected to run winesteam on wine-staging (wine untested) on 3.21+ (untested) with xact,dxvk,coreconts dependencies +// Has complicated shaders which are causing an issues (on AMDGPU?) (https://github.com/ValveSoftware/Proton/issues/823) +var installerImplementation = { + run: function () { + new SteamScript() + .name("Dishonored 2") + .category("Games") + .editor("Arkane Studios") + .applicationHomepage("https://dishonored.bethesda.net/") + .author("Kreyren") + .appId(403640) + .executable("Steam.exe", ["-silent", "-applaunch", 123456, "+com_showLoadingScreen 0"]) // Verify + .wineDistribution("staging") + .wineArchitecture("amd64") + .wineVersion(LATEST_STAGING_VERSION) + .preInstall(function (wine /*, wizard*/) { + wine.windowsVersion("win7"); + wine.xact(); + wine.DXVK(); + wine.corefonts(); + }) + .go(); + } +}; + +/* exported Installer */ +var Installer = Java.extend(org.phoenicis.scripts.Installer, installerImplementation); diff --git a/Applications/Games/Dishonored 2/Steam/script.json b/Applications/Games/Dishonored 2/Steam/script.json new file mode 100644 index 0000000000..df3d0bb9fd --- /dev/null +++ b/Applications/Games/Dishonored 2/Steam/script.json @@ -0,0 +1,14 @@ +{ + "scriptName" : "Steam", + "id" : "steam", + "compatibleOperatingSystems" : [ + "MACOSX", + "LINUX" + ], + "testingOperatingSystems" : [ + "MACOSX", + "LINUX" + ], + "free" : false, + "requiresPatch" : false +} diff --git a/Applications/Games/Dishonored 2/application.json b/Applications/Games/Dishonored 2/application.json new file mode 100644 index 0000000000..3658800117 --- /dev/null +++ b/Applications/Games/Dishonored 2/application.json @@ -0,0 +1,5 @@ +{ + "name" : "Dishonored 2", + "id" : "dishonored_2", + "description" : "Dishonored 2 is an action-adventure video game developed by Arkane Studios and published by Bethesda Softworks. The game takes place in the fictional city of Karnaca. After Empress Emily Kaldwin is deposed by the witch Delilah Copperspoon, the player may choose between playing as either Emily or her Royal Protector and father Corvo Attano as they attempt to reclaim the throne. Both Emily and Corvo employ their own array of supernatural abilities, though the player can alternatively decide to forfeit these abilities altogether. There is a multitude of ways to complete missions, from stealth to purposeful violent conflict, navigated through a sandbox environment." +} \ No newline at end of file