GOG.com - Hitman 2: Silent Assassin

Informations

Créateur Messages
petch

Information

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

Informations

Plate-formes :
Téléchargements : 20691
Wine: 2.22

Retours d'expérience

Description

English: Action/stealth game, Agent 47 is back in action against his will...
(updated for GOG installer v2)

Français : Jeu d'intrusion, l'Agent 47 reprend du service contre son grè...
(mis à jour pour l'installeur GOG v2)

Captures d'écran

MiniatureMiniatureMiniatureMiniatureMiniatureMiniature

Code source

#!/bin/bash
# Date : (2012-12-17 22-36)
# Last revision : see changelog
# Wine version used : 2.22
# 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-17 22-36)
#   Initial script.
# [Pierre Etchemaite] (2013-11-24 09-50)
#   ?
# [Dadu042] (2020-01-19 13:50)
#   Wine 1.4.1 -> 2.22

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

GOGID="hitman_2_silent_assassin"
PREFIX="Hitman2SA_gog"
WORKING_WINE_VERSION="2.22"

TITLE="GOG.com - Hitman 2: Silent Assassin"
SHORTCUT_NAME="Hitman 2: Silent Assassin"

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

POL_SetupWindow_presentation "$TITLE" "IO Interactive / Square Enix" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "a7e5d8d363db2150f30835ffe1fa0e92"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# Disable environmental bump mapping
# Looks like "copper" reflections under Wine (1.5.19)
printf "DisableEMBM 1\r\n" >> "$GOGROOT/Hitman 2 Silent Assassin/Hitman2.ini"

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "32"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "hitman2.exe" "$SHORTCUT_NAME" "" "" "Game;ActionGame;" # "$SHORTCUT_NAME.png"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Hitman 2 Silent Assassin/manual.pdf"

POL_SetupWindow_Close

cat <<_EOF_ > "$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"
#!/bin/bash
[ -z "\$PLAYONLINUX" ] && exit 0
source "\$PLAYONLINUX/lib/sources"
export WINEPREFIX="\$POL_USER_ROOT/wineprefix/$PREFIX"
export WINEDEBUG="-all"

POL_LoadVar_PROGRAMFILES
cd "$GOGROOT/Hitman 2 Silent Assassin/" || exit 1
TITLE="$TITLE"

POL_Wine config.exe
exit 0
_EOF_

exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Lundi 20 Janvier 2020 à 11:24
Dadu042

Information

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

Differences

@@ -1,19 +1,27 @@
 #!/bin/bash
 # Date : (2012-12-17 22-36)
-# Last revision : (2013-11-24 09-50)
-# Wine version used : 1.4.1
+# Last revision : see changelog
+# Wine version used : 2.22
 # 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-17 22-36)
+#   Initial script.
+# [Pierre Etchemaite] (2013-11-24 09-50)
+#   ?
+# [Dadu042] (2020-01-19 13:50)
+#   Wine 1.4.1 -> 2.22
+
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="hitman_2_silent_assassin"
 PREFIX="Hitman2SA_gog"
-WORKING_WINE_VERSION="1.4.1"
+WORKING_WINE_VERSION="2.22"
 
 TITLE="GOG.com - Hitman 2: Silent Assassin"
 SHORTCUT_NAME="Hitman 2: Silent Assassin"
@@ -66,4 +74,4 @@
 exit 0
 _EOF_
 
-exit 0
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2012-12-17 22-36)
# Last revision : see changelog
# Wine version used : 2.22
# 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-17 22-36)
#   Initial script.
# [Pierre Etchemaite] (2013-11-24 09-50)
#   ?
# [Dadu042] (2020-01-19 13:50)
#   Wine 1.4.1 -> 2.22

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

GOGID="hitman_2_silent_assassin"
PREFIX="Hitman2SA_gog"
WORKING_WINE_VERSION="2.22"

TITLE="GOG.com - Hitman 2: Silent Assassin"
SHORTCUT_NAME="Hitman 2: Silent Assassin"

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

POL_SetupWindow_presentation "$TITLE" "IO Interactive / Square Enix" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "a7e5d8d363db2150f30835ffe1fa0e92"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# Disable environmental bump mapping
# Looks like "copper" reflections under Wine (1.5.19)
printf "DisableEMBM 1\r\n" >> "$GOGROOT/Hitman 2 Silent Assassin/Hitman2.ini"

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "32"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "hitman2.exe" "$SHORTCUT_NAME" "" "" "Game;ActionGame;" # "$SHORTCUT_NAME.png"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Hitman 2 Silent Assassin/manual.pdf"

POL_SetupWindow_Close

cat <<_EOF_ > "$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"
#!/bin/bash
[ -z "\$PLAYONLINUX" ] && exit 0
source "\$PLAYONLINUX/lib/sources"
export WINEPREFIX="\$POL_USER_ROOT/wineprefix/$PREFIX"
export WINEDEBUG="-all"

POL_LoadVar_PROGRAMFILES
cd "$GOGROOT/Hitman 2 Silent Assassin/" || exit 1
TITLE="$TITLE"

POL_Wine config.exe
exit 0
_EOF_

exit 0

Réponses

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