Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions Applications/Games/Dishonored 2/Steam/script.js
Original file line number Diff line number Diff line change
@@ -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)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The application works with 32 bits wine ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ImperatorS79 Not tested, unlikely

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So where is wineArchitecture("amd64") ?

.preInstall(function (wine /*, wizard*/) {
wine.windowsVersion("win7");
wine.xact();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it work if you switch xact for FAudio ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ImperatorS79 Untested, no issues on xact that i know of.

wine.DXVK();
wine.corefonts();
})
.go();
}
};

/* exported Installer */
var Installer = Java.extend(org.phoenicis.scripts.Installer, installerImplementation);
14 changes: 14 additions & 0 deletions Applications/Games/Dishonored 2/Steam/script.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"scriptName" : "Steam",
"id" : "steam",
"compatibleOperatingSystems" : [
"MACOSX",
"LINUX"
],
"testingOperatingSystems" : [
"MACOSX",
"LINUX"
],
"free" : false,
"requiresPatch" : false
}
5 changes: 5 additions & 0 deletions Applications/Games/Dishonored 2/application.json
Original file line number Diff line number Diff line change
@@ -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."
}