Rfactor

Informations

Créateur Messages
thib25 Anonymous

Attention

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

Informations

Plate-formes :
Téléchargements : 12061
Wine:

Retours d'expérience

Description

Racing simulation, 2005. Wikipedia.

Code source

#!/bin/bash
# Date : (2009-10-29 16-30)
# Last revision : (2013-05-14 19-18)
# Wine version used : 1.5.24
# Distribution used to test : N/A
# Author : thib25

# CHANGELOG
# [SuperPlumus] (2013-05-14 19-18)
#   Rewrite script
#   Update Wine version to 1.5.24
# [Dadu042] (2020-02-16)
#   Wine 1.5.24 -> system
# [Dadu042] (2020-02-27)
#   Hide old Wine version.


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

TITLE="rFactor"
PREFIX="rFactor"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "ISI Simulation" "http://www.rfactor.net/" "thib25" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"

POL_Wine_PrefixCreate
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_System_TmpCreate "$PREFIX"


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 "Setup.exe"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$CDROM/Setup.exe"
POL_Wine_WaitExit "$TITLE"

fi
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 "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"

fi

POL_System_TmpDelete

POL_Shortcut "rFactor.exe" "$TITLE" "" "" "Game;"

POL_SetupWindow_message "$(eval_gettext "The CD protection of this game does not work correctly with Wine (2013).")" "$TITLE"

POL_SetupWindow_Close
exit

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Jeudi 27 Février 2020 à 17:29
Dadu042

Information

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

Differences

@@ -11,13 +11,15 @@
 #   Update Wine version to 1.5.24
 # [Dadu042] (2020-02-16)
 #   Wine 1.5.24 -> system
+# [Dadu042] (2020-02-27)
+#   Hide old Wine version.
+
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="rFactor"
 PREFIX="rFactor"
-# WORKING_WINE_VERSION="1.5.24"
 
 POL_SetupWindow_Init
 POL_Debug_Init

Nouveau code source

#!/bin/bash
# Date : (2009-10-29 16-30)
# Last revision : (2013-05-14 19-18)
# Wine version used : 1.5.24
# Distribution used to test : N/A
# Author : thib25

# CHANGELOG
# [SuperPlumus] (2013-05-14 19-18)
#   Rewrite script
#   Update Wine version to 1.5.24
# [Dadu042] (2020-02-16)
#   Wine 1.5.24 -> system
# [Dadu042] (2020-02-27)
#   Hide old Wine version.


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

TITLE="rFactor"
PREFIX="rFactor"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "ISI Simulation" "http://www.rfactor.net/" "thib25" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"

POL_Wine_PrefixCreate
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_System_TmpCreate "$PREFIX"


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 "Setup.exe"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$CDROM/Setup.exe"
POL_Wine_WaitExit "$TITLE"

fi
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 "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"

fi

POL_System_TmpDelete

POL_Shortcut "rFactor.exe" "$TITLE" "" "" "Game;"

POL_SetupWindow_message "$(eval_gettext "The CD protection of this game does not work correctly with Wine (2013).")" "$TITLE"

POL_SetupWindow_Close
exit

Réponses

Dadu042 Dimanche 16 Février 2020 à 18:20
Dadu042

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -9,13 +9,15 @@
 # [SuperPlumus] (2013-05-14 19-18)
 #   Rewrite script
 #   Update Wine version to 1.5.24
+# [Dadu042] (2020-02-16)
+#   Wine 1.5.24 -> system
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="rFactor"
 PREFIX="rFactor"
-WORKING_WINE_VERSION="1.5.24"
+# WORKING_WINE_VERSION="1.5.24"
 
 POL_SetupWindow_Init
 POL_Debug_Init
@@ -23,7 +25,9 @@
 POL_SetupWindow_presentation "$TITLE" "ISI Simulation" "http://www.rfactor.net/" "thib25" "$PREFIX"
 
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+POL_Wine_PrefixCreate
+# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
 POL_System_TmpCreate "$PREFIX"
 
@@ -54,9 +58,9 @@
 
 POL_System_TmpDelete
 
-POL_Shortcut "rFactor.exe" "$TITLE"
+POL_Shortcut "rFactor.exe" "$TITLE" "" "" "Game;"
 
-POL_SetupWindow_message "$(eval_gettext "The CD protection of this game doesn't work correctly with Wine.")" "$TITLE"
+POL_SetupWindow_message "$(eval_gettext "The CD protection of this game does not work correctly with Wine (2013).")" "$TITLE"
 
 POL_SetupWindow_Close
 exit

Nouveau code source

#!/bin/bash
# Date : (2009-10-29 16-30)
# Last revision : (2013-05-14 19-18)
# Wine version used : 1.5.24
# Distribution used to test : N/A
# Author : thib25

# CHANGELOG
# [SuperPlumus] (2013-05-14 19-18)
#   Rewrite script
#   Update Wine version to 1.5.24
# [Dadu042] (2020-02-16)
#   Wine 1.5.24 -> system

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

TITLE="rFactor"
PREFIX="rFactor"
# WORKING_WINE_VERSION="1.5.24"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "ISI Simulation" "http://www.rfactor.net/" "thib25" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"

POL_Wine_PrefixCreate
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_System_TmpCreate "$PREFIX"


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 "Setup.exe"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$CDROM/Setup.exe"
POL_Wine_WaitExit "$TITLE"

fi
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 "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"

fi

POL_System_TmpDelete

POL_Shortcut "rFactor.exe" "$TITLE" "" "" "Game;"

POL_SetupWindow_message "$(eval_gettext "The CD protection of this game does not work correctly with Wine (2013).")" "$TITLE"

POL_SetupWindow_Close
exit

Réponses

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