Tanki Online

Informations

Créateur Messages
rlarjsdn122 Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 4444
Wine: System

Retours d'expérience

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).

Captures d'écran

MiniatureMiniature

Code source

#!/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:

Contribuer
Membre Messages
Dadu042 Lundi 15 Juin 2020 à 16:20
Dadu042

Information

Cette mise à jour a été acceptée par l'équipe

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
   

Nouveau code source

#!/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

Réponses

Dadu042 Dimanche 5 Janvier 2020 à 20:50
Dadu042

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

Dadu042 Jeudi 23 Mai 2019 à 9:52
Dadu042

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

rlarjsdn122 Mardi 2 Janvier 2018 à 16:20
rlarjsdn122 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

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