From 08a2e1f475629599ff765834e25104ffd4895b68 Mon Sep 17 00:00:00 2001 From: Zemogiter Date: Sun, 5 Jan 2020 14:17:55 +0100 Subject: [PATCH 1/3] Update script.js --- Applications/Games/Total War Rome II/Steam/script.js | 1 - 1 file changed, 1 deletion(-) diff --git a/Applications/Games/Total War Rome II/Steam/script.js b/Applications/Games/Total War Rome II/Steam/script.js index c543a6bd9d..1c2b17e0ce 100644 --- a/Applications/Games/Total War Rome II/Steam/script.js +++ b/Applications/Games/Total War Rome II/Steam/script.js @@ -22,7 +22,6 @@ new SteamScript() wizard.message( tr( "If you are experiencing issues with game (e.g. it crashes at start or rendering is broken), you can try to enable de OpenGL renderer, by modifying :\n\n gfx_device_type to 2\n\n in the {0}/drive_c/users/USERNAME/Application Data/The Creative Assembly/Rome2/scripts/preferences_script.txt", - wine.prefixDirectory ) ); //N.B. : maybe need "LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1" for terrain glitches (OpenGL Mode) From f634320600c7293f8f015e08acc3b5cd4b77ef72 Mon Sep 17 00:00:00 2001 From: Zemogiter Date: Sun, 5 Jan 2020 15:37:48 +0100 Subject: [PATCH 2/3] Update script.js --- Applications/Games/Total War Rome II/Steam/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/Games/Total War Rome II/Steam/script.js b/Applications/Games/Total War Rome II/Steam/script.js index 1c2b17e0ce..a05842e55d 100644 --- a/Applications/Games/Total War Rome II/Steam/script.js +++ b/Applications/Games/Total War Rome II/Steam/script.js @@ -21,7 +21,7 @@ new SteamScript() wizard.message( tr( - "If you are experiencing issues with game (e.g. it crashes at start or rendering is broken), you can try to enable de OpenGL renderer, by modifying :\n\n gfx_device_type to 2\n\n in the {0}/drive_c/users/USERNAME/Application Data/The Creative Assembly/Rome2/scripts/preferences_script.txt", + "If you are experiencing issues with game (e.g. it crashes at start or rendering is broken), you can try to enable de OpenGL renderer, by modifying :\n\n gfx_device_type to 2\n\n in the wine.prefixDirectory()/drive_c/users/USERNAME/Application Data/The Creative Assembly/Rome2/scripts/preferences_script.txt", ) ); //N.B. : maybe need "LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1" for terrain glitches (OpenGL Mode) From 913702a467d67fb551d3e1ded1d8ecc4df90b762 Mon Sep 17 00:00:00 2001 From: Zemogiter Date: Sun, 5 Jan 2020 17:37:10 +0100 Subject: [PATCH 3/3] Update script.js --- Applications/Games/Total War Rome II/Steam/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/Games/Total War Rome II/Steam/script.js b/Applications/Games/Total War Rome II/Steam/script.js index a05842e55d..4289d6585d 100644 --- a/Applications/Games/Total War Rome II/Steam/script.js +++ b/Applications/Games/Total War Rome II/Steam/script.js @@ -13,6 +13,7 @@ new SteamScript() .appId(214950) .wineVersion(getLatestStagingVersion) .wineDistribution("staging") + .environment('{"__GL_THREADED_OPTIMIZATIONS": "1", "LD_PRELOAD" = "libpthread.so.0 libGL.so.1"}') .postInstall((wine, wizard) => { new D3DX9(wine).go(); new Vcrun2005(wine).go(); @@ -24,5 +25,4 @@ new SteamScript() "If you are experiencing issues with game (e.g. it crashes at start or rendering is broken), you can try to enable de OpenGL renderer, by modifying :\n\n gfx_device_type to 2\n\n in the wine.prefixDirectory()/drive_c/users/USERNAME/Application Data/The Creative Assembly/Rome2/scripts/preferences_script.txt", ) ); - //N.B. : maybe need "LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1" for terrain glitches (OpenGL Mode) });