Grand Theft Auto 3

Informations

Creator Nachricht
Toumeno

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 77986
Wine: System

Feedbacks

Source code

#!/bin/bash
# Date: (2009-10-31 00-25)
# Distribution used to test: Frugalware Current
# Wine version used: 1.1.32 
# Author: Toumeno
# Maintener : Berillions
# Graphic Card : GeForce GTX275
# Drivers : 190.42

#fetching PROGRAMFILES environmental variable
#PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"`
#PROGRAMFILES=${PROGRAMFILES:3}

PROGRAMFILES="Program Files"
POL_LoadVar_PROGRAMFILES

#Vérifier que PlayOnLinux est bien exécuté avant
[ "$PLAYONLINUX" = "" ] && exit 0 
 
#Charger les librairies
source "$PLAYONLINUX/lib/sources"

Title="Grand Theft Auto 3"
Prefix="GTA3"

wget http://upload.wikimedia.org/wikipedia/en/thumb/b/be/GTA3boxcover.jpg/256px-GTA3boxcover.jpg --output-document="$REPERTOIRE/tmp/$Prefix.jpg"
convert "$REPERTOIRE/tmp/$Prefix.jpg" -scale 150x356\! "$REPERTOIRE/tmp/left.jpg"
POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpg"

POL_SetupWindow_presentation "$Title" "Rockstar Games" "http://www.rockstargames.com/grandtheftauto3/" "Toumeno" "$Prefix"

#Installation de Wine
POL_SetupWindow_install_wine "1.1.32"

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Setup.exe"

select_prefixe "$REPERTOIRE/wineprefix/$Prefix"
POL_SetupWindow_prefixcreate

POL_SetupWindow_wait_next_signal "Installing Grand Theft Auto 3 ... please wait" "Grand Theft Auto 3"
wine $CDROM/Setup.exe
POL_SetupWindow_detect_exit

#Add here script configuration like assignation
Set_OS winxp

Set_Managed On
Set_DXGrab On

POL_SetupWindow_reboot

TEMP="$WINEPREFIX/drive_c/Program Files/Rockstar Games/GTAIII/Icons"
convert "$TEMP/gta3.ico" -geometry 32x32 "$REPERTOIRE/icones/32/$Title"

POL_SetupWindow_make_shortcut "$Prefix" "$PROGRAMFILES/Rockstar Games/GTAIII" "gta3.exe" "" "$Title"

Set_WineVersion_Assign "1.1.32" "$Title"

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

Contributions

Filters:

Contribute
Member Nachricht