The forum

Grand Theft Auto Vice City

Author Replies
parox Saturday 26 April 2008 at 17:53
parox

Version of wine : 0.9.50 or better
Distribution : Ubuntu but test on any one
Version of the distribution : 8.04 (Hardy) but Test on your
Graphics card : Just Test on yours and tell us yours. xD
Drivers of the graphics card : Just Test on yours and tell us yours. xD
Comments : On my Computer work very well. No bug no problems. When is
opening, can be something like your desktop biger but press Space and that will work ;)





Please if you can test it and tell us on what detalist it work

#!/bin/bash
#Vérifier que PlayOnLinux est bien exécuté avant
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
#Charger les librairies
source "$PLAYONLINUX/lib/sources"

#Verifier les dépendences
cfg_check

#Presentation
presentation "Grand Teft Auto : Vice City" "Rockstar Game" "http://www.rockstargames.com/grandtheftauto/" "parox" "GTAVC" 1 3

#Cette partie contiendra le code du jeu.
#Regardez mon deuxieme post pour apprendre a remplir cette partie

mkdir -p $REPERTOIRE/wineprefix/GTAVC
select_prefixe "$REPERTOIRE/wineprefix/GTAVC"
creer_prefixe 2 3

Ask_For_cdrom
Check_cdrom "setup.exe" 3 3

wine $CDROM/setup.exe

#Fin du code du jeu
#Création du lanceur

creer_lanceur "GTAVC" "Program Files/Rockstar Games/Grand Theft Auto Vice City" "gta-vc.exe"

message "Installation terminée"
exit

Edited by parox


Umieć żyć, znaczy walczyć i zwyciężać!
Ghostofkendo Monday 5 May 2008 at 15:06
Ghostofkendo

Hi parox,

First, I moved your topic in "Your creations" because the "Script tests" sub-section is for already validated scripts only.

About your script itself, I will test it during this week.
But first, here is a translated version (translated comments mainly):
#!/bin/bash
#Check that PlayOnLinux was properly ran
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
#Load the libraries
source "$PLAYONLINUX/lib/sources"

#Check the dependencies
cfg_check

#Presentation
presentation "Grand Theft Auto : Vice City" "Rockstar Game" "http://www.rockstargames.com/grandtheftauto/" "parox" "GTAVC" 1 3

#Prefix's creation
mkdir -p $REPERTOIRE/wineprefix/GTAVC
select_prefix "$REPERTOIRE/wineprefix/GTAVC"
polprefixcreate 2 3

#Ask for CDROM's directory and check installer's presence
Ask_For_cdrom
Check_cdrom "setup.exe" 3 3

#Start installation
wine $CDROM/setup.exe

#Launcher
creer_lanceur "GTAVC" "Program Files/Rockstar Games/Grand Theft Auto Vice City" "gta-vc.exe" "" "Grand Theft Auto : Vice City"

message "Installation complete"
exit


Finally, I strongly advise you to read the documentation if it's not yet done.

Bye
parox Tuesday 6 May 2008 at 21:41
parox

Ok Ghostofkendo

Thanks :P

Umieć żyć, znaczy walczyć i zwyciężać!
Toumeno Wednesday 7 May 2008 at 14:28
Toumeno

Thanks for your work parox !

a few corrections :



#!/bin/bash
#Vérifier que PlayOnLinux est bien exécuté avant
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
#Charger les librairies
source "$PLAYONLINUX/lib/sources"

#Verifier les dépendences
cfg_check

#Presentation
presentation "Grand Teft Auto : Vice City" "Rockstar Game" "http://www.rockstargames.com/grandtheftauto/" "parox" "GTAVC" 1 3

#Cette partie contiendra le code du jeu.
#Regardez mon deuxieme post pour apprendre a remplir cette partie

mkdir -p $REPERTOIRE/wineprefix/GTAVC
select_prefixe "$REPERTOIRE/wineprefix/GTAVC"
creer_prefixe 2 3

Ask_For_cdrom
Check_cdrom "setup.exe" 3 3

wine $CDROM/setup.exe
message "Click on Next ONLY if the installation is finished."

#Fin du code du jeu
#Création du lanceur

creer_lanceur "GTAVC" "Program Files/Rockstar Games/Grand Theft Auto Vice City" "gta-vc.exe" "" "GTA Vice City"

message "Installation terminée"
exit




Does your script run without crack, parox ?

Edited by Toumeno

parox Thursday 8 May 2008 at 0:32
parox

Yep. I'm never use oryginal CDs :P

Umieć żyć, znaczy walczyć i zwyciężać!
Deleted Spammer

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com