GOG.com - Painkiller: Black Edition

Informations

Creator Message
petch

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 12630
Wine: 2.22

Feedbacks

Description

English: FPS in hell, with many opponents (in both quantity and diversity...)
(updated for GOG installer v2)

Français : FPS en enfer, avec beaucoup d'opposants (en nombre comme en variété...)
(mis à jour pour l'installeur GOG v2)

Source code

#!/bin/bash
# Date : (2012-01-07 21-26)
# Last revision : see changelog
# 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-01-07 21-26)
#   Initial script.
# [Pierre Etchemaite] (2013-12-13 20-51)
#   ?
# [Dadu042] (2020-03-20 19:30).
#   Wine 1.4.1 -> 2.22

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

GOGID="painkiller"
PREFIX="PainkillerBlack_gog"
WORKING_WINE_VERSION="2.22"

TITLE="GOG.com - Painkiller: Black Edition"
SHORTCUT_NAME="Painkiller Black Edition"
SHORTCUT_EDITOR="$SHORTCUT_NAME - $(eval_gettext 'Editor')"
SHORTCUT_DS="$SHORTCUT_NAME - $(eval_gettext 'Dedicated Server')"

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

POL_SetupWindow_presentation "$TITLE" "People Can Fly / Nordic Games" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" --alternate "setup_$GOGID" 3 "c433bc586d932316d15a66d9735fba15" "d726f29f968a85f148d8109b8aac46e2" "d246d7b52caf147adbfb9df5550e87b2" "c2d78223714c48899e9812d93f4648db"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


Set_OS winxp

POL_SetupWindow_VMS "64"

# Doesn't hurt ;)
POL_Wine_reboot

LNG_EDITOR="$(eval_gettext 'Editor')"
LNG_DS="$(eval_gettext 'Dedicated server')"
POL_SetupWindow_checkbox_list "$(eval_gettext 'What extra shortcuts should be created?')" "$TITLE" "${LNG_EDITOR}~${LNG_DS}" "~"
SHORTCUTS="$APP_ANSWER"

POL_Shortcut "Painkiller.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Painkiller Black/Docs/Manual.pdf"
# C:\GOG Games\Painkiller Black\Docs\ReadMe.txt

if echo "$SHORTCUTS" | grep -q "$LNG_EDITOR"; then
    POL_Shortcut "PainEditor.exe" "$SHORTCUT_EDITOR" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
    POL_Shortcut_Document "$SHORTCUT_EDITOR" "$GOGROOT/Painkiller Black/Docs/Pain Engine.pdf"
fi

if echo "$SHORTCUTS" | grep -q "$LNG_DS"; then
    POL_Shortcut "Painkiller.exe" "$SHORTCUT_DS" "$SHORTCUT_NAME.png" "-dedicated" "Game;ActionGame;"
fi

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Saturday 21 March 2020 at 15:03
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,19 +1,27 @@
 #!/bin/bash
 # Date : (2012-01-07 21-26)
-# Last revision : (2013-12-13 20-51)
-# Wine version used : 1.4.1
+# Last revision : see changelog
+# 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-01-07 21-26)
+#   Initial script.
+# [Pierre Etchemaite] (2013-12-13 20-51)
+#   ?
+# [Dadu042] (2020-03-20 19:30).
+#   Wine 1.4.1 -> 2.22
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="painkiller"
 PREFIX="PainkillerBlack_gog"
-WORKING_WINE_VERSION="1.4.1"
+WORKING_WINE_VERSION="2.22"
 
 TITLE="GOG.com - Painkiller: Black Edition"
 SHORTCUT_NAME="Painkiller Black Edition"
@@ -63,4 +71,4 @@
 
 POL_SetupWindow_Close
 
-exit 0
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2012-01-07 21-26)
# Last revision : see changelog
# 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-01-07 21-26)
#   Initial script.
# [Pierre Etchemaite] (2013-12-13 20-51)
#   ?
# [Dadu042] (2020-03-20 19:30).
#   Wine 1.4.1 -> 2.22

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

GOGID="painkiller"
PREFIX="PainkillerBlack_gog"
WORKING_WINE_VERSION="2.22"

TITLE="GOG.com - Painkiller: Black Edition"
SHORTCUT_NAME="Painkiller Black Edition"
SHORTCUT_EDITOR="$SHORTCUT_NAME - $(eval_gettext 'Editor')"
SHORTCUT_DS="$SHORTCUT_NAME - $(eval_gettext 'Dedicated Server')"

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

POL_SetupWindow_presentation "$TITLE" "People Can Fly / Nordic Games" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" --alternate "setup_$GOGID" 3 "c433bc586d932316d15a66d9735fba15" "d726f29f968a85f148d8109b8aac46e2" "d246d7b52caf147adbfb9df5550e87b2" "c2d78223714c48899e9812d93f4648db"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


Set_OS winxp

POL_SetupWindow_VMS "64"

# Doesn't hurt ;)
POL_Wine_reboot

LNG_EDITOR="$(eval_gettext 'Editor')"
LNG_DS="$(eval_gettext 'Dedicated server')"
POL_SetupWindow_checkbox_list "$(eval_gettext 'What extra shortcuts should be created?')" "$TITLE" "${LNG_EDITOR}~${LNG_DS}" "~"
SHORTCUTS="$APP_ANSWER"

POL_Shortcut "Painkiller.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Painkiller Black/Docs/Manual.pdf"
# C:\GOG Games\Painkiller Black\Docs\ReadMe.txt

if echo "$SHORTCUTS" | grep -q "$LNG_EDITOR"; then
    POL_Shortcut "PainEditor.exe" "$SHORTCUT_EDITOR" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
    POL_Shortcut_Document "$SHORTCUT_EDITOR" "$GOGROOT/Painkiller Black/Docs/Pain Engine.pdf"
fi

if echo "$SHORTCUTS" | grep -q "$LNG_DS"; then
    POL_Shortcut "Painkiller.exe" "$SHORTCUT_DS" "$SHORTCUT_NAME.png" "-dedicated" "Game;ActionGame;"
fi

POL_SetupWindow_Close

exit 0

Replies

piratmartin Tuesday 25 October 2016 at 12:42
piratmartin Anonymous

Message

Run OK. Only shotcurt not function in playonlinux. I must run executable file in game directory with wine.

Replies

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