Grand Theft Auto : San Andreas
Informations
| Creator | Message |
|---|---|
Tr4sK
|
WarningThis installer is a beta script. It means that it might not work as expected InformationsPlatforms: Feedbacks3 3 DescriptionAction-adventure video game (2004). Thug doing car thief. Wikipedia. Source code#!/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:
Contribute| Member | Message |
| Dadu042 | Wednesday 9 October 2019 at 23:06 |
|
Dadu042
|
InformationThis update has been approved by the team. MessageTested 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 New source code#!/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
Replies |
| gameslayer | Tuesday 20 June 2017 at 15:17 |
gameslayer
|
MessageGame runs on Wine 2.10 but get stuck on sweet & kendl screen Replies |
| EpicSides | Saturday 11 June 2016 at 5:12 |
EpicSides
|
MessageI have issues launching the game :/ Replies |
| AMEER157 | Friday 3 July 2015 at 13:17 |
AMEER157
|
WarningThis update has not been approved yet by the team. MessageWalk-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" New source code#!/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 RepliesSaturday 4 July 2015 at 17:35
Wednesday 8 July 2015 at 18:05
|
| Ronin DUSETTE | Monday 30 March 2015 at 20:31 |
Ronin DUSETTE
|
WarningThis update has not been approved yet by the team. MessageUpdating 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 New source code#!/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 RepliesEdited by RoninDusette |
| marceloavan | Tuesday 10 February 2015 at 15:40 |
marceloavan
|
MessageThis 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. Replies |
| hleskien | Friday 17 October 2014 at 17:54 |
hleskien
|
MessageCutscenes/Videos don't work. Replies |
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
Install this program
