GOG.com - Xenonauts

Informatie

Creator Bericht
Okto Anonymous

Information

This installer has been approved by the team.

Informatie

Platforms:
Downloads: 6918
Wine: 1.7.34

Feedbacks

Omschrijving

A sci-fi strategy game made by Goldhawk Interactive.

Schermafdrukken

MiniatureMiniature

Broncode

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

Contribute
Member Bericht
Okto Zaterdag 18 April 2015 om 11:57
Okto Anonymous

Bericht

Screenshots:

Top:

Left:

48x48:

22x22:

 

Antwoorden

Okto Zaterdag 18 April 2015 om 8:31
Okto Anonymous

Information

This update has been approved by the team.

Bericht

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

New source code

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

Antwoorden

Okto Vrijdag 17 April 2015 om 22:18
Okto Anonymous

Warning

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

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

New source code

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

Antwoorden

Zaterdag 18 April 2015 om 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
Zaterdag 18 April 2015 om 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