Tanki Online

Informations

Creator Message
rlarjsdn122 Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 4444
Wine: System

Feedbacks

Description

Tanki Online is a popular Russian tank fight (as a web game), 2009. Wikipedia.

This script does download and install the game (+ Flash Player).

Screenshots

MiniatureMiniature

Source code

#!/usr/bin/env playonlinux-bash
# Date : 2017-11-26
# Last revision : see changelog
# Wine version used : system
# Distribution used to test : Ubuntu 18.04
# Author : rlarjsdn122
# Script licence : GPLv3
# Program licence : AlternativaPlatform

# CHANGELOG
# [rlarjsdn122] (2017-11-26)
#   Initial script.
# [Dadu042] (2019-05-15 09-49)
#   Set category.
# [Dadu042] (2020-01-05 20-48)
#   Fix typo.
#   Fix category.
# [Dadu042] (2020-06-15 20-48)
#   Add POL_Wine_WaitExit
#   VMS: 512 -> 256


# Depend :
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Tanki Online"
PREFIX="tanki"
  
POL_SetupWindow_Init

POL_SetupWindow_presentation "$TITLE" "AlternativaPlatform" "http://tankionline.com/" "rlarjsdn122" "$PREFIX"

POL_SetupWindow_Init

POL_SetupWindow_message "Hello, Tanker! Welcome to installation of Tanki Online client for Linux.\nYou can connect to Tanki with web-browser.\nInstall this, if you do not want to play Tanki with web browser." "Welcome"

POL_System_TmpCreate "tankitmp"

POL_Wine_SelectPrefix "$PREFIX"

cd "$POL_System_TmpDir"

POL_Download "http://s.eu.tankionline.com/resources/client/1/tankionline-eu.exe" "00eea89dd08a5c134f3f26cf6818344d"

INSTALLER="$POL_System_TmpDir/tankionline-eu.exe"

POL_Wine_PrefixCreate
POL_SetupWindow_VMS "256"

POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43
POL_Call POL_Install_flashplayer
POL_Call POL_Install_AdobeAir

POL_SetupWindow_wait "Please wait" "Installation in progress"
POL_Wine "$INSTALLER"
POL_Wine_WaitExit "$TITLE"
  
POL_System_TmpDelete
  
POL_Shortcut "Tanki Online.exe" "Tanki Online" "" "" "Game;ActionGame;"
  
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
Dadu042 Monday 15 June 2020 at 16:20
Dadu042

Information

This update has been approved by the team.

Differences

@@ -15,6 +15,10 @@
 # [Dadu042] (2020-01-05 20-48)
 #   Fix typo.
 #   Fix category.
+# [Dadu042] (2020-06-15 20-48)
+#   Add POL_Wine_WaitExit
+#   VMS: 512 -> 256
+
 
 # Depend :
 [ "$PLAYONLINUX" = "" ] && exit 0
@@ -42,7 +46,7 @@
 INSTALLER="$POL_System_TmpDir/tankionline-eu.exe"
 
 POL_Wine_PrefixCreate
-POL_SetupWindow_VMS "512"
+POL_SetupWindow_VMS "256"
 
 POL_Call POL_Install_corefonts
 POL_Call POL_Install_d3dx9
@@ -52,6 +56,7 @@
 
 POL_SetupWindow_wait "Please wait" "Installation in progress"
 POL_Wine "$INSTALLER"
+POL_Wine_WaitExit "$TITLE"
   
 POL_System_TmpDelete
   

New source code

#!/usr/bin/env playonlinux-bash
# Date : 2017-11-26
# Last revision : see changelog
# Wine version used : system
# Distribution used to test : Ubuntu 18.04
# Author : rlarjsdn122
# Script licence : GPLv3
# Program licence : AlternativaPlatform

# CHANGELOG
# [rlarjsdn122] (2017-11-26)
#   Initial script.
# [Dadu042] (2019-05-15 09-49)
#   Set category.
# [Dadu042] (2020-01-05 20-48)
#   Fix typo.
#   Fix category.
# [Dadu042] (2020-06-15 20-48)
#   Add POL_Wine_WaitExit
#   VMS: 512 -> 256


# Depend :
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Tanki Online"
PREFIX="tanki"
  
POL_SetupWindow_Init

POL_SetupWindow_presentation "$TITLE" "AlternativaPlatform" "http://tankionline.com/" "rlarjsdn122" "$PREFIX"

POL_SetupWindow_Init

POL_SetupWindow_message "Hello, Tanker! Welcome to installation of Tanki Online client for Linux.\nYou can connect to Tanki with web-browser.\nInstall this, if you do not want to play Tanki with web browser." "Welcome"

POL_System_TmpCreate "tankitmp"

POL_Wine_SelectPrefix "$PREFIX"

cd "$POL_System_TmpDir"

POL_Download "http://s.eu.tankionline.com/resources/client/1/tankionline-eu.exe" "00eea89dd08a5c134f3f26cf6818344d"

INSTALLER="$POL_System_TmpDir/tankionline-eu.exe"

POL_Wine_PrefixCreate
POL_SetupWindow_VMS "256"

POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43
POL_Call POL_Install_flashplayer
POL_Call POL_Install_AdobeAir

POL_SetupWindow_wait "Please wait" "Installation in progress"
POL_Wine "$INSTALLER"
POL_Wine_WaitExit "$TITLE"
  
POL_System_TmpDelete
  
POL_Shortcut "Tanki Online.exe" "Tanki Online" "" "" "Game;ActionGame;"
  
POL_SetupWindow_Close
exit

Replies

Dadu042 Sunday 5 January 2020 at 20:50
Dadu042

Warning

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

Differences

@@ -1,6 +1,6 @@
 #!/usr/bin/env playonlinux-bash
 # Date : 2017-11-26
-# Last revision : Current Version
+# Last revision : see changelog
 # Wine version used : system
 # Distribution used to test : Ubuntu 18.04
 # Author : rlarjsdn122
@@ -8,10 +8,13 @@
 # Program licence : AlternativaPlatform
 
 # CHANGELOG
+# [rlarjsdn122] (2017-11-26)
+#   Initial script.
 # [Dadu042] (2019-05-15 09-49)
 #   Set category.
-# [rlarjsdn122] (2017-11-266)
-#   Initial script.
+# [Dadu042] (2020-01-05 20-48)
+#   Fix typo.
+#   Fix category.
 
 # Depend :
 [ "$PLAYONLINUX" = "" ] && exit 0
@@ -52,7 +55,7 @@
   
 POL_System_TmpDelete
   
-POL_Shortcut "Tanki Online.exe" "Tanki Online" "Game;ActionGame;"
+POL_Shortcut "Tanki Online.exe" "Tanki Online" "" "" "Game;ActionGame;"
   
 POL_SetupWindow_Close
 exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : 2017-11-26
# Last revision : see changelog
# Wine version used : system
# Distribution used to test : Ubuntu 18.04
# Author : rlarjsdn122
# Script licence : GPLv3
# Program licence : AlternativaPlatform

# CHANGELOG
# [rlarjsdn122] (2017-11-26)
#   Initial script.
# [Dadu042] (2019-05-15 09-49)
#   Set category.
# [Dadu042] (2020-01-05 20-48)
#   Fix typo.
#   Fix category.

# Depend :
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Tanki Online"
PREFIX="tanki"
  
POL_SetupWindow_Init

POL_SetupWindow_presentation "$TITLE" "AlternativaPlatform" "http://tankionline.com/" "rlarjsdn122" "$PREFIX"

POL_SetupWindow_Init

POL_SetupWindow_message "Hello, Tanker! Welcome to installation of Tanki Online client for Linux.\nYou can connect to Tanki with web-browser.\nInstall this, if you do not want to play Tanki with web browser." "Welcome"

POL_System_TmpCreate "tankitmp"

POL_Wine_SelectPrefix "$PREFIX"

cd "$POL_System_TmpDir"

POL_Download "http://s.eu.tankionline.com/resources/client/1/tankionline-eu.exe" "00eea89dd08a5c134f3f26cf6818344d"

INSTALLER="$POL_System_TmpDir/tankionline-eu.exe"

POL_Wine_PrefixCreate
POL_SetupWindow_VMS "512"

POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43
POL_Call POL_Install_flashplayer
POL_Call POL_Install_AdobeAir

POL_SetupWindow_wait "Please wait" "Installation in progress"
POL_Wine "$INSTALLER"
  
POL_System_TmpDelete
  
POL_Shortcut "Tanki Online.exe" "Tanki Online" "" "" "Game;ActionGame;"
  
POL_SetupWindow_Close
exit

Replies

Dadu042 Thursday 23 May 2019 at 9:52
Dadu042

Warning

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

Message

I fixed POL's Adobe Flash that did not work anymore (because Hash mismatch).   See also changelog in the script.

Differences

@@ -1,51 +1,58 @@
 #!/usr/bin/env playonlinux-bash
 # Date : 2017-11-26
 # Last revision : Current Version
-# Wine version used : 1.7.55
-# Distribution used to test : Ubuntu 10.04 LTS
+# Wine version used : system
+# Distribution used to test : Ubuntu 18.04
 # Author : rlarjsdn122
 # Script licence : GPLv3
 # Program licence : AlternativaPlatform
- 
+
+# CHANGELOG
+# [Dadu042] (2019-05-15 09-49)
+#   Set category.
+# [rlarjsdn122] (2017-11-266)
+#   Initial script.
+
 # Depend :
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+  
 TITLE="Tanki Online"
 PREFIX="tanki"
- 
+  
 POL_SetupWindow_Init
- 
+
 POL_SetupWindow_presentation "$TITLE" "AlternativaPlatform" "http://tankionline.com/" "rlarjsdn122" "$PREFIX"
- 
+
 POL_SetupWindow_Init
- 
-POL_SetupWindow_message "Hello, Tanker! Welcome to installation of Tanki Online client for Linux.\nYou can connect to Tanki with web-browser.\nInstall this, if you do not want to play Tanki with browser." "Welcome"
- 
+
+POL_SetupWindow_message "Hello, Tanker! Welcome to installation of Tanki Online client for Linux.\nYou can connect to Tanki with web-browser.\nInstall this, if you do not want to play Tanki with web browser." "Welcome"
+
 POL_System_TmpCreate "tankitmp"
- 
+
 POL_Wine_SelectPrefix "$PREFIX"
- 
+
 cd "$POL_System_TmpDir"
- 
+
 POL_Download "http://s.eu.tankionline.com/resources/client/1/tankionline-eu.exe" "00eea89dd08a5c134f3f26cf6818344d"
- 
+
 INSTALLER="$POL_System_TmpDir/tankionline-eu.exe"
- 
+
 POL_Wine_PrefixCreate
 POL_SetupWindow_VMS "512"
+
 POL_Call POL_Install_corefonts
 POL_Call POL_Install_d3dx9
 POL_Call POL_Install_d3dcompiler_43
 POL_Call POL_Install_flashplayer
 POL_Call POL_Install_AdobeAir
- 
+
 POL_SetupWindow_wait "Please wait" "Installation in progress"
 POL_Wine "$INSTALLER"
- 
+  
 POL_System_TmpDelete
- 
-POL_Shortcut "Tanki Online.exe" "Tanki Online"
- 
+  
+POL_Shortcut "Tanki Online.exe" "Tanki Online" "Game;ActionGame;"
+  
 POL_SetupWindow_Close
 exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : 2017-11-26
# Last revision : Current Version
# Wine version used : system
# Distribution used to test : Ubuntu 18.04
# Author : rlarjsdn122
# Script licence : GPLv3
# Program licence : AlternativaPlatform

# CHANGELOG
# [Dadu042] (2019-05-15 09-49)
#   Set category.
# [rlarjsdn122] (2017-11-266)
#   Initial script.

# Depend :
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Tanki Online"
PREFIX="tanki"
  
POL_SetupWindow_Init

POL_SetupWindow_presentation "$TITLE" "AlternativaPlatform" "http://tankionline.com/" "rlarjsdn122" "$PREFIX"

POL_SetupWindow_Init

POL_SetupWindow_message "Hello, Tanker! Welcome to installation of Tanki Online client for Linux.\nYou can connect to Tanki with web-browser.\nInstall this, if you do not want to play Tanki with web browser." "Welcome"

POL_System_TmpCreate "tankitmp"

POL_Wine_SelectPrefix "$PREFIX"

cd "$POL_System_TmpDir"

POL_Download "http://s.eu.tankionline.com/resources/client/1/tankionline-eu.exe" "00eea89dd08a5c134f3f26cf6818344d"

INSTALLER="$POL_System_TmpDir/tankionline-eu.exe"

POL_Wine_PrefixCreate
POL_SetupWindow_VMS "512"

POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43
POL_Call POL_Install_flashplayer
POL_Call POL_Install_AdobeAir

POL_SetupWindow_wait "Please wait" "Installation in progress"
POL_Wine "$INSTALLER"
  
POL_System_TmpDelete
  
POL_Shortcut "Tanki Online.exe" "Tanki Online" "Game;ActionGame;"
  
POL_SetupWindow_Close
exit

Replies

rlarjsdn122 Tuesday 2 January 2018 at 16:20
rlarjsdn122 Anonymous

Warning

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

Differences

@@ -0,0 +1,51 @@
+#!/usr/bin/env playonlinux-bash
+# Date : 2017-11-26
+# Last revision : Current Version
+# Wine version used : 1.7.55
+# Distribution used to test : Ubuntu 10.04 LTS
+# Author : rlarjsdn122
+# Script licence : GPLv3
+# Program licence : AlternativaPlatform
+ 
+# Depend :
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="Tanki Online"
+PREFIX="tanki"
+ 
+POL_SetupWindow_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "AlternativaPlatform" "http://tankionline.com/" "rlarjsdn122" "$PREFIX"
+ 
+POL_SetupWindow_Init
+ 
+POL_SetupWindow_message "Hello, Tanker! Welcome to installation of Tanki Online client for Linux.\nYou can connect to Tanki with web-browser.\nInstall this, if you do not want to play Tanki with browser." "Welcome"
+ 
+POL_System_TmpCreate "tankitmp"
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+ 
+cd "$POL_System_TmpDir"
+ 
+POL_Download "http://s.eu.tankionline.com/resources/client/1/tankionline-eu.exe" "00eea89dd08a5c134f3f26cf6818344d"
+ 
+INSTALLER="$POL_System_TmpDir/tankionline-eu.exe"
+ 
+POL_Wine_PrefixCreate
+POL_SetupWindow_VMS "512"
+POL_Call POL_Install_corefonts
+POL_Call POL_Install_d3dx9
+POL_Call POL_Install_d3dcompiler_43
+POL_Call POL_Install_flashplayer
+POL_Call POL_Install_AdobeAir
+ 
+POL_SetupWindow_wait "Please wait" "Installation in progress"
+POL_Wine "$INSTALLER"
+ 
+POL_System_TmpDelete
+ 
+POL_Shortcut "Tanki Online.exe" "Tanki Online"
+ 
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : 2017-11-26
# Last revision : Current Version
# Wine version used : 1.7.55
# Distribution used to test : Ubuntu 10.04 LTS
# Author : rlarjsdn122
# Script licence : GPLv3
# Program licence : AlternativaPlatform
 
# Depend :
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Tanki Online"
PREFIX="tanki"
 
POL_SetupWindow_Init
 
POL_SetupWindow_presentation "$TITLE" "AlternativaPlatform" "http://tankionline.com/" "rlarjsdn122" "$PREFIX"
 
POL_SetupWindow_Init
 
POL_SetupWindow_message "Hello, Tanker! Welcome to installation of Tanki Online client for Linux.\nYou can connect to Tanki with web-browser.\nInstall this, if you do not want to play Tanki with browser." "Welcome"
 
POL_System_TmpCreate "tankitmp"
 
POL_Wine_SelectPrefix "$PREFIX"
 
cd "$POL_System_TmpDir"
 
POL_Download "http://s.eu.tankionline.com/resources/client/1/tankionline-eu.exe" "00eea89dd08a5c134f3f26cf6818344d"
 
INSTALLER="$POL_System_TmpDir/tankionline-eu.exe"
 
POL_Wine_PrefixCreate
POL_SetupWindow_VMS "512"
POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43
POL_Call POL_Install_flashplayer
POL_Call POL_Install_AdobeAir
 
POL_SetupWindow_wait "Please wait" "Installation in progress"
POL_Wine "$INSTALLER"
 
POL_System_TmpDelete
 
POL_Shortcut "Tanki Online.exe" "Tanki Online"
 
POL_SetupWindow_Close
exit

Replies

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com