GOG.com - Thief 2

Informations

Créateur Messages
petch

Information

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

Informations

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

Retours d'expérience

Description

English: Second installment of the classical "stealth" game.
(updated for GOG installer v2)

Français : Deuxième épisode du classique jeu d'infiltration.
(mis à jour pour l'installeur GOG v2)

Captures d'écran

MiniatureMiniatureMiniatureMiniatureMiniatureMiniatureMiniature

Code source

#!/bin/bash
# Date : (2012-06-09 16-26)
# Last revision : 
# Wine version used : 
# 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-06-09 16-26)
#   Initial script.
# [Pierre Etchemaite] (2013-07-23 20-21)
#   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_2_the_metal_age"
PREFIX="Thief2_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - Thief 2"
SHORTCUT_NAME="Thief 2: The Metal Age"

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 1250
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" "c554b94e371ff78bfbe5a8ef3417afe2"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "8"

# Enable OpenAL by default (#2585)
cp "$GOGROOT/Thief 2 - The Metal Age/cam.cfg" "$GOGROOT/Thief 2 - The Metal Age/cam.cfg.bak"
sed -e 's/^sfx_device [0-9]\+/sfx_device 4/' \
    -e 's/^master_volume -\?[0-9]\+/master_volume -1/' \
  < "$GOGROOT/Thief 2 - The Metal Age/cam.cfg.bak" > "$GOGROOT/Thief 2 - The Metal Age/cam.cfg"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "Thief2_ND.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Thief 2 - The Metal Age/Manual.pdf"
# C:\GOG Games\Thief 2 - The Metal Age\DromEd.exe

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Dimanche 19 Avril 2020 à 15:01
Dadu042

Information

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

Differences

@@ -1,19 +1,27 @@
 #!/bin/bash
 # Date : (2012-06-09 16-26)
-# Last revision : (2013-07-23 20-21)
-# Wine version used : 1.4.1
+# Last revision : 
+# Wine version used : 
 # 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-06-09 16-26)
+#   Initial script.
+# [Pierre Etchemaite] (2013-07-23 20-21)
+#   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_2_the_metal_age"
 PREFIX="Thief2_gog"
-WORKING_WINE_VERSION="1.4.1"
+WORKING_WINE_VERSION="3.0.3"
 
 TITLE="GOG.com - Thief 2"
 SHORTCUT_NAME="Thief 2: The Metal Age"

Nouveau code source

#!/bin/bash
# Date : (2012-06-09 16-26)
# Last revision : 
# Wine version used : 
# 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-06-09 16-26)
#   Initial script.
# [Pierre Etchemaite] (2013-07-23 20-21)
#   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_2_the_metal_age"
PREFIX="Thief2_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - Thief 2"
SHORTCUT_NAME="Thief 2: The Metal Age"

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 1250
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" "c554b94e371ff78bfbe5a8ef3417afe2"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "8"

# Enable OpenAL by default (#2585)
cp "$GOGROOT/Thief 2 - The Metal Age/cam.cfg" "$GOGROOT/Thief 2 - The Metal Age/cam.cfg.bak"
sed -e 's/^sfx_device [0-9]\+/sfx_device 4/' \
    -e 's/^master_volume -\?[0-9]\+/master_volume -1/' \
  < "$GOGROOT/Thief 2 - The Metal Age/cam.cfg.bak" > "$GOGROOT/Thief 2 - The Metal Age/cam.cfg"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "Thief2_ND.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Thief 2 - The Metal Age/Manual.pdf"
# C:\GOG Games\Thief 2 - The Metal Age\DromEd.exe

POL_SetupWindow_Close

exit 0

Réponses

jonty789 Mercredi 28 Octobre 2015 à 2:11
jonty789 Anonymous

Messages

Hi

When I run this script I get this error in debugger 

AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"

However when I removed the lines 

cp "$GOGROOT/Thief 2 - The Metal Age/cam.cfg" "$GOGROOT/Thief 2 - The Metal Age/cam.cfg.bak"
sed -e 's/^sfx_device [0-9]\+/sfx_device 4/' \
    -e 's/^master_volume -\?[0-9]\+/master_volume -1/' \
  < "$GOGROOT/Thief 2 - The Metal Age/cam.cfg.bak" > "$GOGROOT/Thief 2 - The Metal Age/cam.cfg"

Then it seems to work. All other games including Thief 1 and Thief 3 script works fine without any changes. I do have Pulse installed and other applications like VLC is using it normal.

Not sure if this affects just me only?

Réponses

olivierm Mardi 26 Aoüt 2014 à 11:52
olivierm Anonymous

Messages

The program installs and runs well (version 2.0.0.18 from GOG). But GOG also provides a patch (patch_thief2_2.0.1.19.exe) which didn't succeed installing.

Réponses

Mardi 26 Aoüt 2014 à 19:31
Mmmh looks similar to Thief Gold then
http://www.playonlinux.com/en/topic-11428-Thief_GOLD.html

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