Ski Challenge 2012

Informations

Créateur Messages
petch

Attention

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

Informations

Plate-formes :
Téléchargements : 14002
Wine: 1.5.15

Retours d'expérience

Description

English: Free game of downhill race.

Français : Jeu gratuit de simulation de descente à skis.

Code source

#!/bin/bash
# Date : (2012-02-05 18-36)
# Last revision : (2012-10-15 10-54)
# Wine version used : 1.5.15
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Freeware
# Depend :

# Tested with install archives:
# TSR-SkiChallenge12.exe 71513656 "ca54f9f503159f933ac97ba123647cfb"
# TSR-SkiChallenge12.exe ? "5434f04497aa6e5376ac781e3c1040dc"

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

PREFIX="SkiChallenge2012"
WORKING_WINE_VERSION="1.5.15"

TITLE="Ski Challenge 2012"
URL="http://www.skichallenge.ch/fr/"
SHORTCUT_NAME="Ski Challenge 12 (FTV)"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1045
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Greentube" "$URL" "Pierre Etchemaite" "$PREFIX"

if [ -n "$POL_SELECTED_FILE" ]; then
    ARCHIVE="$POL_SELECTED_FILE"
else
    cd "$POL_USER_ROOT/tmp"
    POL_Download "http://download.greentube.com/magic/games/sc12/FR_FTV_MAIN/installer/FTV-SkiChallenge12.exe" "45bd1ce7ac1e12c8161f62907c7cbcdd"
    ARCHIVE="$POL_USER_ROOT/tmp/FTV-SkiChallenge12.exe"
fi

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Wine_WaitBefore "$TITLE"

POL_Wine --ignore-errors "$ARCHIVE"
case "$?" in
    0|2)
        ;;
    *)
        POL_Debug_Fatal "$(eval_gettext 'Error while installing archive')"
        ;;
esac


POL_SetupWindow_VMS "128"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "Games/Ski Challenge 12 (FTV)/Updater.exe" "$SHORTCUT_NAME"
POL_ExtractIcon "$WINEPREFIX/drive_c/Games/Ski Challenge 12 (FTV)/Game.exe" "$POL_USER_ROOT/icones/32/$SHORTCUT_NAME"
POL_ExtractBiggestIcon "$WINEPREFIX/drive_c/Games/Ski Challenge 12 (FTV)/Game.exe" "$POL_USER_ROOT/icones/Full_size/$SHORTCUT_NAME"

POL_SetupWindow_Close

exit

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Mercredi 24 Juillet 2019 à 23:40
Dadu042

Warning

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

Messages

Download URL is dead. This new script attach fix the link, but even with that, once installed the game does not launch.

Differences

@@ -1,46 +1,57 @@
 #!/bin/bash
 # Date : (2012-02-05 18-36)
-# Last revision : (2012-10-15 10-54)
+# Last revision : see changelog
 # Wine version used : 1.5.15
-# Distribution used to test : Debian Sid (Unstable)
-# Author : Pierre Etchemaite pe-pol@concept-micro.com
+# Distribution used to test : Kunbuntu 18.04  x64
+# Author : see changelog
 # Script licence : GPL v.2
 # Program licence : Freeware
 # Depend :
-
-# Tested with install archives:
+ 
+# Tested (2012) with install archives:
 # TSR-SkiChallenge12.exe 71513656 "ca54f9f503159f933ac97ba123647cfb"
 # TSR-SkiChallenge12.exe ? "5434f04497aa6e5376ac781e3c1040dc"
 
+# CHANGELOG
+# Pierre Etchemaite] (2012-02-05)
+#   Initial writing.
+# [Dadu042] (2019-05-23)
+#   Repair dead link (this changed the filename from TSR edition to SRF).
+#   Disable WORKING_WINE_VERSION.
+
+# KNOWN ISSUES:
+# Wine 3.0.3 and 4.0.1 and 2.22 and 1.9.24 and 1.5.15: game does crash as soon launched.
+#
+
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 PREFIX="SkiChallenge2012"
 WORKING_WINE_VERSION="1.5.15"
-
+ 
 TITLE="Ski Challenge 2012"
-URL="http://www.skichallenge.ch/fr/"
-SHORTCUT_NAME="Ski Challenge 12 (FTV)"
-
+URL="https://de.wikipedia.org/wiki/Ski_Challenge"
+SHORTCUT_NAME="Ski Challenge 12 (SRF)"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 1045
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "$TITLE" "Greentube" "$URL" "Pierre Etchemaite" "$PREFIX"
-
+ 
 if [ -n "$POL_SELECTED_FILE" ]; then
     ARCHIVE="$POL_SELECTED_FILE"
 else
     cd "$POL_USER_ROOT/tmp"
-    POL_Download "http://download.greentube.com/magic/games/sc12/FR_FTV_MAIN/installer/FTV-SkiChallenge12.exe" "45bd1ce7ac1e12c8161f62907c7cbcdd"
-    ARCHIVE="$POL_USER_ROOT/tmp/FTV-SkiChallenge12.exe"
+    POL_Download "https://playgate.cz/stahuj/game/SRF-SkiChallenge12.exe" "f4d92a35e1e53901b2611598fbdee623"
+    ARCHIVE="$POL_USER_ROOT/tmp/SRF-SkiChallenge12.exe"
 fi
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
+# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_Wine_PrefixCreate
+ 
 POL_Wine_WaitBefore "$TITLE"
-
+ 
 POL_Wine --ignore-errors "$ARCHIVE"
 case "$?" in
     0|2)
@@ -49,17 +60,21 @@
         POL_Debug_Fatal "$(eval_gettext 'Error while installing archive')"
         ;;
 esac
-
-
+ 
+ 
 POL_SetupWindow_VMS "128"
-
+ 
 # Doesn't hurt ;)
 POL_Wine_reboot
 
-POL_Shortcut "Games/Ski Challenge 12 (FTV)/Updater.exe" "$SHORTCUT_NAME"
-POL_ExtractIcon "$WINEPREFIX/drive_c/Games/Ski Challenge 12 (FTV)/Game.exe" "$POL_USER_ROOT/icones/32/$SHORTCUT_NAME"
-POL_ExtractBiggestIcon "$WINEPREFIX/drive_c/Games/Ski Challenge 12 (FTV)/Game.exe" "$POL_USER_ROOT/icones/Full_size/$SHORTCUT_NAME"
+# Service down as of 2019
+# POL_Shortcut "Games/Ski Challenge 12 (SRF)/Updater.exe" "$SHORTCUT_NAME - Updated"
 
-POL_SetupWindow_Close
+# POL_ExtractIcon "$WINEPREFIX/drive_c/Games/Ski Challenge 12 (SRF)/Game.exe" "$POL_USER_ROOT/icones/32/$SHORTCUT_NAME"
+# POL_ExtractBiggestIcon "$WINEPREFIX/drive_c/Games/Ski Challenge 12 (SRF)/Game.exe" "$POL_USER_ROOT/icones/Full_size/$SHORTCUT_NAME"
 
-exit
+POL_Shortcut "Games/Ski Challenge 12 (SRF)/Game.exe" "$SHORTCUT_NAME"
+
+POL_SetupWindow_Close
+ 
+exit
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2012-02-05 18-36)
# Last revision : see changelog
# Wine version used : 1.5.15
# Distribution used to test : Kunbuntu 18.04  x64
# Author : see changelog
# Script licence : GPL v.2
# Program licence : Freeware
# Depend :
 
# Tested (2012) with install archives:
# TSR-SkiChallenge12.exe 71513656 "ca54f9f503159f933ac97ba123647cfb"
# TSR-SkiChallenge12.exe ? "5434f04497aa6e5376ac781e3c1040dc"

# CHANGELOG
# Pierre Etchemaite] (2012-02-05)
#   Initial writing.
# [Dadu042] (2019-05-23)
#   Repair dead link (this changed the filename from TSR edition to SRF).
#   Disable WORKING_WINE_VERSION.

# KNOWN ISSUES:
# Wine 3.0.3 and 4.0.1 and 2.22 and 1.9.24 and 1.5.15: game does crash as soon launched.
#

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="SkiChallenge2012"
WORKING_WINE_VERSION="1.5.15"
 
TITLE="Ski Challenge 2012"
URL="https://de.wikipedia.org/wiki/Ski_Challenge"
SHORTCUT_NAME="Ski Challenge 12 (SRF)"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1045
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Greentube" "$URL" "Pierre Etchemaite" "$PREFIX"
 
if [ -n "$POL_SELECTED_FILE" ]; then
    ARCHIVE="$POL_SELECTED_FILE"
else
    cd "$POL_USER_ROOT/tmp"
    POL_Download "https://playgate.cz/stahuj/game/SRF-SkiChallenge12.exe" "f4d92a35e1e53901b2611598fbdee623"
    ARCHIVE="$POL_USER_ROOT/tmp/SRF-SkiChallenge12.exe"
fi
 
POL_Wine_SelectPrefix "$PREFIX"
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_Wine_PrefixCreate
 
POL_Wine_WaitBefore "$TITLE"
 
POL_Wine --ignore-errors "$ARCHIVE"
case "$?" in
    0|2)
        ;;
    *)
        POL_Debug_Fatal "$(eval_gettext 'Error while installing archive')"
        ;;
esac
 
 
POL_SetupWindow_VMS "128"
 
# Doesn't hurt ;)
POL_Wine_reboot

# Service down as of 2019
# POL_Shortcut "Games/Ski Challenge 12 (SRF)/Updater.exe" "$SHORTCUT_NAME - Updated"

# POL_ExtractIcon "$WINEPREFIX/drive_c/Games/Ski Challenge 12 (SRF)/Game.exe" "$POL_USER_ROOT/icones/32/$SHORTCUT_NAME"
# POL_ExtractBiggestIcon "$WINEPREFIX/drive_c/Games/Ski Challenge 12 (SRF)/Game.exe" "$POL_USER_ROOT/icones/Full_size/$SHORTCUT_NAME"

POL_Shortcut "Games/Ski Challenge 12 (SRF)/Game.exe" "$SHORTCUT_NAME"

POL_SetupWindow_Close
 
exit

Réponses

Edité par Dadu042

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