GOG.com - Thief 3: Deadly Shadows

Informations

Créateur Messages
petch

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 11585
Wine: 3.0.3

Retours d'expérience

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)

Captures d'écran

MiniatureMiniatureMiniatureMiniatureMiniatureMiniature

Code source

#!/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:

Contribuer
Membre Messages
Dadu042 Dimanche 19 Avril 2020 à 14:57
Dadu042

Information

Cette mise à jour a été acceptée par l'équipe

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"

Nouveau code source

#!/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

Réponses

jonty789 Jeudi 11 September 2014 à 13:07
jonty789 Anonymous

Messages

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 :)

Réponses

Jeudi 11 September 2014 à 13:21
Yes
https://github.com/petchema/playonlinux/wiki/Thief-3-deadly-shadows
Anonymous
Jeudi 11 September 2014 à 16:26
Thank you for reply. Hm so it is a bug in wine?
Vendredi 12 September 2014 à 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
Vendredi 12 September 2014 à 8:54
Ah I see thank you for the info.
Anonymous
Vendredi 12 September 2014 à 9:03
On that page there is a link to a bug which is https://bugs.winehq.org/show_bug.cgi?id=33479
Anonymous
Vendredi 12 September 2014 à 9:04
So I guess it must be that bug which is affecting mouse input