Tony Hawk's Pro Skater 4

Informations

Creator Message
odziom91

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 1522
Wine: 3.0.3

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 : see changelog
# Wine version used : see changelog
# Distribution used to test : Manjaro Linux 16.06.1
# Author : OdzioM
# Licence : Retail

# CHANGELOG
# [OdzioM] (2016-08-01 23-55)
#   First script.
# [Dadu042] (2020-03-28)
#   Wine 1.9.15-staging (outdated) -> 3.0.3 (not tested)

[ "$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="3.0.3"
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" "" "" "Game;"

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
Dadu042 Sunday 29 March 2020 at 0:14
Dadu042
Moderator

Information

This update has been approved by the team.

Differences

@@ -1,12 +1,18 @@
 #!/bin/bash
 #
 # Date : (2016-08-01 23-55)
-# Last revision : (2016-08-02 00-10)
-# Wine version used : 1.9.15-staging
+# Last revision : see changelog
+# Wine version used : see changelog
 # Distribution used to test : Manjaro Linux 16.06.1
 # Author : OdzioM
 # Licence : Retail
 
+# CHANGELOG
+# [OdzioM] (2016-08-01 23-55)
+#   First script.
+# [Dadu042] (2020-03-28)
+#   Wine 1.9.15-staging (outdated) -> 3.0.3 (not tested)
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
@@ -15,7 +21,7 @@
 INFO2="http://beenox.com/"
 AUTHOR="OdzioM"
 PREFIX="THPS4"
-WORKING_WINE_VERSION="1.9.15-staging"
+WORKING_WINE_VERSION="3.0.3"
 WINE_ARCH="x86"
 GAME_VMS="64"
 
@@ -48,7 +54,7 @@
 
 POL_SetupWindow_VMS $GAME_VMS
 
-POL_Shortcut "Start.exe" "$TITLE" "" ""
+POL_Shortcut "Start.exe" "$TITLE" "" "" "Game;"
 
 POL_SetupWindow_message "Installation complete!\n\nTo run $TITLE please select $TITLE icon from your desktop." "$TITLE"
 

New source code

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

# CHANGELOG
# [OdzioM] (2016-08-01 23-55)
#   First script.
# [Dadu042] (2020-03-28)
#   Wine 1.9.15-staging (outdated) -> 3.0.3 (not tested)

[ "$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="3.0.3"
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" "" "" "Game;"

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

POL_SetupWindow_Close
exit 0

Replies

odziom91 Tuesday 2 August 2016 at 0:23
odziom91

Warning

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

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