Das Forum

Colin Mcrae Rally 2

Autor Antworten
thib25 Thursday 8 October 2009 at 21:41
thib25Anonymous

Bon, je m'attaque maintenant à la version 2 de colin mcrae rally ;-).







#!/bin/bash
# Date : (2009-10-08 19-10)
# Last revision : (2009-10-08 19-10)
# Wine version used : 1.1.30
# Distribution used to test : Ubuntu 9.04
# Author : thib25
# Licence : Retail
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

NAME="Colin Mcrae Rally 2"
PREFIX="CMR2"
URL="ftp://989ad03141c40a5464aa6ee42abe879f:1255050393@longtail.archive1.clubic.com/longtail/longtail/patch/Colin_Mc_Rae_Rally_2.0_Patch_1.05.exe"

if [ "$POL_LANG" == "fr" ]; then
INSTALLATION="Installation en cours..."
DPATCH="Voulez-vous installer la mise à jour pour $NAME ?"
INSTALLATIONPATCH="Installation de la mise à jour en cours..."
PATCHE="La mise à jour à été installée avec succès"
DOWNLOAD="Téléchargement de la mise à jours en cours..."
else
INSTALLATION="Installation in progress..."
DPATCH="Do you want to install the update for $NAME ?"
INSTALLATIONPATCH="Installation of the update in progress..."
PATCHE="The update has been installed successfully"
DOWNLOAD="Download of the update in progress..."
fi

wget http://i24.tinypic.com/1zb7w9l.jpg --output-document="$REPERTOIRE/tmp/leftnotscaled.jpeg"
convert "$REPERTOIRE/tmp/leftnotscaled.jpeg" -scale 150x356\\! "$REPERTOIRE/tmp/left.jpeg"
POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpeg"

POL_SetupWindow_presentation "$NAME"  "Codemasters" "www.codemasters.com" "thib25" "$PREFIX"

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Setup.exe"

select_prefixe "$REPERTOIRE/wineprefix/$PREFIX/"
POL_SetupWindow_prefixcreate

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_Mc_Rae_Rally_2.0_Patch_1.05.exe"
POL_SetupWindow_detect_exit
POL_SetupWindow_message "$PATCHE" "$NAME"
fi

POL_SetupWindow_make_shortcut "$PREFIX" "Program Files/Codemasters/Colin McRae Rally 2" "CMR2.exe" "" "$NAME"

POL_SetupWindow_Close
exit

Alors il marche correctement dans un bureau virtuel de 800*600 par contre en plein écran ça bug. Si quelqu'un pouvait tester pour voir si je suis un cas isolé ou si c'est chez tout le monde :sad:. Dans ce cas je verrais pour modifier le script.
thib25 Friday 9 October 2009 at 18:55
thib25Anonymous

Bon voilà une nouvelle version par contre j'ai un problème pour le téléchargement c'est que j'arrive pas à trouver un site où je peux télécharger le patch, l'url que j'ai mis ne marche plus :sad:.

#!/bin/bash
# Date : (2009-10-08 19-10)
# Last revision : (2009-10-08 19-10)
# Wine version used : 1.1.30
# Distribution used to test : Ubuntu 9.04
# Author : thib25
# Licence : Retail
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

NAME="Colin Mcrae Rally 2"
PREFIX="CMR2"
URL="ftp://989ad03141c40a5464aa6ee42abe879f:1255050393@longtail.archive1.clubic.com/longtail/longtail/patch/Colin_Mc_Rae_Rally_2.0_Patch_1.05.exe"

if [ "$POL_LANG" == "fr" ]; then
INSTALLATION="Installation en cours..."
DPATCH="Voulez-vous installer la mise à jour pour $NAME ?"
INSTALLATIONPATCH="Installation de la mise à jour en cours..."
PATCHE="La mise à jour à été installée avec succès"
DOWNLOAD="Téléchargement de la mise à jours en cours..."
else
INSTALLATION="Installation in progress..."
DPATCH="Do you want to install the update for $NAME ?"
INSTALLATIONPATCH="Installation of the update in progress..."
PATCHE="The update has been installed successfully"
DOWNLOAD="Download of the update in progress..."
fi

wget http://i24.tinypic.com/1zb7w9l.jpg --output-document="$REPERTOIRE/tmp/leftnotscaled.jpeg"
convert "$REPERTOIRE/tmp/leftnotscaled.jpeg" -scale 150x356\\! "$REPERTOIRE/tmp/left.jpeg"
POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpeg"

POL_SetupWindow_presentation "$NAME"  "Codemasters" "www.codemasters.com" "thib25" "$PREFIX"

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Setup.exe"

select_prefixe "$REPERTOIRE/wineprefix/$PREFIX/"
POL_SetupWindow_prefixcreate

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_Mc_Rae_Rally_2.0_Patch_1.05.exe"
POL_SetupWindow_detect_exit
POL_SetupWindow_message "$PATCHE" "$NAME"
rm -rf Colin_Mc_Rae_Rally_2.0_Patch_1.05.exe
fi

Set_Desktop On 800 600

POL_SetupWindow_make_shortcut "$PREFIX" "Program Files/Codemasters/Colin McRae Rally 2" "CMR2.exe" "" "$NAME"

POL_SetupWindow_Close
exit
Berillions Saturday 10 October 2009 at 0:05
Berillions

thib25 Wednesday 14 October 2009 at 13:58
thib25Anonymous

Voilà une nouvelle version, elle marche parfaitement bien :
#!/bin/bash
# Date : (2009-10-08 19-10)
# Last revision : (2009-10-08 19-10)
# Wine version used : 1.1.30
# Distribution used to test : Ubuntu 9.04
# Author : thib25
# Licence : Retail
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

NAME="Colin Mcrae Rally 2"
PREFIX="CMR2"
URL="http://longtail.archive2.clubic.com/files/bddd17f2d567345f733842d21363daff/4ad5b9f5/longtail/patch/Colin_Mc_Rae_Rally_2.0_Patch_1.05.exe"

if [ "$POL_LANG" == "fr" ]; then
INSTALLATION="Installation en cours..."
DPATCH="Voulez-vous installer la mise à jour pour $NAME ?"
INSTALLATIONPATCH="Installation de la mise à jour en cours..."
PATCHE="La mise à jour à été installée avec succès"
DOWNLOAD="Téléchargement de la mise à jours en cours..."
else
INSTALLATION="Installation in progress..."
DPATCH="Do you want to install the update for $NAME ?"
INSTALLATIONPATCH="Installation of the update in progress..."
PATCHE="The update has been installed successfully"
DOWNLOAD="Download of the update in progress..."
fi

wget http://i24.tinypic.com/1zb7w9l.jpg --output-document="$REPERTOIRE/tmp/leftnotscaled.jpeg"
convert "$REPERTOIRE/tmp/leftnotscaled.jpeg" -scale 150x356\\! "$REPERTOIRE/tmp/left.jpeg"
POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpeg"

POL_SetupWindow_presentation "$NAME"  "Codemasters" "www.codemasters.com" "thib25" "$PREFIX"

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Setup.exe"

select_prefixe "$REPERTOIRE/wineprefix/$PREFIX/"
POL_SetupWindow_prefixcreate

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_Mc_Rae_Rally_2.0_Patch_1.05.exe"
POL_SetupWindow_detect_exit
POL_SetupWindow_message "$PATCHE" "$NAME"
rm -rf Colin_Mc_Rae_Rally_2.0_Patch_1.05.exe
fi

Set_Desktop On 800 600

POL_SetupWindow_make_shortcut "$PREFIX" "Program Files/Codemasters/Colin McRae Rally 2" "CMR2.exe" "" "$NAME"

POL_SetupWindow_Close
exit

Je pense que je peux demander la validation :).
keb Tuesday 17 November 2009 at 10:12
kebAnonymous

Bonjour

J'ai installe colin Mcrae 2 sur playonlinux.
Ca demarre bien, mais je n'ai que la video du debut, pas moyen d'acceder au jeux...

Je vois pas trop quel peut etre le soucis...


Keb
thib25 Wednesday 18 November 2009 at 15:13
thib25Anonymous

Moi non plus je ne comprends pas j'ai pourtant la dernière version de Wine et le jeu marche sans aucun problème. Par ailleurs est-ce que tu joues en plein écran ?
keb Wednesday 18 November 2009 at 15:22
kebAnonymous

plutot en mode fenetre 800x600
thib25 Wednesday 18 November 2009 at 16:36
thib25Anonymous

Ah bah je comprends pas. Tu peux me dire quel version de wine tu as d'installer. Essaye d'installer la version 1.1.30 qui fonctionne à merveille avec.
keb Thursday 19 November 2009 at 10:19
kebAnonymous

Effectivement avec la version 1.1.30 ca fonctionne mieux. J'arrive a lancer le jeux, mais par contre je ne vois pas les decors.....
thib25 Thursday 19 November 2009 at 21:14
thib25Anonymous

Désolé je ne vais pas pouvoir beaucoup t'aider. Tu as quoi comme carte graphique et comme driver ?
keb Monday 23 November 2009 at 12:21
kebAnonymous

J'ai une carte graphique nvidia (je ne sais plus laquelle exactement) et j'utilise les driver nvidia
thib25 Monday 23 November 2009 at 21:54
thib25Anonymous

Bon bah je ne vais pas tellement pouvoir t'aider, je ne maitrise pas complétement linux pour t'aider. Désolé. A la limite essaye avec wine 1.1.22 mais bon je ne promet rien.