Ski Challenge 2012

Informations

Creator Nachricht
petch

Warning

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

Informations

Platforms:
Downloads: 13843
Wine: 1.5.15

Feedbacks

Description

English: Free game of downhill race.

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

Source code

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

Contribute
Member Nachricht
Dadu042 Wednesday 24 July 2019 at 23:40
Dadu042

Warning

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

Nachricht

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

New source code

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

Antworten

Editiert von: Dadu042