Colin Mcrae Rally 2005

Informations

Creator Message
thib25 Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 31573
Wine: 4.1

Feedbacks

Description

Rally racing game.

Wikipedia page.

Source code

#!/bin/bash
# Date : (2009-08-23 13-00)
# Last revision : (2019-05-18 16-14)
# Wine version used : see below
# Distribution used to test : Ubuntu 19.04
# Author : thib25, Dadu042
# Licence : Retail
#
# Changelog:
# 2019-05-18 Dadu042: fix script that did not start on POL v4.3.4.
#            Rmove 'patch download' feature (because URL is down, and impossible to find a alternative).
#
# Known issues:
# 1. DRM
# Original DVD's DRM is not recognized (I tested up to Wine 4.8), even after
# patching to v1.1 (patch only work from Wine 4.1). I tried 2 "NoCDs" without
# more success. The original DVD game seems impossible to run on Wine. Dadu042.


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Colin Mcrae Rally 2005"
PREFIX="colin2005"
WORKING_WINE_VERSION="4.1"
AUTHOR="Dadu042"
EDITOR="Codemasters"
GAME_URL="https://pcgamingwiki.com/wiki/Colin_McRae_Rally_2005"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
   
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

Set_OS "winxp"

POL_Call POL_Function_NoCDWarning

################
# GPU settings #
################

# Really indispensable ? (Dadu042)
POL_SetupWindow_VMS "64"

POL_Call POL_Install_VideoDriver

# Useless ?
# POL_Call POL_Install_d3dx9
 
###############
# Go          #
###############

POL_SetupWindow_InstallMethod "LOCAL,DVD"

POL_SetupWindow_message  "Warning: Please DO NOT install Gamespy ! (this is the way this script was tested).\nAnd do not launch the game at the end of the installation." "$TITLE"
   
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        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"
        cd "$POL_System_TmpDir"
else
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "cmr2005.ico"
        POL_Wine start /unix "$CDROM/Setup.exe"
        POL_Wine_WaitExit "Setup.exe"
        cd "$POL_System_TmpDir"
fi

POL_Shortcut "CMR5.EXE" "$TITLE" ""
POL_Shortcut_Document "$TITLE" "readme.txt"

###############
# Patch       #
###############
# URL down as of 2019-05-18
# URL="ftp://downloads.codemasters.com/patch/colin_mcrae%20rally_2005%20patch_installer.exe"


POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Monday 3 February 2020 at 22:19
Dadu042

Information

This update has been approved by the team.

Differences

@@ -31,6 +31,8 @@
 POL_Debug_Init
 
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
    
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86"

New source code

#!/bin/bash
# Date : (2009-08-23 13-00)
# Last revision : (2019-05-18 16-14)
# Wine version used : see below
# Distribution used to test : Ubuntu 19.04
# Author : thib25, Dadu042
# Licence : Retail
#
# Changelog:
# 2019-05-18 Dadu042: fix script that did not start on POL v4.3.4.
#            Rmove 'patch download' feature (because URL is down, and impossible to find a alternative).
#
# Known issues:
# 1. DRM
# Original DVD's DRM is not recognized (I tested up to Wine 4.8), even after
# patching to v1.1 (patch only work from Wine 4.1). I tried 2 "NoCDs" without
# more success. The original DVD game seems impossible to run on Wine. Dadu042.


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Colin Mcrae Rally 2005"
PREFIX="colin2005"
WORKING_WINE_VERSION="4.1"
AUTHOR="Dadu042"
EDITOR="Codemasters"
GAME_URL="https://pcgamingwiki.com/wiki/Colin_McRae_Rally_2005"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
   
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

Set_OS "winxp"

POL_Call POL_Function_NoCDWarning

################
# GPU settings #
################

# Really indispensable ? (Dadu042)
POL_SetupWindow_VMS "64"

POL_Call POL_Install_VideoDriver

# Useless ?
# POL_Call POL_Install_d3dx9
 
###############
# Go          #
###############

POL_SetupWindow_InstallMethod "LOCAL,DVD"

POL_SetupWindow_message  "Warning: Please DO NOT install Gamespy ! (this is the way this script was tested).\nAnd do not launch the game at the end of the installation." "$TITLE"
   
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        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"
        cd "$POL_System_TmpDir"
else
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "cmr2005.ico"
        POL_Wine start /unix "$CDROM/Setup.exe"
        POL_Wine_WaitExit "Setup.exe"
        cd "$POL_System_TmpDir"
fi

POL_Shortcut "CMR5.EXE" "$TITLE" ""
POL_Shortcut_Document "$TITLE" "readme.txt"

###############
# Patch       #
###############
# URL down as of 2019-05-18
# URL="ftp://downloads.codemasters.com/patch/colin_mcrae%20rally_2005%20patch_installer.exe"


POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Saturday 18 May 2019 at 23:16
Dadu042

Warning

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

Message

Updated script. Remove 'patch download' feature (because URL is down, and impossible to find a alternative).

 

Read 'known issues' in the script (major DRM issue with the original DVD).

 

I have not tried the GOG.com release (they remove the DRMs), perhaps this edition can work.

Differences

@@ -1,74 +1,91 @@
 #!/bin/bash
 # Date : (2009-08-23 13-00)
-# Last revision : (2009-11-18 15-35)
-# Wine version used : 1.1.30
-# Distribution used to test : Ubuntu 9.10
-# Author : thib25
+# Last revision : (2019-05-18 16-14)
+# Wine version used : see below
+# Distribution used to test : Ubuntu 19.04
+# Author : thib25, Dadu042
 # Licence : Retail
- 
+#
+# Changelog:
+# 2019-05-18 Dadu042: fix script that did not start on POL v4.3.4.
+#            Rmove 'patch download' feature (because URL is down, and impossible to find a alternative).
+#
+# Known issues:
+# 1. DRM
+# Original DVD's DRM is not recognized (I tested up to Wine 4.8), even after
+# patching to v1.1 (patch only work from Wine 4.1). I tried 2 "NoCDs" without
+# more success. The original DVD game seems impossible to run on Wine. Dadu042.
+
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
+   
+TITLE="Colin Mcrae Rally 2005"
+PREFIX="colin2005"
+WORKING_WINE_VERSION="4.1"
+AUTHOR="Dadu042"
+EDITOR="Codemasters"
+GAME_URL="https://pcgamingwiki.com/wiki/Colin_McRae_Rally_2005"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+   
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_TmpCreate "$TITLE"
+
+Set_OS "winxp"
+
+POL_Call POL_Function_NoCDWarning
+
+################
+# GPU settings #
+################
+
+# Really indispensable ? (Dadu042)
+POL_SetupWindow_VMS "64"
+
+POL_Call POL_Install_VideoDriver
+
+# Useless ?
+# POL_Call POL_Install_d3dx9
  
-NAME="Colin Mcrae Rally 2005"
-PREFIX="CMR2005"
-URL="ftp://downloads.codemasters.com/patch/colin_mcrae%20rally_2005%20patch_installer.exe"
- 
-if [ "$POL_LANG" == "fr" ]; then
-INSTALLATION="Installation en cours..."
-INSTALLATIONPATCH="Installation de la mise à jour en cours..."
-DPATCH="Voulez-vous installer la mise à jour pour $NAME ?"
-DOWNLOAD="Téléchargement de la mise à jours en cours..."
-PATCHE="La mise à jour à été installée avec succès"
-MESSAGE="Veuillez noter que ce jeu a besoin d'un patch no-cd pour pouvoir être lancer.
-PlayOnLinux ne vous fournira aucune aide ou lien pour ce crack."
+###############
+# Go          #
+###############
+
+POL_SetupWindow_InstallMethod "LOCAL,DVD"
+
+POL_SetupWindow_message  "Warning: Please DO NOT install Gamespy ! (this is the way this script was tested).\nAnd do not launch the game at the end of the installation." "$TITLE"
+   
+if [ "$INSTALL_METHOD" == "LOCAL" ]; then
+        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"
+        cd "$POL_System_TmpDir"
 else
-INSTALLATION="Installation in progress..."
-INSTALLATIONPATCH="Installation of the update in progress..."
-DPATCH="Do you want to install the update for $NAME ?"
-PATCHE="The update has been installed successfully"
-DOWNLOAD="Download of the update in progress..."
-MESSAGE="Please note that this game need a no-cd patch to work.
-PlayOnLinux will not provide any help or link for this crack."
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom "cmr2005.ico"
+        POL_Wine start /unix "$CDROM/Setup.exe"
+        POL_Wine_WaitExit "Setup.exe"
+        cd "$POL_System_TmpDir"
 fi
- 
-POL_SetupWindow_Init 
- 
-POL_SetupWindow_presentation "$NAME" "Codemasters" "www.codemasters.com" "thib25" "$PREFIX"
- 
-POL_SetupWindow_install_wine "1.1.30"
- 
-POL_SetupWindow_cdrom
-POL_SetupWindow_check_cdrom "setup.exe"
- 
-select_prefix "$REPERTOIRE/wineprefix/$PREFIX/"
-POL_SetupWindow_prefixcreate
- 
-#PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"`
-#PROGRAMFILES=${PROGRAMFILES:3}
 
-PROGRAMFILES="Program Files"
-POL_LoadVar_PROGRAMFILES
- 
-POL_SetupWindow_wait_next_signal "$INSTALLATION" "$NAME"
-wine "$CDROM/setup.exe"
-POL_SetupWindow_detect_exit
- 
-POL_SetupWindow_question "$DPATCH" "$NAME" 
- 
-if [ "$APP_ANSWER" == "TRUE" ] ;then
-cd "$REPERTOIRE/tmp"
-POL_SetupWindow_download "$DOWNLOAD" "$NAME" "$URL"
-POL_SetupWindow_wait_next_signal "$INSTALLATIONPATCH" "$NAME"
-wine "./colin_mcrae%20rally_2005%20patch_installer.exe"
-POL_SetupWindow_detect_exit
-POL_SetupWindow_message "$PATCHE" "$NAME"
-rm -rf colin_mcrae%20rally_2005%20patch_installer.exe
-fi 
- 
-POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Codemasters/Colin McRae Rally 2005" "cmr5.exe" "" "$NAME"
- 
-Set_WineVersion_Assign "1.1.30" "$NAME"
-POL_SetupWindow_message_image "$MESSAGE" "$NAME" "$PLAYONLINUX/themes/tango/warning.png"
- 
+POL_Shortcut "CMR5.EXE" "$TITLE" ""
+POL_Shortcut_Document "$TITLE" "readme.txt"
+
+###############
+# Patch       #
+###############
+# URL down as of 2019-05-18
+# URL="ftp://downloads.codemasters.com/patch/colin_mcrae%20rally_2005%20patch_installer.exe"
+
+
+POL_System_TmpDelete
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit 0

New source code

#!/bin/bash
# Date : (2009-08-23 13-00)
# Last revision : (2019-05-18 16-14)
# Wine version used : see below
# Distribution used to test : Ubuntu 19.04
# Author : thib25, Dadu042
# Licence : Retail
#
# Changelog:
# 2019-05-18 Dadu042: fix script that did not start on POL v4.3.4.
#            Rmove 'patch download' feature (because URL is down, and impossible to find a alternative).
#
# Known issues:
# 1. DRM
# Original DVD's DRM is not recognized (I tested up to Wine 4.8), even after
# patching to v1.1 (patch only work from Wine 4.1). I tried 2 "NoCDs" without
# more success. The original DVD game seems impossible to run on Wine. Dadu042.


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Colin Mcrae Rally 2005"
PREFIX="colin2005"
WORKING_WINE_VERSION="4.1"
AUTHOR="Dadu042"
EDITOR="Codemasters"
GAME_URL="https://pcgamingwiki.com/wiki/Colin_McRae_Rally_2005"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
   
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

Set_OS "winxp"

POL_Call POL_Function_NoCDWarning

################
# GPU settings #
################

# Really indispensable ? (Dadu042)
POL_SetupWindow_VMS "64"

POL_Call POL_Install_VideoDriver

# Useless ?
# POL_Call POL_Install_d3dx9
 
###############
# Go          #
###############

POL_SetupWindow_InstallMethod "LOCAL,DVD"

POL_SetupWindow_message  "Warning: Please DO NOT install Gamespy ! (this is the way this script was tested).\nAnd do not launch the game at the end of the installation." "$TITLE"
   
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        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"
        cd "$POL_System_TmpDir"
else
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "cmr2005.ico"
        POL_Wine start /unix "$CDROM/Setup.exe"
        POL_Wine_WaitExit "Setup.exe"
        cd "$POL_System_TmpDir"
fi

POL_Shortcut "CMR5.EXE" "$TITLE" ""
POL_Shortcut_Document "$TITLE" "readme.txt"

###############
# Patch       #
###############
# URL down as of 2019-05-18
# URL="ftp://downloads.codemasters.com/patch/colin_mcrae%20rally_2005%20patch_installer.exe"


POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Edited by Dadu042

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