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

Merge Phoenicis/Scripts:master into ImperatorS79/Scripts:master #1

Merged
merged 34 commits into from
Aug 28, 2017
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
3a52036
Updated The Vanishing of Ethan Carter Redux (new Wine version) (#347)
plata Aug 18, 2017
d6fab30
Updated The Turing Test (new Wine version) (#346)
plata Aug 18, 2017
61a3663
Updated Rayman Legends (new Wine version) (#345)
plata Aug 18, 2017
5bfa5bd
Updated Assassin's Creed II (new Wine version) (#344)
plata Aug 18, 2017
658c7c7
Updated Assassin's Creed Brotherhood (new Wine version) (#343)
plata Aug 18, 2017
391532f
Added Assassin's Creed Unity (#342)
plata Aug 18, 2017
7d73400
updated SteamScript to cache path of manifest file (#341)
plata Aug 19, 2017
d86d4bf
updated Downloader with ifUpdateAvailable (#328)
plata Aug 19, 2017
a4431b2
updated German translations (#349)
plata Aug 19, 2017
12eaf4d
set wineprefix path from js (#350)
plata Aug 19, 2017
4960f56
Udpated Star Wars Empire At War (#351)
ImperatorS79 Aug 19, 2017
2ed068f
Added Tom Clancy's Rainbow Six 3 (#352)
ImperatorS79 Aug 19, 2017
5e4e41d
added registry functions to Wine (for GL version, CSMT, GLSL, DirectD…
ImperatorS79 Aug 20, 2017
b592cc7
added The Witcher 3 (#353)
ImperatorS79 Aug 20, 2017
0d7b170
updated League of Legends (set to "testing") (#355)
madoar Aug 20, 2017
c6efa28
updated Unholy Heights: set Wine version to 2.14 staging (#356)
madoar Aug 20, 2017
3c2490b
updated Warlock - Master of the Arcane: set wine version to 2.14 (#357)
madoar Aug 20, 2017
61739a0
fixed Wine prefix path (#358)
plata Aug 21, 2017
c76709b
Added Oblivion (#360)
ImperatorS79 Aug 21, 2017
e0ac28c
added DOOM (2016) (#359)
ImperatorS79 Aug 22, 2017
69f703f
added MS Office 2013 (#363)
ImperatorS79 Aug 22, 2017
8f431a6
updated Microsoft Office 2013 (fixed typo) (#366)
plata Aug 23, 2017
0e6424d
added BRINK (#367)
plata Aug 23, 2017
8efeb78
updated Wine shortcut runner (do not wait until process finished) (#368)
plata Aug 23, 2017
190ade7
added The Crew (#370)
plata Aug 24, 2017
4f5dc3e
write Wine log to separate log file (#371)
plata Aug 24, 2017
36abce0
show miniature when installing an application (#372)
plata Aug 26, 2017
773b427
better naming for engine installations (#373)
plata Aug 26, 2017
c701200
added Styx: Shards of Darkness (#375)
plata Aug 27, 2017
28629cb
Unified setup wizards (#374)
plata Aug 27, 2017
fca0186
updated Wine shortcut to specify miniature URI (#376)
plata Aug 28, 2017
3682413
updated Blizzard app (fixed download URL) (#378)
plata Aug 28, 2017
e08280d
Updated corefonts (new URL) (#380)
ImperatorS79 Aug 28, 2017
146bc74
added Hearthstone (#381)
ImperatorS79 Aug 28, 2017
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
added registry functions to Wine (for GL version, CSMT, GLSL, DirectD…
…rawRenderer) (PhoenicisOrg#354)
ImperatorS79 authored and plata committed Aug 20, 2017
commit 5e4e41d3ba6fc06e834d8734c51a305345eaf825
60 changes: 60 additions & 0 deletions Engines/Wine/Engine/Object/script.js
Original file line number Diff line number Diff line change
@@ -645,6 +645,66 @@ Wine.prototype.setSoundDriver = function (driver) {
return this;
};

/**
* sets OpenGL max core version
* @param {number} major
* @param {number} minor
* @returns {Wine}
*/
Wine.prototype.setVersionGL = function (major, minor) {
var regeditFileContent =
"REGEDIT4\n" +
"\n" +
"[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]\n" +
"\"MaxVersionGL\"=dword:000"+ major + "000" + minor
this.regedit().patch(regeditFileContent);
return this;
};

/**
* enable command stream multi-threading
* @returns {Wine}
*/
Wine.prototype.enableCSMT = function () {
var regeditFileContent =
"REGEDIT4\n" +
"\n" +
"[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]\n" +
"\"csmt\"=dword:1"
this.regedit().patch(regeditFileContent);
return this;
};

/**
* force the Use of GLSL
* @param mode {enabled, disabled}
* @returns {Wine}
*/
Wine.prototype.UseGLSL = function (mode) {
var regeditFileContent =
"REGEDIT4\n" +
"\n" +
"[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]\n" +
"\"UseGLSL\"=\"" + mode + "\""
this.regedit().patch(regeditFileContent);
return this;
};

/**
* force the DirectDrawRenderer
* @param mode {gdi,opengl}
* @returns {Wine}
*/
Wine.prototype.DirectDrawRenderer = function (mode) {
var regeditFileContent =
"REGEDIT4\n" +
"\n" +
"[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]\n" +
"\"DirectDrawRenderer\"=\"" + mode + "\""
this.regedit().patch(regeditFileContent);
return this;
};

/**
* sets Virtual Desktop with window resolution
* @param {number} width