Applications

Choose a category

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

Prey

#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"

cfg_check

if [ "$POL_LANG" == "fr" ]; then
LNG_WAIT_END="Appuyez sur \"Suivant\" UNIQUEMENT quand l'installation du\njeu sera terminée sous peine de devoir recommencer l'installation."
else
LNG_WAIT_END="Click on \"Next\" ONLY when the game installation is finished\nor you will have to redo the installation."
fi

cd $REPERTOIRE/tmp
rm *.jpg
wget $SITE/setups/prey/left.jpg
POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpg"
POL_SetupWindow_presentation "Prey" "2K Games" "http://www.prey.com/flash.html" "GNU_Raziel" "Prey"

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"

select_prefixe "$REPERTOIRE/wineprefix/Prey/"
POL_SetupWindow_prefixcreate

cp $CDROM/cdkey.dll $WINEPREFIX/drive_c/windows/system32/
Set_OS "winxp"
wine d:\\setup.exe

POL_SetupWindow_message "$LNG_WAIT_END" "Prey"

Set_Managed "On"
Set_DXGrab "On"

echo "[HKEY_CURRENT_USER\Software\Wine\Direct3D]" > $REPERTOIRE/tmp/ddr.reg
echo "\"DirectDrawRenderer\"=\"opengl\"" >> $REPERTOIRE/tmp/ddr.reg
regedit $REPERTOIRE/tmp/ddr.reg

POL_SetupWindow_reboot

POL_SetupWindow_make_shortcut "Prey" "Program Files/Prey" "prey.exe" "Prey.xpm" "Prey"
POL_SetupWindow_Close
exit

Il n'y a rien à voir ici