Need for Speed III : Hot Pursuit

Informations

Creator Message
NSLW

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 30221
Wine:

Feedbacks

Description

Racing game, 1998.

Don't try to enable projected headlights because they don't work as should (Wine 1.2).

Source code

#!/bin/bash
# Date : (2009-06-25 13-14)
# Last revision : see changelog.
# Wine version used : 2.22
# Distribution used to test : N/A
# Author : NSLW

# CHANGELOG
# [SuperPlumus] (2012-04-10 19-01)
#   Rewritting
# [Dadu042] (2020-01-27 19:30)
#   Wine 1.2 -> 2.22
#

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Need for Speed III : Hot Pursuit"
PREFIX="NeedForSpeed3_HotPursuit"
WORKINGVERSION="2.22"
 
POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "EA Games" "N/A" "NSLW" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

Set_OS "win98"

POL_SetupWindow_InstallMethod "CD,LOCAL"

if [ "$INSTALL_METHOD" = "CD" ]
then

POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disk drive.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "nfs3.exe"

cd "$CDROM"
POL_SetupWindow_menu "Choose the game language you want" "$TITLE" "english~german~spanish~italian~swedish~french" "~"
POL_Wine_WaitBefore "$TITLE"
if [ ! -e "$CDROM/setup/$APP_ANSWER/setup.exe" ]; then
POL_Debug_Warning "$CDROM/setup/$APP_ANSWER/setup.exe not found ! Use $CDROM/setup/english/setup.exe"
POL_Wine start /unix "$CDROM/setup/english/setup.exe"
else
POL_Wine start /unix "$CDROM/setup/$APP_ANSWER/setup.exe"
fi
POL_Wine_WaitExit "$TITLE"

elif [ "$INSTALL_METHOD" = "LOCAL" ]
then

cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"

fi

POL_Shortcut "nfs3.exe" "$TITLE" "" "-d3d0" "Game;"
 
POL_SetupWindow_Close
 
exit

Contributions

Filters:

Contribute
Member Message
Dadu042 Wednesday 29 January 2020 at 22:13
Dadu042
Moderator

Information

This update has been approved by the team.

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : (2009-06-25 13-14)
-# Last revision : (2012-04-10 18-59)
-# Wine version used : 1.2
+# Last revision : see changelog.
+# Wine version used : 2.22
 # Distribution used to test : N/A
 # Author : NSLW
 

New source code

#!/bin/bash
# Date : (2009-06-25 13-14)
# Last revision : see changelog.
# Wine version used : 2.22
# Distribution used to test : N/A
# Author : NSLW

# CHANGELOG
# [SuperPlumus] (2012-04-10 19-01)
#   Rewritting
# [Dadu042] (2020-01-27 19:30)
#   Wine 1.2 -> 2.22
#

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Need for Speed III : Hot Pursuit"
PREFIX="NeedForSpeed3_HotPursuit"
WORKINGVERSION="2.22"
 
POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "EA Games" "N/A" "NSLW" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

Set_OS "win98"

POL_SetupWindow_InstallMethod "CD,LOCAL"

if [ "$INSTALL_METHOD" = "CD" ]
then

POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disk drive.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "nfs3.exe"

cd "$CDROM"
POL_SetupWindow_menu "Choose the game language you want" "$TITLE" "english~german~spanish~italian~swedish~french" "~"
POL_Wine_WaitBefore "$TITLE"
if [ ! -e "$CDROM/setup/$APP_ANSWER/setup.exe" ]; then
POL_Debug_Warning "$CDROM/setup/$APP_ANSWER/setup.exe not found ! Use $CDROM/setup/english/setup.exe"
POL_Wine start /unix "$CDROM/setup/english/setup.exe"
else
POL_Wine start /unix "$CDROM/setup/$APP_ANSWER/setup.exe"
fi
POL_Wine_WaitExit "$TITLE"

elif [ "$INSTALL_METHOD" = "LOCAL" ]
then

cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"

fi

POL_Shortcut "nfs3.exe" "$TITLE" "" "-d3d0" "Game;"
 
POL_SetupWindow_Close
 
exit

Replies

Dadu042 Tuesday 28 January 2020 at 19:45
Dadu042
Moderator

Warning

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

Differences

@@ -8,13 +8,16 @@
 # CHANGELOG
 # [SuperPlumus] (2012-04-10 19-01)
 #   Rewritting
- 
+# [Dadu042] (2020-01-27 19:30)
+#   Wine 1.2 -> 2.22
+#
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
  
 TITLE="Need for Speed III : Hot Pursuit"
 PREFIX="NeedForSpeed3_HotPursuit"
-WORKINGVERSION="1.2"
+WORKINGVERSION="2.22"
  
 POL_SetupWindow_Init
 POL_Debug_Init
@@ -57,7 +60,7 @@
 
 fi
 
-POL_Shortcut "nfs3.exe" "$TITLE" "" "-d3d0"
+POL_Shortcut "nfs3.exe" "$TITLE" "" "-d3d0" "Game;"
  
 POL_SetupWindow_Close
  

New source code

#!/bin/bash
# Date : (2009-06-25 13-14)
# Last revision : (2012-04-10 18-59)
# Wine version used : 1.2
# Distribution used to test : N/A
# Author : NSLW

# CHANGELOG
# [SuperPlumus] (2012-04-10 19-01)
#   Rewritting
# [Dadu042] (2020-01-27 19:30)
#   Wine 1.2 -> 2.22
#

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Need for Speed III : Hot Pursuit"
PREFIX="NeedForSpeed3_HotPursuit"
WORKINGVERSION="2.22"
 
POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "EA Games" "N/A" "NSLW" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

Set_OS "win98"

POL_SetupWindow_InstallMethod "CD,LOCAL"

if [ "$INSTALL_METHOD" = "CD" ]
then

POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disk drive.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "nfs3.exe"

cd "$CDROM"
POL_SetupWindow_menu "Choose the game language you want" "$TITLE" "english~german~spanish~italian~swedish~french" "~"
POL_Wine_WaitBefore "$TITLE"
if [ ! -e "$CDROM/setup/$APP_ANSWER/setup.exe" ]; then
POL_Debug_Warning "$CDROM/setup/$APP_ANSWER/setup.exe not found ! Use $CDROM/setup/english/setup.exe"
POL_Wine start /unix "$CDROM/setup/english/setup.exe"
else
POL_Wine start /unix "$CDROM/setup/$APP_ANSWER/setup.exe"
fi
POL_Wine_WaitExit "$TITLE"

elif [ "$INSTALL_METHOD" = "LOCAL" ]
then

cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"

fi

POL_Shortcut "nfs3.exe" "$TITLE" "" "-d3d0" "Game;"
 
POL_SetupWindow_Close
 
exit

Replies