GOG.com - Thief 3: Deadly Shadows

Informations

Creator Message
petch

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 11748
Wine: 3.0.3

Feedbacks

Description

English: The original stealth game is back; Better graphics, easier gameplay (it has been ported to consoles...), still a very good game.
Known problem (Wine 1.4.1):
- some black squares in videos (harmless)
(updated for GOG installer v2)

Français : Le jeu d'intrusion original est de retour; Meilleur graphismes, jeu plus facile (il a été adapté aux consoles...), il reste un excellent jeu.
Problème connu (Wine 1.4.1) :
- des carrés noirs dans les vidéos (sans conséquence)
(mis à jour pour l'installeur GOG v2)

Screenshots

MiniatureMiniatureMiniatureMiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2012-12-03 20-53)
# Last revision :
# Wine version used : 1.4.1
# 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-12-03 20-53)
#   Initial script.
# [Pierre Etchemaite] (2013-07-18 19-53)
#   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_3"
PREFIX="Thief3_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - Thief 3: Deadly Shadows"
SHORTCUT_NAME="Thief 3: Deadly Shadows"

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 1501
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Ion Storm Inc. / Square Enix" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "e5b84de58a1037f3e8aa3a1bb2a982be"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# fake sdbinst.exe
POL_Call POL_Install_nop "$WINEPREFIX/drive_c/windows/system32/sdbinst.exe" 

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "32"

POL_Wine_X11Drv "GrabFullScreen" "Y"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "t3.exe" "$SHORTCUT_NAME" "" "" "Game;ActionGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Thief 3 - Deadly Shadows/manual.pdf"

POL_SetupWindow_Close

exit 0

Contributions

Filters:

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

Information

This update has been approved by the team.

Differences

@@ -1,19 +1,27 @@
 #!/bin/bash
 # Date : (2012-12-03 20-53)
-# Last revision : (2013-07-18 19-53)
+# Last revision :
 # Wine version used : 1.4.1
 # 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-12-03 20-53)
+#   Initial script.
+# [Pierre Etchemaite] (2013-07-18 19-53)
+#   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_3"
 PREFIX="Thief3_gog"
-WORKING_WINE_VERSION="1.4.1"
+WORKING_WINE_VERSION="3.0.3"
 
 TITLE="GOG.com - Thief 3: Deadly Shadows"
 SHORTCUT_NAME="Thief 3: Deadly Shadows"

New source code

#!/bin/bash
# Date : (2012-12-03 20-53)
# Last revision :
# Wine version used : 1.4.1
# 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-12-03 20-53)
#   Initial script.
# [Pierre Etchemaite] (2013-07-18 19-53)
#   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_3"
PREFIX="Thief3_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - Thief 3: Deadly Shadows"
SHORTCUT_NAME="Thief 3: Deadly Shadows"

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 1501
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Ion Storm Inc. / Square Enix" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "e5b84de58a1037f3e8aa3a1bb2a982be"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# fake sdbinst.exe
POL_Call POL_Install_nop "$WINEPREFIX/drive_c/windows/system32/sdbinst.exe" 

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "32"

POL_Wine_X11Drv "GrabFullScreen" "Y"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "t3.exe" "$SHORTCUT_NAME" "" "" "Game;ActionGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Thief 3 - Deadly Shadows/manual.pdf"

POL_SetupWindow_Close

exit 0

Replies

jonty789 Thursday 11 September 2014 at 13:07
jonty789 Anonymous

Message

Works great thanks. Just one questions... out of interest I tried replacing wine version to 1.7.26 by changing this line WORKING_WINE_VERSION="1.7.26".

However for some reason this doesn't grab the mouse and so therefore on main menu if you move mouse around you can see parts of your desktop. I did checked winereg and the grab fullscreen is in there. Did wine change the way it handles grab fullscreen or something?

It doesn't really matter since this script works great so it not a big deal :)

Replies

Thursday 11 September 2014 at 13:21
Yes
https://github.com/petchema/playonlinux/wiki/Thief-3-deadly-shadows
Anonymous
Thursday 11 September 2014 at 16:26
Thank you for reply. Hm so it is a bug in wine?
Friday 12 September 2014 at 1:10
It seems it has a regression with this game (but maybe because it fixes issues with other programs, that's why it's not so simple...)
https://appdb.winehq.org/objectManager.php?sClass=version&iId=12599 has interesting infos, like "The menus, map and tip pop-ups keep resetting the mouse wrap. Every time you resume gameplay, you have to click once to wrap the mouse around the edges so it won't escape the window. Using the registry key "MouseWrapOverride" as "forced" will make the menus unusuable."
Anonymous
Friday 12 September 2014 at 8:54
Ah I see thank you for the info.
Anonymous
Friday 12 September 2014 at 9:03
On that page there is a link to a bug which is https://bugs.winehq.org/show_bug.cgi?id=33479
Anonymous
Friday 12 September 2014 at 9:04
So I guess it must be that bug which is affecting mouse input

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