Skip to content

Commit

Permalink
Script optimization
Browse files Browse the repository at this point in the history
Line 86 - Obsolete? Recommends disabling, requires further testing.

Added dependencies, requesting verification for code sanity Line 88~93.
88 - reference: https://appdb.winehq.org/objectManager.php?sClass=version&iId=36323
89 - mandatory for fonts
90+91 - Improves performance based on my test results
92 - Fixes lagging launcher -> mandatory

Requesting Wine Staging+Gallium9 patches on line 82. -> DXVK triggers anti-cheat (doitsujin/dxvk#835) and game running on OpenGL has terrible performance. -> Gallium9 improves performance by +- 20%
  • Loading branch information
Kreyren authored and Jacob Hrbek committed Jan 9, 2019
1 parent d1b4db4 commit 3511278
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Applications/Games/League of Legends/Online/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,17 @@ var installerImplementation = {
})
.category("Games")
.wineDistribution("staging")
.wineVersion(LATEST_STAGING_VERSION)
.wineVersion(LATEST_STAGING_VERSION) // TODO: Gallium9 patchset
.preInstall(function (wine /*, wizard*/) {
wine.windowsVersion("winxp");
wine.d3dx9();
wine.overrideDLL().set("native, builtin", ["atl120", "msvcp120", "msvcr120", "vcomp120", "msvcp140"]).do();
// wine.overrideDLL().set("native, builtin", ["atl120", "msvcp120", "msvcr120", "vcomp120", "msvcp140"]).do(); // Obsolete?
wine.enableCSMT();
wine.disableGLSL(); // Needs approval + recommended by WineHQ
wine.corefonts(); // Needs approval + mandatory for fonts
wine.vcrun2008(); // Needs approval
wine.vcrun2017(); // Needs approval
wine.adobeair(); // Needs approval + mandatory for launcher

mkdir(wine.prefixDirectory() + "drive_c/LoL");

Expand Down

0 comments on commit 3511278

Please sign in to comment.