Need for Speed: Undercover

Informations

Créateur Messages
Massawi33

Attention

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

Informations

Plate-formes :
Téléchargements : 34414
Wine: 2.22

Retours d'expérience

Description

Racing, 2008. Wikipedia.

Appdb.winehq.org

Code source

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

Contribuer
Membre Messages
Dadu042 Mardi 31 Décembre 2019 à 11:31
Dadu042

Information

Cette mise à jour a été acceptée par l'équipe

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

Nouveau code source

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

Réponses

gery Samedi 30 Décembre 2017 à 15:46
gery Anonymous

Messages

good or not but i like it..

Réponses