GOG.com - Xenonauts

Informations

Créateur Messages
Okto Anonymous

Information

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

Informations

Plate-formes :
Téléchargements : 6918
Wine: 1.7.34

Retours d'expérience

Description

A sci-fi strategy game made by Goldhawk Interactive.

Captures d'écran

MiniatureMiniature

Code source

#!/bin/bash
# Date : (2015-04-17 16-37)
# Wine version used : 1.7.34
# Distribution used to test : OpenSUSE 13.2
# Author : Benjamin Hardy
  
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="GOG.com - Xenonauts"
GOGID="xenonauts"
PREFIX="Xenonauts"
#Installer crashed when using 1.6.2, but ran well with 1.7.34
WINEVERSION="1.7.34"
SHORTCUT_NAME="Xenonauts"
 
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Goldhawk Interactive" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX"
 
POL_SetupWindow_message "$(eval_gettext 'This installer requires the patch provided by gog.com. Please ensure it has been downloaded to a local drive before continuing.')" "$TITLE"
 
 
POL_Call POL_GoG_setup "$GOGID" "682443fa62f222891ee528900866b254"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
POL_Call POL_GoG_install
 
 
POL_SetupWindow_browse "$(eval_gettext 'Please select the patch file.')" "$TITLE"
POL_Wine_WaitBefore "$(eval_gettext 'Please wait, patch installation in progress.')" "$TITLE"
POL_Wine "$APP_ANSWER"
 
 
POL_SetupWindow_VMS "512"
 
POL_Wine_reboot
 
POL_Shortcut "Xenonauts.exe" "$SHORTCUT_NAME" "" "" "Game;StrategyGame"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Xenonauts/GameManual.pdf"
 
POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribuer
Membre Messages
Okto Samedi 18 Avril 2015 à 11:57
Okto Anonymous

Messages

Screenshots:

Top:

Left:

48x48:

22x22:

 

Réponses

Okto Samedi 18 Avril 2015 à 8:31
Okto Anonymous

Information

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

Messages

added the exit 0
 

Differences

@@ -0,0 +1,48 @@
+#!/bin/bash
+# Date : (2015-04-17 16-37)
+# Wine version used : 1.7.34
+# Distribution used to test : OpenSUSE 13.2
+# Author : Benjamin Hardy
+  
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="GOG.com - Xenonauts"
+GOGID="xenonauts"
+PREFIX="Xenonauts"
+#Installer crashed when using 1.6.2, but ran well with 1.7.34
+WINEVERSION="1.7.34"
+SHORTCUT_NAME="Xenonauts"
+ 
+ 
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "Goldhawk Interactive" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX"
+ 
+POL_SetupWindow_message "$(eval_gettext 'This installer requires the patch provided by gog.com. Please ensure it has been downloaded to a local drive before continuing.')" "$TITLE"
+ 
+ 
+POL_Call POL_GoG_setup "$GOGID" "682443fa62f222891ee528900866b254"
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+ 
+POL_Call POL_GoG_install
+ 
+ 
+POL_SetupWindow_browse "$(eval_gettext 'Please select the patch file.')" "$TITLE"
+POL_Wine_WaitBefore "$(eval_gettext 'Please wait, patch installation in progress.')" "$TITLE"
+POL_Wine "$APP_ANSWER"
+ 
+ 
+POL_SetupWindow_VMS "512"
+ 
+POL_Wine_reboot
+ 
+POL_Shortcut "Xenonauts.exe" "$SHORTCUT_NAME" "" "" "Game;StrategyGame"
+POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Xenonauts/GameManual.pdf"
+ 
+POL_SetupWindow_Close
+
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2015-04-17 16-37)
# Wine version used : 1.7.34
# Distribution used to test : OpenSUSE 13.2
# Author : Benjamin Hardy
  
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="GOG.com - Xenonauts"
GOGID="xenonauts"
PREFIX="Xenonauts"
#Installer crashed when using 1.6.2, but ran well with 1.7.34
WINEVERSION="1.7.34"
SHORTCUT_NAME="Xenonauts"
 
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Goldhawk Interactive" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX"
 
POL_SetupWindow_message "$(eval_gettext 'This installer requires the patch provided by gog.com. Please ensure it has been downloaded to a local drive before continuing.')" "$TITLE"
 
 
POL_Call POL_GoG_setup "$GOGID" "682443fa62f222891ee528900866b254"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
POL_Call POL_GoG_install
 
 
POL_SetupWindow_browse "$(eval_gettext 'Please select the patch file.')" "$TITLE"
POL_Wine_WaitBefore "$(eval_gettext 'Please wait, patch installation in progress.')" "$TITLE"
POL_Wine "$APP_ANSWER"
 
 
POL_SetupWindow_VMS "512"
 
POL_Wine_reboot
 
POL_Shortcut "Xenonauts.exe" "$SHORTCUT_NAME" "" "" "Game;StrategyGame"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Xenonauts/GameManual.pdf"
 
POL_SetupWindow_Close

exit 0

Réponses

Okto Vendredi 17 Avril 2015 à 22:18
Okto 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,46 @@
+#!/bin/bash
+# Date : (2015-04-17 16-37)
+# Wine version used : 1.7.34
+# Distribution used to test : OpenSUSE 13.2
+# Author : Benjamin Hardy
+ 
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="GOG.com - Xenonauts"
+GOGID="xenonauts"
+PREFIX="Xenonauts"
+#Installer crashed when using 1.6.2, but ran well with 1.7.34
+WINEVERSION="1.7.34"
+SHORTCUT_NAME="Xenonauts"
+
+
+POL_SetupWindow_Init 
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "Goldhawk Interactive" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX"
+
+POL_SetupWindow_message "$(eval_gettext 'This installer requires the patch provided by gog.com. Please ensure it has been downloaded to a local drive before continuing.')" "$TITLE"
+
+
+POL_Call POL_GoG_setup "$GOGID" "682443fa62f222891ee528900866b254"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+
+POL_Call POL_GoG_install
+
+
+POL_SetupWindow_browse "$(eval_gettext 'Please select the patch file.')" "$TITLE"
+POL_Wine_WaitBefore "$(eval_gettext 'Please wait, patch installation in progress.')" "$TITLE"
+POL_Wine "$APP_ANSWER"
+
+
+POL_SetupWindow_VMS "512"
+
+POL_Wine_reboot
+
+POL_Shortcut "Xenonauts.exe" "$SHORTCUT_NAME" "" "" "Game;StrategyGame"
+POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Xenonauts/GameManual.pdf"
+
+POL_SetupWindow_Close
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2015-04-17 16-37)
# Wine version used : 1.7.34
# Distribution used to test : OpenSUSE 13.2
# Author : Benjamin Hardy
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="GOG.com - Xenonauts"
GOGID="xenonauts"
PREFIX="Xenonauts"
#Installer crashed when using 1.6.2, but ran well with 1.7.34
WINEVERSION="1.7.34"
SHORTCUT_NAME="Xenonauts"


POL_SetupWindow_Init 
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Goldhawk Interactive" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX"

POL_SetupWindow_message "$(eval_gettext 'This installer requires the patch provided by gog.com. Please ensure it has been downloaded to a local drive before continuing.')" "$TITLE"


POL_Call POL_GoG_setup "$GOGID" "682443fa62f222891ee528900866b254"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_GoG_install


POL_SetupWindow_browse "$(eval_gettext 'Please select the patch file.')" "$TITLE"
POL_Wine_WaitBefore "$(eval_gettext 'Please wait, patch installation in progress.')" "$TITLE"
POL_Wine "$APP_ANSWER"


POL_SetupWindow_VMS "512"

POL_Wine_reboot

POL_Shortcut "Xenonauts.exe" "$SHORTCUT_NAME" "" "" "Game;StrategyGame"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Xenonauts/GameManual.pdf"

POL_SetupWindow_Close

Réponses

Samedi 18 Avril 2015 à 2:35
It looks good to me, except that it needs an:

exit 0

at the end. I don't see any issues other than that, though. Petch knows GoG better than I, so let's wait until he checks it out.
Anonymous
Samedi 18 Avril 2015 à 8:28
Yes, that got lost in the copy and paste!

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