Tony Hawk's Pro Skater 4

Informations

Creator Message
odziom91

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 432
Wine: 1.9.15-staging

Feedbacks

Description

Tony Hawk's Pro Skater 4 is the fourth game in Tony Hawk's series. It was developed by Neversoft and was published in 2002 by Activision for the GameCube, Xbox, PlayStation, PlayStation 2 and Game Boy Advance. In 2003 it was published for Mac OS X and Microsoft Windows by Beenox Inc..

WineDB Rating: Platinum

Source code

#!/bin/bash
#
# Date : (2016-08-01 23-55)
# Last revision : (2016-08-02 00-10)
# Wine version used : 1.9.15-staging
# Distribution used to test : Manjaro Linux 16.06.1
# Author : OdzioM
# Licence : Retail

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

TITLE="Tony Hawk's Pro Skater 4"
INFO1="Beenox Inc."
INFO2="http://beenox.com/"
AUTHOR="OdzioM"
PREFIX="THPS4"
WORKING_WINE_VERSION="1.9.15-staging"
WINE_ARCH="x86"
GAME_VMS="64"


POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$INFO1" "$INFO2" "$AUTHOR" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"

POL_System_SetArch "$WINE_ARCH"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_SetupWindow_InstallMethod "CD,LOCAL"

if [ "$INSTALL_METHOD" == "CD" ]; then
        POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disc drive.')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "PlayDiskStart.exe"
        POL_Wine start /unix "$CDROM/Win/setup.exe"
        POL_Wine_WaitExit "$TITLE"
else
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
fi

POL_SetupWindow_VMS $GAME_VMS

POL_Shortcut "Start.exe" "$TITLE" "" ""

POL_SetupWindow_message "Installation complete!\n\nTo run $TITLE please select $TITLE icon from your desktop." "$TITLE"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
odziom91 Tuesday 2 August 2016 at 0:23
odziom91

Information

This update has been approved by the team.

Differences

@@ -0,0 +1,56 @@
+#!/bin/bash
+#
+# Date : (2016-08-01 23-55)
+# Last revision : (2016-08-02 00-10)
+# Wine version used : 1.9.15-staging
+# Distribution used to test : Manjaro Linux 16.06.1
+# Author : OdzioM
+# Licence : Retail
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Tony Hawk's Pro Skater 4"
+INFO1="Beenox Inc."
+INFO2="http://beenox.com/"
+AUTHOR="OdzioM"
+PREFIX="THPS4"
+WORKING_WINE_VERSION="1.9.15-staging"
+WINE_ARCH="x86"
+GAME_VMS="64"
+
+
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "$INFO1" "$INFO2" "$AUTHOR" "$PREFIX"
+
+POL_Wine_SelectPrefix "$PREFIX"
+
+POL_System_SetArch "$WINE_ARCH"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+POL_SetupWindow_InstallMethod "CD,LOCAL"
+
+if [ "$INSTALL_METHOD" == "CD" ]; then
+        POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disc drive.')" "$TITLE"
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom "PlayDiskStart.exe"
+        POL_Wine start /unix "$CDROM/Win/setup.exe"
+        POL_Wine_WaitExit "$TITLE"
+else
+        cd "$HOME"
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+        SETUP_EXE="$APP_ANSWER"
+        POL_Wine start /unix "$SETUP_EXE"
+        POL_Wine_WaitExit "$TITLE"
+fi
+
+POL_SetupWindow_VMS $GAME_VMS
+
+POL_Shortcut "Start.exe" "$TITLE" "" ""
+
+POL_SetupWindow_message "Installation complete!\n\nTo run $TITLE please select $TITLE icon from your desktop." "$TITLE"
+
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
#
# Date : (2016-08-01 23-55)
# Last revision : (2016-08-02 00-10)
# Wine version used : 1.9.15-staging
# Distribution used to test : Manjaro Linux 16.06.1
# Author : OdzioM
# Licence : Retail

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

TITLE="Tony Hawk's Pro Skater 4"
INFO1="Beenox Inc."
INFO2="http://beenox.com/"
AUTHOR="OdzioM"
PREFIX="THPS4"
WORKING_WINE_VERSION="1.9.15-staging"
WINE_ARCH="x86"
GAME_VMS="64"


POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$INFO1" "$INFO2" "$AUTHOR" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"

POL_System_SetArch "$WINE_ARCH"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_SetupWindow_InstallMethod "CD,LOCAL"

if [ "$INSTALL_METHOD" == "CD" ]; then
        POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disc drive.')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "PlayDiskStart.exe"
        POL_Wine start /unix "$CDROM/Win/setup.exe"
        POL_Wine_WaitExit "$TITLE"
else
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
fi

POL_SetupWindow_VMS $GAME_VMS

POL_Shortcut "Start.exe" "$TITLE" "" ""

POL_SetupWindow_message "Installation complete!\n\nTo run $TITLE please select $TITLE icon from your desktop." "$TITLE"

POL_SetupWindow_Close
exit 0

Replies