Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update DXVK to version 0.81 #694

Merged
merged 13 commits into from
Oct 11, 2018
Merged
15 changes: 12 additions & 3 deletions Engines/Wine/Verbs/DXVK/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ Wine.prototype.DXVK = function () {
print("NOTE: you need a driver that supports Vulkan enough to run DXVK");
print("NOTE: wine version should be greater or equal to 3.5");

var dxvkVersion = "0.53";
var dxvkVersion = "0.81";

var setupFile = new Resource()
.wizard(this.wizard())
.url("https://github.com/doitsujin/dxvk/releases/download/v" + dxvkVersion + "/dxvk-" + dxvkVersion + ".tar.gz")
.checksum("df448f1a7b842773f4d826a86eeba44c937187b0")
.checksum("76af765dfeebc6ba7922ad32968babfa92e15fb1")
.name("dxvk-" + dxvkVersion + ".tar.gz")
.get();

Expand All @@ -31,18 +31,27 @@ Wine.prototype.DXVK = function () {
if (this.architecture() == "x86") {
cp(dxvkTmpDir + "/x32/d3d11.dll", this.system32directory());
cp(dxvkTmpDir + "/x32/dxgi.dll", this.system32directory());
cp(dxvkTmpDir + "/x32/d3d10core.dll", this.system32directory());
cp(dxvkTmpDir + "/x32/d3d10.dll", this.system32directory());
cp(dxvkTmpDir + "/x32/d3d10_1.dll", this.system32directory());
}

if (this.architecture() == "amd64") {
cp(dxvkTmpDir + "/x32/d3d11.dll", this.system64directory());
cp(dxvkTmpDir + "/x32/dxgi.dll", this.system64directory());
cp(dxvkTmpDir + "/x32/d3d10core.dll", this.system64directory());
cp(dxvkTmpDir + "/x32/d3d10.dll", this.system64directory());
cp(dxvkTmpDir + "/x32/d3d10_1.dll", this.system64directory());

cp(dxvkTmpDir + "/x64/d3d11.dll", this.system32directory());
cp(dxvkTmpDir + "/x64/dxgi.dll", this.system32directory());
cp(dxvkTmpDir + "/x64/d3d10core.dll", this.system32directory());
cp(dxvkTmpDir + "/x64/d3d10.dll", this.system32directory());
cp(dxvkTmpDir + "/x64/d3d10_1.dll", this.system32directory());
}

this.overrideDLL()
.set("native", ["d3d11", "dxgi"])
.set("native", ["d3d11", "dxgi", "d3d10", "d3d10_1", "d3d10core"])
.do();

remove(this.prefixDirectory() + "/TMP/");
Expand Down