Jesteś tutaj

Tanki Online

Informations

Creator Wiadmości
rlarjsdn122 Anonymous

Warning

This installer is a beta script. It means that it might not work as expected

Informations

Platforms:
Downloads: 338
Wine: System

Feedbacks

Description

Tanki Online is a popular Russian tank game. Based on Flash player. Wikipedia.

Screenshots

MiniatureMiniature

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

Contributions

Filters:

Contribute
Member Wiadmości
Dadu042 Thursday 23 May 2019 at 9:52
Dadu042
Moderator

Information

This update has been approved by the team.

Wiadmości

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

Odpowiedzi

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

Odpowiedzi