Super Trench Attack!

Informations

Creator Message
Fake Shemp Anonymous

Warning

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

Informations

Platforms:
Downloads: 3054
Wine: 1.7.26

Feedbacks

Description

Super Trench Attack™ is a goofball comedy twitch-shooter based in a World War setting. 2013.

Indiedb.com 

Source code

#!/bin/bash
 
# Date : (2014-09-28 15-07)
# Wine version used : 1.7.26
# Distribution used to test : Mint 17
# Author : Fake Shemp
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Super Trench Attack!"
PREFIX="SuperTrenchAttack"
 
# Latest working Wine version
WORKING_WINE_VERSION="1.7.26"
  
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
# Presentation
POL_SetupWindow_presentation "$TITLE" "Retro Army Limited" "http://www.retroarmy.com/" "Fake Shemp" "$PREFIX"
 
# Select installation file
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select your installation file.')" "$TITLE"
SETUP_EXE="$APP_ANSWER"
 
# Configure Wine
POL_System_SetArch "amd64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
Set_OS "win7"
 
# Install program
POL_Wine start /unix "$SETUP_EXE"
POL_Wine_WaitExit "$TITLE"
 
# Create shortcut
POL_Shortcut "Super Trench Attack.exe" "$TITLE"
 
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
Fake Shemp Monday 29 September 2014 at 22:29
Fake Shemp Anonymous

Information

This update has been approved by the team.

Differences

@@ -0,0 +1,44 @@
+#!/bin/bash
+ 
+# Date : (2014-09-28 15-07)
+# Wine version used : 1.7.26
+# Distribution used to test : Mint 17
+# Author : Fake Shemp
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="Super Trench Attack!"
+PREFIX="SuperTrenchAttack"
+ 
+# Latest working Wine version
+WORKING_WINE_VERSION="1.7.26"
+  
+POL_SetupWindow_Init
+ 
+# Starting debugging API
+POL_Debug_Init
+ 
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "Retro Army Limited" "http://www.retroarmy.com/" "Fake Shemp" "$PREFIX"
+ 
+# Select installation file
+cd "$HOME"
+POL_SetupWindow_browse "$(eval_gettext 'Please select your installation file.')" "$TITLE"
+SETUP_EXE="$APP_ANSWER"
+ 
+# Configure Wine
+POL_System_SetArch "amd64"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+Set_OS "win7"
+ 
+# Install program
+POL_Wine start /unix "$SETUP_EXE"
+POL_Wine_WaitExit "$TITLE"
+ 
+# Create shortcut
+POL_Shortcut "Super Trench Attack.exe" "$TITLE"
+ 
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
 
# Date : (2014-09-28 15-07)
# Wine version used : 1.7.26
# Distribution used to test : Mint 17
# Author : Fake Shemp
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Super Trench Attack!"
PREFIX="SuperTrenchAttack"
 
# Latest working Wine version
WORKING_WINE_VERSION="1.7.26"
  
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
# Presentation
POL_SetupWindow_presentation "$TITLE" "Retro Army Limited" "http://www.retroarmy.com/" "Fake Shemp" "$PREFIX"
 
# Select installation file
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select your installation file.')" "$TITLE"
SETUP_EXE="$APP_ANSWER"
 
# Configure Wine
POL_System_SetArch "amd64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
Set_OS "win7"
 
# Install program
POL_Wine start /unix "$SETUP_EXE"
POL_Wine_WaitExit "$TITLE"
 
# Create shortcut
POL_Shortcut "Super Trench Attack.exe" "$TITLE"
 
POL_SetupWindow_Close
exit

Replies

Quentin PÂRIS Monday 29 September 2014 at 15:23
Quentin PÂRIS
Admin

Message

Please post the source code in the right place

Replies

Anonymous
Monday 29 September 2014 at 22:29
Is there any way I can just include the source code when adding a new program or do I have to add it afterwards?