Applications

Choose a category

accessories
Accessories
development
Development
education
Education
functions
Functions
games
Games
graphics
Graphics
internet
Internet
multimedia
Multimedia
office
Office
other
Other

Rally Championship 2000

Magic number : 56

#!/bin/bash
# Date : (2009-06-11 11-00)
# Last revision : (2009-06-11 11-00)
# Wine version used : N/A
# Distribution used to test : Fedora 10
# Author : NSLW
# Licence : Retail
 
#Translated from V2 to V3
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
#fetching PROGRAMFILES environmental variable
PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"`
PROGRAMFILES=${PROGRAMFILES:3}
 
TITLE="Rally Championship 2000"
PREFIX="RallyChampionship2000"
 
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Ubisoft" "http://www.ubi.com" "Tophu and NSLW" "$PREFIX"
 
#presentation "Rally Championship 2000" "Ubisoft" "http://www.ubi.com/fr" "Tophu" "RallyChampionship2000"
 
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "ral.exe"
cd "$WINEPREFIX/dosdevices"
ln -s $CDROM d:
 
echo "[HKEY_LOCAL_MACHINE\\Software\\Wine\\Drives]" > $REPERTOIRE/tmp/cdrom.reg
echo "\"d:\"=\"cdrom\"" >> $REPERTOIRE/tmp/cdrom.reg
regedit $REPERTOIRE/tmp/cdrom.reg
 
select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
POL_SetupWindow_prefixcreate
 
Set_OS "win98"
Set_SoundDriver "alsa"
Set_SoundBitsPerSample "16"
Set_SoundSampleRate "44100"
Set_SoundEmulDriver "Y"
Set_SoundHardwareAcceleration "Emulation"
 
POL_SetupWindow_message "Pendant l'installation ne changez pas le disque et le répertoire de destination (par défaut: 'c:' et '/rc/'), par contre, libre à vous en ce qui concerne le type d'installation (mini, normal ou encore full)." "$TITLE"
 
POL_SetupWindow_message "Une fois l'installation passée, le jeu va immédiatement démarrer, quittez-le lorsque vous serez au menu général (cela vous permettra de valider les derniers détails)." "$TITLE"
 
POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE"
cd $CDROM
wine "ral.exe"
POL_SetupWindow_detect_exit
 
POL_SetupWindow_message "Cliquez sur 'Validez' uniquement lorsque l'installation sera terminée et le jeu arrêté." "$TITLE"
 
POL_SetupWindow_make_shortcut "$PREFIX" "rc/" "ral.exe" "" "$TITLE" "" ""
POL_SetupWindow_reboot
 
POL_SetupWindow_message "Installation terminée." "$TITLE"
 
POL_SetupWindow_Close
exit
 
#Ask_For_cdrom
#Check_cdrom "ral.exe"
 
#mkdir -p $HOME/.PlayOnLinux/wineprefix/RallyChampionship2000
#cd $HOME/.PlayOnLinux/wineprefix/RallyChampionship2000
#select_prefixe "$(pwd)"
#creer_prefixe
#cd $WINEPREFIX/dosdevices
#rm ./*
#ln -s ../drive_c c:
#ln -s / z:
#ln -s $CDROM ./d:
 
#Set_OS win98
 
#Set_SoundDriver "alsa"
 
#echo "[HKEY_CURRENT_USERSoftwareWineDirectSound]" > $REPERTOIRE/tmp/directsound.reg
#echo ""DefaultBitsPerSample"="16"" >> $REPERTOIRE/tmp/directsound.reg
#echo ""DefaultSampleRate"="44100"" >> $REPERTOIRE/tmp/directsound.reg
#echo ""EmulDriver"="Y"" >> $REPERTOIRE/tmp/directsound.reg
#echo ""HardwareAcceleration"="Emulation"" >> $REPERTOIRE/tmp/directsound.reg
#regedit $REPERTOIRE/tmp/directsound.reg
 
#cd $REPERTOIRE/tmp
#rm -r ./*
 
#message "Pendant l'installation ne changez pas le disque et le répertoire de destination (par défaut: 'c:' et '/rc/'), par contre, libre à vous en ce qui concerne le type d'installation (mini, normal ou encore full)."
 
#message "Une fois l'installation passée, le jeu va immédiatement démarrer, quittez-le lorsque vous serez au menu général (cela vous permettra de valider les derniers détails)."
 
#wine d:\ral.exe
 
#message "Cliquez sur 'Validez' uniquement lorsque l'installation sera terminée et le jeu arrêté."
 
#simuler_reboot
 
#creer_lanceur "RallyChampionship2000" "rc/" "ral.exe"
 
#message "Installation terminée."
 
#exit
Il n'y a rien à voir ici