Grand Theft Auto III

Informations

Creator Message
Toumeno

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 82822
Wine: 2.22

Feedbacks

Description

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

Appdb.winehq.org  Wikipedia   PCGamingWiki 

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-06-01 13-21)
# Last revision : (2019-06-01 14-56)
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Media used:
#
# CHANGELOG:
# [Dadu042] (2019-06-01)
#   Rewrite the script for because the previous (2009-10-31) fail working (on POL 4.3.4).
#
# KNOWN ISSUES:
# None.


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Grand Theft Auto III"
PREFIX="gta_III"
WORKING_WINE_VERSION="2.22"
AUTHOR="Dadu042"
EDITOR="Rockstar Games"
GAME_URL="https://en.wikipedia.org/wiki/Grand_Theft_Auto_III"

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_System_TmpCreate "$TITLE"

Set_OS "winxp"

################
# GPU settings #
################

# Really indispensable ? (Dadu042)
POL_SetupWindow_VMS "16"

POL_Call POL_Install_VideoDriver

# Useless ?
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3compiler_43

# Useless because On by default (Set if the window manager will be allowed to manage Wine windows.)
# Set_Managed "On"

POL_Wine_X11Drv "DXGrab" "Y"
# Was used in 2009:
# Set_DXGrab "On"

###############
# Go          #
###############

POL_SetupWindow_InstallMethod "LOCAL,CD"

if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        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"
        cd "$POL_System_TmpDir"
else
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Setup.exe"
        POL_Wine start /unix "$CDROM/Setup.exe"
        POL_Wine_WaitExit "Setup.exe"
        cd "$POL_System_TmpDir"
fi

POL_Shortcut "gta3.exe" "$TITLE" "" "Game;"

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

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Saturday 1 June 2019 at 13:37
Dadu042
Moderator

Information

This update has been approved by the team.

Message

See CHANGELOG (in the script code).

 

Users please write reports or improvements.

Differences

@@ -83,7 +83,7 @@
 
 POL_Shortcut "gta3.exe" "$TITLE" "" "Game;"
 
-POL_SetupWindow_message "When you will run GTA 3, wait a few seconds and double-click to launch correctly\nthe game.\n\nFRENCH: Quand vous lancerez GTA 3, patientez quelques secondes puis double-cliquez pour\nlancer correctement le jeu."
+POL_SetupWindow_message "When you will run GTA 3, wait a few seconds and double-click to launch correctly\nthe game.\n\nFRENCH: Quand vous lancerez GTA 3, patientez quelques secondes puis double-cliquez pour\nlancer correctement le jeu." "$TITLE"
 
 POL_System_TmpDelete
 POL_SetupWindow_Close

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-06-01 13-21)
# Last revision : (2019-06-01 14-56)
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Media used:
#
# CHANGELOG:
# [Dadu042] (2019-06-01)
#   Rewrite the script for because the previous (2009-10-31) fail working (on POL 4.3.4).
#
# KNOWN ISSUES:
# None.


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Grand Theft Auto III"
PREFIX="gta_III"
WORKING_WINE_VERSION="2.22"
AUTHOR="Dadu042"
EDITOR="Rockstar Games"
GAME_URL="https://en.wikipedia.org/wiki/Grand_Theft_Auto_III"

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_System_TmpCreate "$TITLE"

Set_OS "winxp"

################
# GPU settings #
################

# Really indispensable ? (Dadu042)
POL_SetupWindow_VMS "16"

POL_Call POL_Install_VideoDriver

# Useless ?
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3compiler_43

# Useless because On by default (Set if the window manager will be allowed to manage Wine windows.)
# Set_Managed "On"

POL_Wine_X11Drv "DXGrab" "Y"
# Was used in 2009:
# Set_DXGrab "On"

###############
# Go          #
###############

POL_SetupWindow_InstallMethod "LOCAL,CD"

if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        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"
        cd "$POL_System_TmpDir"
else
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Setup.exe"
        POL_Wine start /unix "$CDROM/Setup.exe"
        POL_Wine_WaitExit "Setup.exe"
        cd "$POL_System_TmpDir"
fi

POL_Shortcut "gta3.exe" "$TITLE" "" "Game;"

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

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Edited by Dadu042

MarkTheMorose Friday 31 May 2019 at 22:31
MarkTheMorose Anonymous

Message

Will not install.  If I try to install from the list of programs, I get a sad face and this message: "Error in POL_Shortcut  Binary not found: Program Files/Rockstar Games/GTAIII/gta3.exe
Have you installed the program to the default location?"

The optical drive doesn't seem to be accessed at all, and POL should presumably be trying to install Setup.exe from the CD.  How it's going to find gta3.exe if it hasn't installed it, I don't know.

If I try to install it as a non-listed program, I get slightly further.   I tell POL to install from setup.exe on the disc, get to choose my language, get a GTA splash-screen, then an InstallShield Wizard dialog, agree to the license, but then get an error box marked 'Severe', and told "Product not supported on this OS."

Replies

Saturday 1 June 2019 at 10:26
Thanks for the report. This script is outdated (# Date: (2009-10-31 00-25), Wine version used: 1.1.32 ) and not standardized with current POL version (4.3.4).
I will rewrite it before 1 week (your report will be welcome).

Edited by MarkTheMorose