Grand Theft Auto : Vice City

Informations

Créateur Messages
parox

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 79720
Wine:

Retours d'expérience

Description

Action-adventure video game (2003). Thug doing car thief. Wikipedia.

Appdb.winehq.org   PCGamingWiki

Code source

#!/bin/bash
# Date : (2018-08-21 22-46)
# Last revision : (2018-08-21 22-46)
# Wine version used : 3.0.2
# Distribution used to test : Ubuntu 18.04 x64 with I7-7700K and GTX 1070
# Script licence : GPL3
# Licence : retail
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Grand Theft Auto : Vice City"
PREFIX="GTAVC"
EDITOR="Rockstar Games"
AUTHOR="LinuxScripter"
GAME_URL="http://www.rockstargames.com/grandtheftauto/"
WORKINGWINEVERSION="3.0.2"

POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_SetupWindow_InstallMethod "CD,LOCAL"
if [ "$INSTALL_METHOD" = "CD" ]; then
POL_SetupWindow_cdrom
#POL_SetupWindow_check_cdrom "setup.ico"
POL_Wine start /unix "$CDROM/Setup.exe"
POL_Wine_WaitExit "$TITLE"
else
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"
fi
 
POL_Shortcut "gtavc.exe" "$TITLE" "" ""
 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
LinuxScripter Mardi 21 Aoüt 2018 à 22:58
LinuxScripter Anonymous

Information

Cette mise à jour a été acceptée par l'équipe

Messages

Rewrothe the script. However I am not sure if the names for the .exe files are correct since I do not own the instalation CD. Please change it acordingly.

Differences

@@ -1,68 +1,44 @@
 #!/bin/bash
-# Date : (2009-05-23 14-30)
-# Last revision : (2010-04-12 15-00)
-# Wine version used : N/A 
-# Distribution used to test : N/A
-# Author : NSLW
-# Licence : Retail
-
-#Translated from V2 to V3
-
+# Date : (2018-08-21 22-46)
+# Last revision : (2018-08-21 22-46)
+# Wine version used : 3.0.2
+# Distribution used to test : Ubuntu 18.04 x64 with I7-7700K and GTX 1070
+# Script licence : GPL3
+# Licence : retail
+ 
 [ "$PLAYONLINUX" = "" ] && exit 0
-#Charger les librairies 
-source "$PLAYONLINUX/lib/sources" 
-
+source "$PLAYONLINUX/lib/sources"
+ 
 TITLE="Grand Theft Auto : Vice City"
 PREFIX="GTAVC"
-WORKINGWINEVERSION="1.1.40"
-
-wget http://upload.wikimedia.org/wikipedia/en/c/ce/Vice-city-cover.jpg --output-document="$REPERTOIRE/tmp/leftnotscaled.jpeg"
-convert "$REPERTOIRE/tmp/leftnotscaled.jpeg" -scale 150x356\! "$REPERTOIRE/tmp/left.jpeg"
-POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpeg"
-
-POL_SetupWindow_presentation "$TITLE" "Rockstar Game" "http://www.rockstargames.com/grandtheftauto/" "parox and NSLW" "$PREFIX" 
-
-select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
-
-#downloading specific Wine
-POL_SetupWindow_install_wine "$WORKINGWINEVERSION"
-Use_WineVersion "$WORKINGWINEVERSION"
-
-#creating application's own prefix
-POL_SetupWindow_prefixcreate
-
-#fetching PROGRAMFILES environmental variable
-PROGRAMFILES="Program Files" 
-POL_LoadVar_PROGRAMFILES
-
-POL_SetupWindow_message "Please insert $TITLE media into your disk drive."
+EDITOR="Rockstar Games"
+AUTHOR="LinuxScripter"
+GAME_URL="http://www.rockstargames.com/grandtheftauto/"
+WORKINGWINEVERSION="3.0.2"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+ 
+POL_SetupWindow_InstallMethod "CD,LOCAL"
+if [ "$INSTALL_METHOD" = "CD" ]; then
 POL_SetupWindow_cdrom
-POL_SetupWindow_check_cdrom "setup.exe"
-
-cd "$WINEPREFIX/dosdevices"
-ln -s "$CDROM" e:
-cd "$WINEPREFIX/drive_c/windows/temp/" 
-echo "[HKEY_LOCAL_MACHINE\\Software\\Wine\\Drives]" > cdrom.reg
-echo "\"e:\"=\"cdrom\"" >> cdrom.reg
-regedit cdrom.reg
-sleep 5
-
-#POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE"
-wine start /unix "$CDROM/setup.exe"
-POL_SetupWindow_message "When the installer will ask you for 2nd CD, click NEXT." "$TITLE"
-wine eject
-POL_SetupWindow_message "Click NEXT when the installation will finish" "$TITLE"
-wine eject
-#cd "$CDROM"
-#wine "setup.exe"
-#POL_SetupWindow_detect_exit
-
-POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Rockstar Games/Grand Theft Auto Vice City" "gta-vc.exe" "" "$TITLE" "" ""
-Set_WineVersion_Assign "$WORKINGWINEVERSION" "$TITLE"
-
-POL_SetupWindow_message "$TITLE has been installed successfully" "$TITLE"
-
-POL_SetupWindow_message_image "Please note that this game has a copy protection system\nand sadly, it prevents Wine from running the game.\n\nPlayOnLinux will not provide any help concerning any illegal\nstuff." "Note about copy protection" "$PLAYONLINUX/themes/tango/warning.png"
-
+#POL_SetupWindow_check_cdrom "setup.ico"
+POL_Wine start /unix "$CDROM/Setup.exe"
+POL_Wine_WaitExit "$TITLE"
+else
+cd "$HOME"
+POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
+POL_Wine start /unix "$APP_ANSWER"
+POL_Wine_WaitExit "$TITLE"
+fi
+ 
+POL_Shortcut "gtavc.exe" "$TITLE" "" ""
+ 
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2018-08-21 22-46)
# Last revision : (2018-08-21 22-46)
# Wine version used : 3.0.2
# Distribution used to test : Ubuntu 18.04 x64 with I7-7700K and GTX 1070
# Script licence : GPL3
# Licence : retail
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Grand Theft Auto : Vice City"
PREFIX="GTAVC"
EDITOR="Rockstar Games"
AUTHOR="LinuxScripter"
GAME_URL="http://www.rockstargames.com/grandtheftauto/"
WORKINGWINEVERSION="3.0.2"

POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_SetupWindow_InstallMethod "CD,LOCAL"
if [ "$INSTALL_METHOD" = "CD" ]; then
POL_SetupWindow_cdrom
#POL_SetupWindow_check_cdrom "setup.ico"
POL_Wine start /unix "$CDROM/Setup.exe"
POL_Wine_WaitExit "$TITLE"
else
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"
fi
 
POL_Shortcut "gtavc.exe" "$TITLE" "" ""
 
POL_SetupWindow_Close
exit 0

Réponses

Gray_John Mardi 7 Aoüt 2018 à 22:38
Gray_John Anonymous

Messages

Can't install. After step: "Please insert disk" show list with:
- another
- refresh

Refresh do nothing. Another redirect me to folder url field where `/media/<myname>/cdrom` is pased.
But after clicking Next show - Error! Can't find CD-ROM

Réponses

Anonymous
Mercredi 8 Aoüt 2018 à 13:02
Same for me :(

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 dmca-notice@playonlinux.com