GOG.com - Hitman: Codename 47

Informations

Creator Message
petch

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 16466
Wine: 3.0.3

Feedbacks

Description

English: Action/stealth game, you play Hitman an orderly assassin working for the mysterious ICA organisation.
(updated for GOG installer v2)

Français : Jeu d'action/intrusion, vous jouez Hitman, un tueur à gages méthodique qui travaille pour la mystérieuse organisation ICA.
(mis à jour pour l'installeur GOG v2)

Screenshots

MiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2012-12-08 09-28)
# Last revision : (2013-11-24 19-30)
# Wine version used : 3.0.3
# 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
# [Dadu042] (2020-01-02)
#   First script (Wine 4.0.3).
# [Dadu042] (2020-01-02)
#   Wine 1.4.1 -> 3.0.3

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

GOGID="hitman"
PREFIX="HitmanCN47_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - Hitman: Codename 47"
SHORTCUT_NAME="Hitman: Codename 47"

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 1506
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" "6a1f8e9507639f39e6ff737ab7f7ce79"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "32"

# Select OpenGL renderer by default
cat <<'_EOFCFG_' | perl -pe 's/\n/\r\n/' > "$GOGROOT/Hitman Codename 47/Hitman.ini"
Include Setup\Locale.zip
//DrawDll Render3DFX.dll
DrawDll renderopengl.dll
//DrawDll RenderOpenGL.dll
SoundDll Sound.dll
ScriptDll GSC.dll
LocaleDLL Locale.dll
Resolution 800x600
ColorDepth 0
_EOFCFG_

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "hitman.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
POL_Shortcut_QuietDebug "$SHORTCUT_NAME"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Hitman Codename 47/manual.pdf"
# C:\GOG Games\Hitman Codename 47\keybindings_Numpad.pdf
# C:\GOG Games\Hitman Codename 47\keybindings_WASD.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 Codename 47/" || exit 1
TITLE="$TITLE"

POL_Wine Setup.exe
if grep -qi '^DrawDll Render3DFX\.dll' "$GOGROOT/Hitman Codename 47/"[Hh]itman.ini; then
    POL_Wine nglide_config.exe
fi

exit 0
_EOF_

exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Friday 3 January 2020 at 0:23
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,19 +1,25 @@
 #!/bin/bash
 # Date : (2012-12-08 09-28)
 # Last revision : (2013-11-24 19-30)
-# Wine version used : 1.4.1
+# Wine version used : 3.0.3
 # 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
+# [Dadu042] (2020-01-02)
+#   First script (Wine 4.0.3).
+# [Dadu042] (2020-01-02)
+#   Wine 1.4.1 -> 3.0.3
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="hitman"
 PREFIX="HitmanCN47_gog"
-WORKING_WINE_VERSION="1.4.1"
+WORKING_WINE_VERSION="3.0.3"
 
 TITLE="GOG.com - Hitman: Codename 47"
 SHORTCUT_NAME="Hitman: Codename 47"

New source code

#!/bin/bash
# Date : (2012-12-08 09-28)
# Last revision : (2013-11-24 19-30)
# Wine version used : 3.0.3
# 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
# [Dadu042] (2020-01-02)
#   First script (Wine 4.0.3).
# [Dadu042] (2020-01-02)
#   Wine 1.4.1 -> 3.0.3

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

GOGID="hitman"
PREFIX="HitmanCN47_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - Hitman: Codename 47"
SHORTCUT_NAME="Hitman: Codename 47"

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 1506
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" "6a1f8e9507639f39e6ff737ab7f7ce79"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "32"

# Select OpenGL renderer by default
cat <<'_EOFCFG_' | perl -pe 's/\n/\r\n/' > "$GOGROOT/Hitman Codename 47/Hitman.ini"
Include Setup\Locale.zip
//DrawDll Render3DFX.dll
DrawDll renderopengl.dll
//DrawDll RenderOpenGL.dll
SoundDll Sound.dll
ScriptDll GSC.dll
LocaleDLL Locale.dll
Resolution 800x600
ColorDepth 0
_EOFCFG_

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "hitman.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
POL_Shortcut_QuietDebug "$SHORTCUT_NAME"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Hitman Codename 47/manual.pdf"
# C:\GOG Games\Hitman Codename 47\keybindings_Numpad.pdf
# C:\GOG Games\Hitman Codename 47\keybindings_WASD.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 Codename 47/" || exit 1
TITLE="$TITLE"

POL_Wine Setup.exe
if grep -qi '^DrawDll Render3DFX\.dll' "$GOGROOT/Hitman Codename 47/"[Hh]itman.ini; then
    POL_Wine nglide_config.exe
fi

exit 0
_EOF_

exit 0

Replies

deri82 Sunday 5 July 2015 at 8:56
deri82 Anonymous

Warning

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

Differences

@@ -1,6 +1,6 @@
 #!/bin/bash
 # Date : (2012-12-08 09-28)
-# Last revision : (2013-11-24 19-30)
+# Last revision : (2015-7-5 year, month, day)
 # Wine version used : 1.4.1
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
@@ -13,7 +13,7 @@
 
 GOGID="hitman"
 PREFIX="HitmanCN47_gog"
-WORKING_WINE_VERSION="1.4.1"
+WORKING_WINE_VERSION="1.7.46-staging"
 
 TITLE="GOG.com - Hitman: Codename 47"
 SHORTCUT_NAME="Hitman: Codename 47"

New source code

#!/bin/bash
# Date : (2012-12-08 09-28)
# Last revision : (2015-7-5 year, month, day)
# 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 :

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

GOGID="hitman"
PREFIX="HitmanCN47_gog"
WORKING_WINE_VERSION="1.7.46-staging"

TITLE="GOG.com - Hitman: Codename 47"
SHORTCUT_NAME="Hitman: Codename 47"

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 1506
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" "6a1f8e9507639f39e6ff737ab7f7ce79"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "32"

# Select OpenGL renderer by default
cat <<'_EOFCFG_' | perl -pe 's/\n/\r\n/' > "$GOGROOT/Hitman Codename 47/Hitman.ini"
Include Setup\Locale.zip
//DrawDll Render3DFX.dll
DrawDll renderopengl.dll
//DrawDll RenderOpenGL.dll
SoundDll Sound.dll
ScriptDll GSC.dll
LocaleDLL Locale.dll
Resolution 800x600
ColorDepth 0
_EOFCFG_

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "hitman.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
POL_Shortcut_QuietDebug "$SHORTCUT_NAME"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Hitman Codename 47/manual.pdf"
# C:\GOG Games\Hitman Codename 47\keybindings_Numpad.pdf
# C:\GOG Games\Hitman Codename 47\keybindings_WASD.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 Codename 47/" || exit 1
TITLE="$TITLE"

POL_Wine Setup.exe
if grep -qi '^DrawDll Render3DFX\.dll' "$GOGROOT/Hitman Codename 47/"[Hh]itman.ini; then
    POL_Wine nglide_config.exe
fi

exit 0
_EOF_

exit 0

Replies

deri82 Sunday 5 July 2015 at 8:56
deri82 Anonymous

Warning

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

Differences

@@ -1,6 +1,6 @@
 #!/bin/bash
 # Date : (2012-12-08 09-28)
-# Last revision : (2013-11-24 19-30)
+# Last revision : (2015-7-5 year, month, day)
 # Wine version used : 1.4.1
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
@@ -13,7 +13,7 @@
 
 GOGID="hitman"
 PREFIX="HitmanCN47_gog"
-WORKING_WINE_VERSION="1.4.1"
+WORKING_WINE_VERSION="1.7.46-staging"
 
 TITLE="GOG.com - Hitman: Codename 47"
 SHORTCUT_NAME="Hitman: Codename 47"

New source code

#!/bin/bash
# Date : (2012-12-08 09-28)
# Last revision : (2015-7-5 year, month, day)
# 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 :

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

GOGID="hitman"
PREFIX="HitmanCN47_gog"
WORKING_WINE_VERSION="1.7.46-staging"

TITLE="GOG.com - Hitman: Codename 47"
SHORTCUT_NAME="Hitman: Codename 47"

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 1506
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" "6a1f8e9507639f39e6ff737ab7f7ce79"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "32"

# Select OpenGL renderer by default
cat <<'_EOFCFG_' | perl -pe 's/\n/\r\n/' > "$GOGROOT/Hitman Codename 47/Hitman.ini"
Include Setup\Locale.zip
//DrawDll Render3DFX.dll
DrawDll renderopengl.dll
//DrawDll RenderOpenGL.dll
SoundDll Sound.dll
ScriptDll GSC.dll
LocaleDLL Locale.dll
Resolution 800x600
ColorDepth 0
_EOFCFG_

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "hitman.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
POL_Shortcut_QuietDebug "$SHORTCUT_NAME"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Hitman Codename 47/manual.pdf"
# C:\GOG Games\Hitman Codename 47\keybindings_Numpad.pdf
# C:\GOG Games\Hitman Codename 47\keybindings_WASD.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 Codename 47/" || exit 1
TITLE="$TITLE"

POL_Wine Setup.exe
if grep -qi '^DrawDll Render3DFX\.dll' "$GOGROOT/Hitman Codename 47/"[Hh]itman.ini; then
    POL_Wine nglide_config.exe
fi

exit 0
_EOF_

exit 0

Replies

Anonymous
Sunday 3 July 2016 at 17:15
Tried this.. During installation, there was an error message box.. but then The installation got over this time. Was able to play.. Only runtime issue is there was no Jesper Kyd background music.

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