GOG.com - Thief Gold

Informations

Creator Message
petch

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 13994
Wine: 3.0.3

Feedbacks

Description

English: Grandfather of stealth games :)
(updated for GOG installer v2)

Français : L'ancètre des jeux d'intrusion :)
(mis à jour pour l'installeur GOG v2)

Source code

#!/bin/bash
# Date : (2012-10-23 12-18)
# Last revision : 
# Wine version used : 1.4.1, 1.5.10
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2012-10-23 12-18)
#   Initial script.
# [Pierre Etchemaite] (2013-06-22 09-24)
#   Script updated for GOG's installer v2.
# [Dadu042] (2020-04-19 12:30).
#   Wine 1.4.1 (outdated) -> 3.0.3 (not tested)

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="thief_gold"
PREFIX="Thief_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - Thief Gold"
SHORTCUT_NAME="Thief: The Dark Project + Gold"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1445
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Looking Glass Studios / Square Enix" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "bde1c2a2ffdda552c63c7ca6e3d87310"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install /nogui


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "4"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "THIEF_ND.EXE" "$SHORTCUT_NAME" "" "" "Game;ActionGame;" # "$SHORTCUT_NAME.png"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Thief GOLD/manual.pdf"
# C:\GOG Games\Thief GOLD\DROMED.EXE
# C:\GOG.Games\Thief GOLD\reference card.pdf

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Sunday 19 April 2020 at 14:54
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,19 +1,27 @@
 #!/bin/bash
 # Date : (2012-10-23 12-18)
-# Last revision : (2013-06-22 09-24)
+# Last revision : 
 # Wine version used : 1.4.1, 1.5.10
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
 # Script licence : GPL v.2
 # Program licence : Retail
 # Depend :
+#
+# CHANGELOG
+# [Pierre Etchemaite] (2012-10-23 12-18)
+#   Initial script.
+# [Pierre Etchemaite] (2013-06-22 09-24)
+#   Script updated for GOG's installer v2.
+# [Dadu042] (2020-04-19 12:30).
+#   Wine 1.4.1 (outdated) -> 3.0.3 (not tested)
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="thief_gold"
 PREFIX="Thief_gog"
-WORKING_WINE_VERSION="1.4.1"
+WORKING_WINE_VERSION="3.0.3"
 
 TITLE="GOG.com - Thief Gold"
 SHORTCUT_NAME="Thief: The Dark Project + Gold"

New source code

#!/bin/bash
# Date : (2012-10-23 12-18)
# Last revision : 
# Wine version used : 1.4.1, 1.5.10
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2012-10-23 12-18)
#   Initial script.
# [Pierre Etchemaite] (2013-06-22 09-24)
#   Script updated for GOG's installer v2.
# [Dadu042] (2020-04-19 12:30).
#   Wine 1.4.1 (outdated) -> 3.0.3 (not tested)

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="thief_gold"
PREFIX="Thief_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - Thief Gold"
SHORTCUT_NAME="Thief: The Dark Project + Gold"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1445
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Looking Glass Studios / Square Enix" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "bde1c2a2ffdda552c63c7ca6e3d87310"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install /nogui


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "4"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "THIEF_ND.EXE" "$SHORTCUT_NAME" "" "" "Game;ActionGame;" # "$SHORTCUT_NAME.png"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Thief GOLD/manual.pdf"
# C:\GOG Games\Thief GOLD\DROMED.EXE
# C:\GOG.Games\Thief GOLD\reference card.pdf

POL_SetupWindow_Close

exit 0

Replies

piratmartin Monday 19 September 2016 at 12:21
piratmartin Anonymous

Message

Install crash on end of instalation. I install game in wine, game instalation too crash on end of instalation, but game its runnable. Game crash if you change resolution in option. Resulotion must be changed manual in cfg of game.

Replies

Teashrock Thursday 10 September 2015 at 16:44
Teashrock Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -1,9 +1,10 @@
 #!/bin/bash
 # Date : (2012-10-23 12-18)
-# Last revision : (2013-06-22 09-24)
+# Last revision : (2015-09-10 17-43)
 # Wine version used : 1.4.1, 1.5.10
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
+# Bug editor: Teashrock kajitsu22@gmail.com
 # Script licence : GPL v.2
 # Program licence : Retail
 # Depend :
@@ -17,6 +18,7 @@
 
 TITLE="GOG.com - Thief Gold"
 SHORTCUT_NAME="Thief: The Dark Project + Gold"
+DROMED_SHORTCUT_NAME="Thief: The Dark Project + Gold DromEd"
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 
@@ -42,11 +44,13 @@
 # Doesn't hurt ;)
 POL_Wine_reboot
 
-POL_Shortcut "THIEF_ND.EXE" "$SHORTCUT_NAME" "" "" "Game;ActionGame;" # "$SHORTCUT_NAME.png"
-POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Thief GOLD/manual.pdf"
-# C:\GOG Games\Thief GOLD\DROMED.EXE
-# C:\GOG.Games\Thief GOLD\reference card.pdf
+POL_Shortcut "THIEF.EXE" "$SHORTCUT_NAME" "" "" "Game;ActionGame;" # "$SHORTCUT_NAME.png"
+POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/Program Files/GOG.com/Thief Gold/manual.pdf"
+POL_Shortcut "DROMED.EXE" "$DROMED_SHORTCUT_NAME" "" "" "Game;ActionGame;" # "$SHORTCUT_NAME.png"
+POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/Program Files/GOG.com/Thief Gold/reference card.pdf"
+# C:\Program Files\GOG.com\Thief Gold\DROMED.EXE
+# C:\Program Files\GOG.com\Thief Gold\reference card.pdf
 
 POL_SetupWindow_Close
 
-exit 0
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2012-10-23 12-18)
# Last revision : (2015-09-10 17-43)
# Wine version used : 1.4.1, 1.5.10
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Bug editor: Teashrock kajitsu22@gmail.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="thief_gold"
PREFIX="Thief_gog"
WORKING_WINE_VERSION="1.4.1"

TITLE="GOG.com - Thief Gold"
SHORTCUT_NAME="Thief: The Dark Project + Gold"
DROMED_SHORTCUT_NAME="Thief: The Dark Project + Gold DromEd"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1445
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Looking Glass Studios / Square Enix" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "bde1c2a2ffdda552c63c7ca6e3d87310"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install /nogui


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "4"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "THIEF.EXE" "$SHORTCUT_NAME" "" "" "Game;ActionGame;" # "$SHORTCUT_NAME.png"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/Program Files/GOG.com/Thief Gold/manual.pdf"
POL_Shortcut "DROMED.EXE" "$DROMED_SHORTCUT_NAME" "" "" "Game;ActionGame;" # "$SHORTCUT_NAME.png"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/Program Files/GOG.com/Thief Gold/reference card.pdf"
# C:\Program Files\GOG.com\Thief Gold\DROMED.EXE
# C:\Program Files\GOG.com\Thief Gold\reference card.pdf

POL_SetupWindow_Close

exit 0

Replies

Thursday 10 September 2015 at 19:05
That's a script for GOG installer v1, current script is for GOG installer v2
Upgrade your game from gog.com

Edited by petch