GOG.com - Hitman: Codename 47

Informatie

Creator Bericht
petch
Developer

Information

This installer has been approved by the team.

Informatie

Platforms:
Downloads: 12130
Wine: 1.4.1

Feedbacks

Omschrijving

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)

Schermafdrukken

MiniatureMiniatureMiniature

Broncode

#!/bin/bash
# Date : (2012-12-08 09-28)
# Last revision : (2013-11-24 19-30)
# 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.4.1"

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 Bericht
deri82 Zondag 5 Juli 2015 om 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

Antwoorden

deri82 Zondag 5 Juli 2015 om 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

Antwoorden

Anonymous
Zondag 3 Juli 2016 om 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.