diff --git a/Applications/Games/Total War Rome II/Steam/script.js b/Applications/Games/Total War Rome II/Steam/script.js index c543a6bd9d..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(); @@ -21,9 +22,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", - wine.prefixDirectory + "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) });