Need for Speed: Undercover

Informations

Creator Message
Massawi33

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 35001
Wine: 2.22

Feedbacks

Description

Racing, 2008. Wikipedia.

Appdb.winehq.org

Source code

#!/bin/bash
# Date : (2014-02-09)
# Last revision : see changelog
# Wine version used : 2.22
# Distribution used to test : UbuntuGnome 13.10
# Author : Massawi33
#
# CHANGELOG
# [Massawi33] (2014-02-09)
#   First script.
# [Dadu042] (2019-12-30)
#   Wine 1.3.20 -> 2.22

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Need For Speed Undercover"
PREFIX="NFSUndercover"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 1941
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Electronic Arts" "http://www.needforspeed.com/fr_FR/undercover" "Massawi33" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "2.22"
 
POL_SetupWindow_InstallMethod "LOCAL,DVD"
 
if [ "$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"
elif [ "$INSTALL_METHOD" = "DVD" ]
then
    POL_SetupWindow_cdrom
    POL_SetupWindow_check_cdrom "nfs.exe"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine start /unix "$CDROM/AutoRun.exe"
    POL_Wine_WaitExit "$TITLE"
fi
 
POL_Wine_SetVideoDriver
POL_SetupWindow_VMS "128"

POL_Shortcut "nfs.exe" "$TITLE" "" "" "Game;"
 
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
Dadu042 Tuesday 31 December 2019 at 11:31
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,10 +1,16 @@
 #!/bin/bash
 # Date : (2014-02-09)
-# Last revision : (2014-02-09)
-# Wine version used : 1.3.20
+# Last revision : see changelog
+# Wine version used : 2.22
 # Distribution used to test : UbuntuGnome 13.10
 # Author : Massawi33
- 
+#
+# CHANGELOG
+# [Massawi33] (2014-02-09)
+#   First script.
+# [Dadu042] (2019-12-30)
+#   Wine 1.3.20 -> 2.22
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
  
@@ -18,7 +24,7 @@
 POL_SetupWindow_presentation "$TITLE" "Electronic Arts" "http://www.needforspeed.com/fr_FR/undercover" "Massawi33" "$PREFIX"
  
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.3.20"
+POL_Wine_PrefixCreate "2.22"
  
 POL_SetupWindow_InstallMethod "LOCAL,DVD"
  
@@ -41,7 +47,7 @@
 POL_Wine_SetVideoDriver
 POL_SetupWindow_VMS "128"
 
-POL_Shortcut "nfs.exe" "$TITLE"
+POL_Shortcut "nfs.exe" "$TITLE" "" "" "Game;"
  
 POL_SetupWindow_Close
 exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2014-02-09)
# Last revision : see changelog
# Wine version used : 2.22
# Distribution used to test : UbuntuGnome 13.10
# Author : Massawi33
#
# CHANGELOG
# [Massawi33] (2014-02-09)
#   First script.
# [Dadu042] (2019-12-30)
#   Wine 1.3.20 -> 2.22

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Need For Speed Undercover"
PREFIX="NFSUndercover"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 1941
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Electronic Arts" "http://www.needforspeed.com/fr_FR/undercover" "Massawi33" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "2.22"
 
POL_SetupWindow_InstallMethod "LOCAL,DVD"
 
if [ "$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"
elif [ "$INSTALL_METHOD" = "DVD" ]
then
    POL_SetupWindow_cdrom
    POL_SetupWindow_check_cdrom "nfs.exe"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine start /unix "$CDROM/AutoRun.exe"
    POL_Wine_WaitExit "$TITLE"
fi
 
POL_Wine_SetVideoDriver
POL_SetupWindow_VMS "128"

POL_Shortcut "nfs.exe" "$TITLE" "" "" "Game;"
 
POL_SetupWindow_Close
exit

Replies

gery Saturday 30 December 2017 at 15:46
gery Anonymous

Message

good or not but i like it..

Replies

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