Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
update
  • Loading branch information
Jacob Hrbek committed Jan 25, 2019
commit 60cf3ae36a00a635ad36c63b924219fb486d8f23
26 changes: 11 additions & 15 deletions Applications/Games/Dishonored 2/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,34 +1,30 @@
include(["engines", "wine", "plugins", "windows_version"]);
include(["engines", "wine", "quick_script", "steam_script"]);
include(["engines", "wine", "verbs", "xact"]);
include(["engines", "wine", "verbs", "corefonts"]);
include(["engines", "wine", "verbs", "steam"]); // Sane? Expected winesteam
include(["engines", "wine", "shortcuts", "wine"]); // Sane? Dunno

// TODO : Executable on the game to prevent openning steam.
// TODO : Add `+com_showLoadingScreen 0` in launch options to prevent annoying loading screens

// Installs Dishonored 2
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 CustomInstallerScript()
new SteamScript()
.name("Dishonored 2")
.category("Games")
.editor("Arkane Studios")
.applicationHomepage("https://dishonored.bethesda.net/")
.author("kreyren")
.publisher("Bethesda Softworks") // Not mensioned, but seems sane
.author("Kreyren")
.appId(403640)
.category("Games")
.executable("Steam.exe", ["-silent", "-applaunch", 123456, "+com_showLoadingScreen 0"]) // Verify
.wineDistribution("staging")
.wineVersion(LATEST_STAGING_VERSION)
.preInstall(function (wine /*, wizard*/) {
wine.windowsVersion("win7");
wine.xact();
wine.dxvk();
wine.coreconts();
wine.steam();
})
wine.corefonts();
.go();
}
};

/* exported Installer */
Expand Down