World of Tanks (Wine CSMT for more FPS)

Informations

Creator Message
Ground0

Warning

This installer has not been approved yet by the team.

Informations

Platforms:
Downloads: 0
Wine: System

Feedbacks

Description

World of Tanks is a team-based massively multiplayer online action game dedicated to armored warfare in the middle of the 20th century. Throw yourself into epic tank battles with other steel cowboys all over the world. Your arsenal includes more than 200 armored vehicles from America, the United Kingdom, Germany, France, the Soviet Union and China.

Remark: this script supports all regions but Korea.

Default Installation with Wine 1.7.4-CSMT. It speed up the FPS up to 100% to the 1.7.22 Version. Seperated because some graphic card wouldn't work correctly.

Tested only with OSS Driver Radeon.

Source code

                

Contributions

Filters:

Contribute
Member Message
Quentin PÂRIS Friday 25 July 2014 at 11:38
Quentin PÂRIS
Admin

Message

Is there a way to detect if a graphic card will be compatible or not?

Replies

Friday 25 July 2014 at 11:48
At the moment i din't found a way to detect which graphic card works and not. The only thing i know now is tath the mesa r600 / radeonsi works with Radeon 5400 Series, Radeon 2600 Series and 5800 Series also the R3 Radeon Series in the Kabini APU's. I've no Nvidia Graphic Card to test...
Friday 25 July 2014 at 12:17
Maybe it's to early to integrate it. In that case, the better is to propose this update in the same topic than World of Tanks
Friday 25 July 2014 at 12:50
Hmm i think it's bether to have this Version as a separated. Then if it works, it's much bether to play. 25 -30 FPS to 70 to 90FPS on my dual core machine. A not so high clocked dual or quad core cpu has a heavy increase in graphic performance. Also the ping goes from nearly 100ms down to 25 - 40 ms.
Tuesday 24 February 2015 at 20:55
Would it be possible to detect the card through glxinfo using grep to grab the card and compare it to a list of compatible cards to make sure that it will work? I am sure that some BASH conditional statements could be written to test for stuff like this (similar to how I test for certain things in the WineASIO script.). It could be possible with some work to integrate support for that in.
Ground0 Friday 25 July 2014 at 10:19
Ground0

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Why ever i didn't see the source code window...

Differences

@@ -0,0 +1,67 @@
+#!/bin/bash
+# Date : (2013-02-25)
+# Last revision : (2014-07-25)
+# Distribution used to test : OpenSUSE 13.1
+# Author : Robbz
+# Licence : GPLv3
+# PlayOnLinux:  playonlinux-4.1.9-2
+ 
+# CHANGELOG
+# [Robbz] (2014-2-10)
+#   Update Wine and Patcher fix
+# [Ground0] (2014-07-25)
+#   Better Perfomance with Wine 1.7.4 CSMT (.10 until .19 didn't work because a wine regression)
+#   Not needed installations removed.
+
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="World Of Tanks"
+PREFIX="WorldOfTanks"
+WORKING_WINE_VERSION="1.7.4-CSMT"
+PUBLISHER="BigWorld Technology"
+GAME_URL="http://worldoftanks.com/"
+AUTHOR="Robbz"
+GAME_VMS="256" # https://na.wargaming.net/support/News/NewsItem/View/152/wot-updated-system-requirements
+ 
+# Setup
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+ 
+# Components
+POL_Call POL_Install_ie8
+ 
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS "$GAME_VMS"
+ 
+#Select which version
+POL_SetupWindow_menu "$(eval_gettext 'Which region version of World of Tanks would you like to install? Note: Korea not supported on this installation.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
+[ "$APP_ANSWER" = "North America" ] && REGION="na"
+[ "$APP_ANSWER" = "Europe" ] && REGION="eu"
+[ "$APP_ANSWER" = "Russia" ] && REGION="ru"
+[ "$APP_ANSWER" = "Asia" ] && REGION="asia"
+ 
+# Download
+cd "$WINEPREFIX/drive_c"
+POL_Download "http://redirect.wargaming.net/WoT/latest_web_install_$REGION"
+ 
+POL_SetupWindow_message "$(eval_gettext 'Attention:After installation is complete, the patcher will load. After, go to the top right of the patcher and click the wrench, Then Un-check the box for "Allow Torrent", if this is not done the patcher will crash after 1 minuite. When finished with this, please close the patcher before logging in or finish updating to complete the installation. After this, you can run "$TITLE" when setup is done')" "$TITLE"
+ 
+#Installation
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine start /unix "$WINEPREFIX/drive_c/latest_web_install_$REGION"
+POL_Wine_WaitExit "$TITLE"
+ 
+# Create Shortcuts
+POL_Shortcut "WOTLauncher.exe" "$TITLE"
+ 
+POL_SetupWindow_Close
+ 
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2013-02-25)
# Last revision : (2014-07-25)
# Distribution used to test : OpenSUSE 13.1
# Author : Robbz
# Licence : GPLv3
# PlayOnLinux:  playonlinux-4.1.9-2
 
# CHANGELOG
# [Robbz] (2014-2-10)
#   Update Wine and Patcher fix
# [Ground0] (2014-07-25)
#   Better Perfomance with Wine 1.7.4 CSMT (.10 until .19 didn't work because a wine regression)
#   Not needed installations removed.

 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="World Of Tanks"
PREFIX="WorldOfTanks"
WORKING_WINE_VERSION="1.7.4-CSMT"
PUBLISHER="BigWorld Technology"
GAME_URL="http://worldoftanks.com/"
AUTHOR="Robbz"
GAME_VMS="256" # https://na.wargaming.net/support/News/NewsItem/View/152/wot-updated-system-requirements
 
# Setup
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Components
POL_Call POL_Install_ie8
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS "$GAME_VMS"
 
#Select which version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World of Tanks would you like to install? Note: Korea not supported on this installation.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
[ "$APP_ANSWER" = "North America" ] && REGION="na"
[ "$APP_ANSWER" = "Europe" ] && REGION="eu"
[ "$APP_ANSWER" = "Russia" ] && REGION="ru"
[ "$APP_ANSWER" = "Asia" ] && REGION="asia"
 
# Download
cd "$WINEPREFIX/drive_c"
POL_Download "http://redirect.wargaming.net/WoT/latest_web_install_$REGION"
 
POL_SetupWindow_message "$(eval_gettext 'Attention:After installation is complete, the patcher will load. After, go to the top right of the patcher and click the wrench, Then Un-check the box for "Allow Torrent", if this is not done the patcher will crash after 1 minuite. When finished with this, please close the patcher before logging in or finish updating to complete the installation. After this, you can run "$TITLE" when setup is done')" "$TITLE"
 
#Installation
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$WINEPREFIX/drive_c/latest_web_install_$REGION"
POL_Wine_WaitExit "$TITLE"
 
# Create Shortcuts
POL_Shortcut "WOTLauncher.exe" "$TITLE"
 
POL_SetupWindow_Close
 
exit 0

Replies

Friday 25 July 2014 at 19:07
The installer does not enable the CSMT patch in the registry, is that on purpose?
Anonymous
Tuesday 24 February 2015 at 11:25
CSMT improved performance for mi with an nvidia gt 525m