Scripts

Script for Grand Theft Auto 3

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

cfg_check

presentation "GTA 3" "Rockstar Games" "http://www.rockstargames.com/grandtheftauto3/" "Toumeno" "GTA3" 1 3

select_prefixe "$REPERTOIRE/wineprefix/GTA3/"
creer_prefixe 2 3

cd $WINEPREFIX/dosdevices
rm ./*
ln -s ../drive_c c:
ln -s / z:
ln -s $TEMP d:

Ask_For_cdrom
Check_cdrom "Setup.exe"
wine $CDROM/Setup.exe

#Add here script configuration like assignation
Set_OS win2k
Set_Managed On
Set_DXGrab On
simuler_reboot 3 3
creer_lanceur "GTA3" "Program Files/Rockstar Games/GTAIII" "gta3.exe" "gta3.xpm" "GTA 3"

attention "Quand vous lancerez GTA 3, patientez quelques secondes puis double-cliquez pour lancer correctement le jeu.\n\nWhen you will run GTA 3, wait a few seconds and double-click to launch correctly the game."

exit