Applications

Choose a category

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

Call Of Duty 2

#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"
cfg_check
 
POL_SetupWindow_Init "" ""
 
#Presentation
POL_SetupWindow_presentation "Call Of Duty 2" "Activision" "http://www.activision.com" "tef" "CallOfDuty2"
 
POL_SetupWindow_message "Un message d'erreur Directx sera affiché à la fin de l'installation du jeu, vous pouvez ignorer ce message."
 
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"
 
mkdir -p $REPERTOIRE/wineprefix/CallOfDuty2
select_prefixe "$REPERTOIRE/wineprefix/CallOfDuty2"
POL_SetupWindow_prefixcreate
 
 
cd drive_c/windows/
mkdir temp
cd $WINEPREFIX/dosdevices
rm ./*
ln -s ../drive_c c:
ln -s / z:
ln -s $CDROM ./d:
cd $CDROM
wine d:\setup.exe
 
POL_SetupWindow_reboot
 
POL_SetupWindow_make_shortcut "CallOfDuty2" "Program Files/Activision/Call of Duty 2/" "CoD2SP_s.exe" "" "Call Of Duty 2 solo"
POL_SetupWindow_make_shortcut "CallOfDuty2" "Program Files/Activision/Call of Duty 2/" "CoD2MP_s.exe" "" "Call Of Duty 2 - Multijoueur" "Cod2mp"
 
POL_SetupWindow_message "Installation terminée\n\nInstall finished"
 
POL_SetupWindow_Close
 
exit
Il n'y a rien à voir ici