Grand Theft Auto : San Andreas
Informations
Créateur | Messages |
---|---|
Tr4sK
|
AttentionThis installer is a beta script. It means that it might not work as expected InformationsPlate-formes : Retours d'expérience3 3 DescriptionAction-adventure video game (2004). Thug doing car thief. Wikipedia. Code source#!/bin/bash # Date : (2009-05-23 14-30) # Last revision : (see changelog) # Wine version used : 2.22 # Distribution used to test : Kubuntu 18.04 x64 # Author : Tr4sK & GNU_Raziel # Licence : Retail # Only For : http://www.playonlinux.com # CHANGELOG # [Tr4sK or GNU_Raziel] (2009) # First script. # [Dadu042] (2019-10-05) # Wine 1.7.35 -> 2.22 [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Grand Theft Auto : San Andreas" PREFIX="GTA_SA" WORKING_WINE_VERSION="2.22" GAME_VMS="256" # Starting the script rm "$POL_USER_ROOT/tmp/*.jpg" POL_SetupWindow_Init # Starting debugging API POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Rockstar Game" "http://www.rockstargames.com/grandtheftauto/" "Tr4sK & GNU_Raziel" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "auto" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Choose between DVD and Digital Download version POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL" # Installing mandatory dependencies if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam fi # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "12120" # Begin game installation if [ "$INSTALL_METHOD" == "DVD" ]; then # Asking for CDROM and checking if it's correct one POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "setup.exe" POL_Wine start /unix "$CDROM/setup.exe" POL_Wine_WaitExit "$TITLE" elif [ "$INSTALL_METHOD" == "STEAM" ]; then cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/12120 POL_Wine_WaitExit "$TITLE" else # Asking then installing DDV of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" fi # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Fix for this game # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" # End Fix ## PlayOnMac Section [ "$POL_OS" = "Mac" ] && Set_Managed "Off" ## End Section # Cleaning temp if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then rm -rf "$WINEPREFIX/drive_c/windows/temp/*" chmod -R 777 "$POL_USER_ROOT/tmp/" rm -rf "$POL_USER_ROOT/tmp/*" fi # Making shortcut if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/12120" else POL_Shortcut "gta_sa.exe" "$TITLE" "" "" "Game;ActionGame;" fi POL_SetupWindow_Close exit 0 |
Contributions
Filters:
ContribuerMembre | Messages |
Dadu042 | Mercredi 9 Octobre 2019 à 23:06 |
Dadu042
|
InformationCette mise à jour a été acceptée par l'équipe MessagesTested 5 min. Differences@@ -1,94 +1,100 @@ #!/bin/bash # Date : (2009-05-23 14-30) -# Last revision : (2011-08-31 17:01) -# Wine version used : 1.3.26 -# Distribution used to test : Debian Testing x64 +# Last revision : (see changelog) +# Wine version used : 2.22 +# Distribution used to test : Kubuntu 18.04 x64 # Author : Tr4sK & GNU_Raziel # Licence : Retail # Only For : http://www.playonlinux.com +# CHANGELOG +# [Tr4sK or GNU_Raziel] (2009) +# First script. +# [Dadu042] (2019-10-05) +# Wine 1.7.35 -> 2.22 + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + TITLE="Grand Theft Auto : San Andreas" -PREFIX="GTASA" -WORKING_WINE_VERSION="1.7.35" +PREFIX="GTA_SA" +WORKING_WINE_VERSION="2.22" GAME_VMS="256" - + # Starting the script rm "$POL_USER_ROOT/tmp/*.jpg" POL_SetupWindow_Init - + # Starting debugging API POL_Debug_Init - -POL_SetupWindow_presentation "$TITLE" "Rockstar Game" "http://www.rockstargames.com/grandtheftauto/" "Tr4sK & GNU_Raziel" "$PREFIX" - + +POL_SetupWindow_presentation "$TITLE" "Rockstar Game" "http://www.rockstargames.com/grandtheftauto/" "Tr4sK & GNU_Raziel" "$PREFIX" + # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" - + # Downloading wine if necessary and creating prefix POL_System_SetArch "auto" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" - + # Choose between DVD and Digital Download version POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL" - + # Installing mandatory dependencies if [ "$INSTALL_METHOD" == "STEAM" ]; then - POL_Call POL_Install_steam + POL_Call POL_Install_steam fi - + # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "12120" - + # Begin game installation if [ "$INSTALL_METHOD" == "DVD" ]; then - # Asking for CDROM and checking if it's correct one - POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" - POL_SetupWindow_cdrom - POL_SetupWindow_check_cdrom "setup.exe" - POL_Wine start /unix "$CDROM/setup.exe" - POL_Wine_WaitExit "$TITLE" + # Asking for CDROM and checking if it's correct one + POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" + POL_SetupWindow_cdrom + POL_SetupWindow_check_cdrom "setup.exe" + POL_Wine start /unix "$CDROM/setup.exe" + POL_Wine_WaitExit "$TITLE" elif [ "$INSTALL_METHOD" == "STEAM" ]; then - cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" - POL_Wine start /unix "steam.exe" steam://install/12120 - POL_Wine_WaitExit "$TITLE" + cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" + POL_Wine start /unix "steam.exe" steam://install/12120 + POL_Wine_WaitExit "$TITLE" else - # Asking then installing DDV of the game - cd "$HOME" - POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" - SETUP_EXE="$APP_ANSWER" - POL_Wine start /unix "$SETUP_EXE" - POL_Wine_WaitExit "$TITLE" + # Asking then installing DDV of the game + cd "$HOME" + POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" + SETUP_EXE="$APP_ANSWER" + POL_Wine start /unix "$SETUP_EXE" + POL_Wine_WaitExit "$TITLE" fi - + # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS - + # Fix for this game # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" # End Fix - + ## PlayOnMac Section [ "$POL_OS" = "Mac" ] && Set_Managed "Off" ## End Section - + # Cleaning temp if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then - rm -rf "$WINEPREFIX/drive_c/windows/temp/*" - chmod -R 777 "$POL_USER_ROOT/tmp/" - rm -rf "$POL_USER_ROOT/tmp/*" + rm -rf "$WINEPREFIX/drive_c/windows/temp/*" + chmod -R 777 "$POL_USER_ROOT/tmp/" + rm -rf "$POL_USER_ROOT/tmp/*" fi - + # Making shortcut if [ "$INSTALL_METHOD" == "STEAM" ]; then - POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/12120" + POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/12120" else - POL_Shortcut "gta_sa.exe" "$TITLE" "" "" + POL_Shortcut "gta_sa.exe" "$TITLE" "" "" "Game;ActionGame;" fi - + POL_SetupWindow_Close -exit 0 \ No newline at end of file +exit 0 Nouveau code source#!/bin/bash # Date : (2009-05-23 14-30) # Last revision : (see changelog) # Wine version used : 2.22 # Distribution used to test : Kubuntu 18.04 x64 # Author : Tr4sK & GNU_Raziel # Licence : Retail # Only For : http://www.playonlinux.com # CHANGELOG # [Tr4sK or GNU_Raziel] (2009) # First script. # [Dadu042] (2019-10-05) # Wine 1.7.35 -> 2.22 [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Grand Theft Auto : San Andreas" PREFIX="GTA_SA" WORKING_WINE_VERSION="2.22" GAME_VMS="256" # Starting the script rm "$POL_USER_ROOT/tmp/*.jpg" POL_SetupWindow_Init # Starting debugging API POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Rockstar Game" "http://www.rockstargames.com/grandtheftauto/" "Tr4sK & GNU_Raziel" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "auto" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Choose between DVD and Digital Download version POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL" # Installing mandatory dependencies if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam fi # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "12120" # Begin game installation if [ "$INSTALL_METHOD" == "DVD" ]; then # Asking for CDROM and checking if it's correct one POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "setup.exe" POL_Wine start /unix "$CDROM/setup.exe" POL_Wine_WaitExit "$TITLE" elif [ "$INSTALL_METHOD" == "STEAM" ]; then cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/12120 POL_Wine_WaitExit "$TITLE" else # Asking then installing DDV of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" fi # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Fix for this game # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" # End Fix ## PlayOnMac Section [ "$POL_OS" = "Mac" ] && Set_Managed "Off" ## End Section # Cleaning temp if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then rm -rf "$WINEPREFIX/drive_c/windows/temp/*" chmod -R 777 "$POL_USER_ROOT/tmp/" rm -rf "$POL_USER_ROOT/tmp/*" fi # Making shortcut if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/12120" else POL_Shortcut "gta_sa.exe" "$TITLE" "" "" "Game;ActionGame;" fi POL_SetupWindow_Close exit 0 Réponses |
gameslayer | Mardi 20 Juin 2017 à 15:17 |
gameslayer
|
MessagesGame runs on Wine 2.10 but get stuck on sweet & kendl screen Réponses |
EpicSides | Samedi 11 Juin 2016 à 5:12 |
EpicSides
|
MessagesI have issues launching the game :/ Réponses |
AMEER157 | Vendredi 3 Juillet 2015 à 13:17 |
AMEER157
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesWalk-around for uncontrollable character in Ubuntu 14.04 x64: For some reason the character seems to automatically walk in circles which make it uncontrollable. Many claim that the OS is making a conflict between a joystick and the keyboard. Although I had the same issue and didn't have any joystick/extra controllers attached and turns out I had to rename the files js0 and js1 from /dev/input/. after restarting the game the controllers work as normal. Differences@@ -83,6 +83,13 @@ rm -rf "$POL_USER_ROOT/tmp/*" fi +# Fix control issues +if [ -e "$POL_USER_ROOT/dev/input/*" ]; then + cd "$POL_USER_ROOT/dev/input/" + mv "js0 js0_sa" + mv "js1 js1_sa" +fi + # Making shortcut if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/12120" Nouveau code source#!/bin/bash # Date : (2009-05-23 14-30) # Last revision : (2011-08-31 17:01) # Wine version used : 1.3.26 # Distribution used to test : Debian Testing x64 # Author : Tr4sK & GNU_Raziel # Licence : Retail # Only For : http://www.playonlinux.com [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Grand Theft Auto : San Andreas" PREFIX="GTASA" WORKING_WINE_VERSION="1.7.35" GAME_VMS="256" # Starting the script rm "$POL_USER_ROOT/tmp/*.jpg" POL_SetupWindow_Init # Starting debugging API POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Rockstar Game" "http://www.rockstargames.com/grandtheftauto/" "Tr4sK & GNU_Raziel" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "auto" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Choose between DVD and Digital Download version POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL" # Installing mandatory dependencies if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam fi # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "12120" # Begin game installation if [ "$INSTALL_METHOD" == "DVD" ]; then # Asking for CDROM and checking if it's correct one POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "setup.exe" POL_Wine start /unix "$CDROM/setup.exe" POL_Wine_WaitExit "$TITLE" elif [ "$INSTALL_METHOD" == "STEAM" ]; then cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/12120 POL_Wine_WaitExit "$TITLE" else # Asking then installing DDV of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" fi # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Fix for this game # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" # End Fix ## PlayOnMac Section [ "$POL_OS" = "Mac" ] && Set_Managed "Off" ## End Section # Cleaning temp if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then rm -rf "$WINEPREFIX/drive_c/windows/temp/*" chmod -R 777 "$POL_USER_ROOT/tmp/" rm -rf "$POL_USER_ROOT/tmp/*" fi # Fix control issues if [ -e "$POL_USER_ROOT/dev/input/*" ]; then cd "$POL_USER_ROOT/dev/input/" mv "js0 js0_sa" mv "js1 js1_sa" fi # Making shortcut if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/12120" else POL_Shortcut "gta_sa.exe" "$TITLE" "" "" fi POL_SetupWindow_Close exit 0 RéponsesSamedi 4 Juillet 2015 à 17:35
Mercredi 8 Juillet 2015 à 18:05
|
Ronin DUSETTE | Lundi 30 Mars 2015 à 20:31 |
Ronin DUSETTE
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesUpdating script to use newer WIne version. Differences@@ -12,7 +12,7 @@ TITLE="Grand Theft Auto : San Andreas" PREFIX="GTASA" -WORKING_WINE_VERSION="1.3.26" +WORKING_WINE_VERSION="1.7.35" GAME_VMS="256" # Starting the script Nouveau code source#!/bin/bash # Date : (2009-05-23 14-30) # Last revision : (2011-08-31 17:01) # Wine version used : 1.3.26 # Distribution used to test : Debian Testing x64 # Author : Tr4sK & GNU_Raziel # Licence : Retail # Only For : http://www.playonlinux.com [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Grand Theft Auto : San Andreas" PREFIX="GTASA" WORKING_WINE_VERSION="1.7.35" GAME_VMS="256" # Starting the script rm "$POL_USER_ROOT/tmp/*.jpg" POL_SetupWindow_Init # Starting debugging API POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Rockstar Game" "http://www.rockstargames.com/grandtheftauto/" "Tr4sK & GNU_Raziel" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "auto" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Choose between DVD and Digital Download version POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL" # Installing mandatory dependencies if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam fi # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "12120" # Begin game installation if [ "$INSTALL_METHOD" == "DVD" ]; then # Asking for CDROM and checking if it's correct one POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "setup.exe" POL_Wine start /unix "$CDROM/setup.exe" POL_Wine_WaitExit "$TITLE" elif [ "$INSTALL_METHOD" == "STEAM" ]; then cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/12120 POL_Wine_WaitExit "$TITLE" else # Asking then installing DDV of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" fi # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Fix for this game # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" # End Fix ## PlayOnMac Section [ "$POL_OS" = "Mac" ] && Set_Managed "Off" ## End Section # Cleaning temp if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then rm -rf "$WINEPREFIX/drive_c/windows/temp/*" chmod -R 777 "$POL_USER_ROOT/tmp/" rm -rf "$POL_USER_ROOT/tmp/*" fi # Making shortcut if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/12120" else POL_Shortcut "gta_sa.exe" "$TITLE" "" "" fi POL_SetupWindow_Close exit 0 RéponsesEdité par RoninDusette |
marceloavan | Mardi 10 Février 2015 à 15:40 |
marceloavan
|
MessagesThis program runs well, but I had some problems to install the game. It was necessary to use wine version 1.7.35 instead of 1.3.XX. Réponses |
hleskien | Vendredi 17 Octobre 2014 à 17:54 |
hleskien
|
MessagesCutscenes/Videos don't work. Réponses |
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