GOG.com - Secret Files: Tunguska

Informations

Créateur Messages
Okto Anonymous

Information

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

Informations

Plate-formes :
Téléchargements : 316
Wine: 5.0

Retours d'expérience

Description

Adventure game, 2006. Wikipedia.

Code source

#!/bin/bash
# Date : (2020-05-01)
# Wine version used : 5.0
# Distribution used to test : OpenSUSE 15.1
# Author : Benjamin Hardy

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="GOG.com - SECRET FILES: TUNGUSKA"
PREFIX="SECRET_FILES_TUNGUSKA"
WINEVERSION="5.0"
SHORTCUT_NAME="SECRET FILES: TUNGUSKA"
GOGID="secret_files_tunguska"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Animation Arts / Deep Silver" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX" 

POL_RequiredVersion "4.3.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

POL_Call POL_GoG_setup "$GOGID" "ea2218916d270f1db0565691f0c42b0b"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_GoG_install

Set_OS win7

POL_Wine_reboot

POL_Shortcut "Tunguska.exe" "$SHORTCUT_NAME" "" "" "Game;AdventureGame;"

POL_SetupWindow_message "$(eval_gettext 'Please note: Some test computers displayed a blank screen on launching the game. Enabling an 800x600 virtual desktop in WINE settings resolved this.')" "$TITLE"

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Vendredi 1 Mai 2020 à 21:43
Dadu042
Modérateur

Information

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

Messages

Wine 5 is only avaiable from POL v4.3+

Differences

@@ -18,6 +18,8 @@
 
 POL_SetupWindow_presentation "$TITLE" "Animation Arts / Deep Silver" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX" 
 
+POL_RequiredVersion "4.3.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
 POL_Call POL_GoG_setup "$GOGID" "ea2218916d270f1db0565691f0c42b0b"
 
 POL_Wine_SelectPrefix "$PREFIX"

Nouveau code source

#!/bin/bash
# Date : (2020-05-01)
# Wine version used : 5.0
# Distribution used to test : OpenSUSE 15.1
# Author : Benjamin Hardy

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="GOG.com - SECRET FILES: TUNGUSKA"
PREFIX="SECRET_FILES_TUNGUSKA"
WINEVERSION="5.0"
SHORTCUT_NAME="SECRET FILES: TUNGUSKA"
GOGID="secret_files_tunguska"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Animation Arts / Deep Silver" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX" 

POL_RequiredVersion "4.3.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

POL_Call POL_GoG_setup "$GOGID" "ea2218916d270f1db0565691f0c42b0b"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_GoG_install

Set_OS win7

POL_Wine_reboot

POL_Shortcut "Tunguska.exe" "$SHORTCUT_NAME" "" "" "Game;AdventureGame;"

POL_SetupWindow_message "$(eval_gettext 'Please note: Some test computers displayed a blank screen on launching the game. Enabling an 800x600 virtual desktop in WINE settings resolved this.')" "$TITLE"

POL_SetupWindow_Close

exit 0

Réponses

Okto Vendredi 1 Mai 2020 à 14:48
Okto Anonymous

Warning

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

Messages

Sorry, confusion with entering the script above. Here's the script below.

Differences

@@ -0,0 +1,38 @@
+#!/bin/bash
+# Date : (2020-05-01)
+# Wine version used : 5.0
+# Distribution used to test : OpenSUSE 15.1
+# Author : Benjamin Hardy
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="GOG.com - SECRET FILES: TUNGUSKA"
+PREFIX="SECRET_FILES_TUNGUSKA"
+WINEVERSION="5.0"
+SHORTCUT_NAME="SECRET FILES: TUNGUSKA"
+GOGID="secret_files_tunguska"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "Animation Arts / Deep Silver" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX" 
+
+POL_Call POL_GoG_setup "$GOGID" "ea2218916d270f1db0565691f0c42b0b"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+
+POL_Call POL_GoG_install
+
+Set_OS win7
+
+POL_Wine_reboot
+
+POL_Shortcut "Tunguska.exe" "$SHORTCUT_NAME" "" "" "Game;AdventureGame;"
+
+POL_SetupWindow_message "$(eval_gettext 'Please note: Some test computers displayed a blank screen on launching the game. Enabling an 800x600 virtual desktop in WINE settings resolved this.')" "$TITLE"
+
+POL_SetupWindow_Close
+
+exit 0

Nouveau code source

#!/bin/bash
# Date : (2020-05-01)
# Wine version used : 5.0
# Distribution used to test : OpenSUSE 15.1
# Author : Benjamin Hardy

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="GOG.com - SECRET FILES: TUNGUSKA"
PREFIX="SECRET_FILES_TUNGUSKA"
WINEVERSION="5.0"
SHORTCUT_NAME="SECRET FILES: TUNGUSKA"
GOGID="secret_files_tunguska"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Animation Arts / Deep Silver" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX" 

POL_Call POL_GoG_setup "$GOGID" "ea2218916d270f1db0565691f0c42b0b"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_GoG_install

Set_OS win7

POL_Wine_reboot

POL_Shortcut "Tunguska.exe" "$SHORTCUT_NAME" "" "" "Game;AdventureGame;"

POL_SetupWindow_message "$(eval_gettext 'Please note: Some test computers displayed a blank screen on launching the game. Enabling an 800x600 virtual desktop in WINE settings resolved this.')" "$TITLE"

POL_SetupWindow_Close

exit 0

Réponses

Vendredi 1 Mai 2020 à 21:39
script approved.