GOG.com - BloodRayne

Informations

Creator Message
petch
Developer

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 8074
Wine: 2.22

Feedbacks

Description

English: First person shooter featuring a sexy half-vampire ;)
(updated for GOG installer v2)

Français : Jeu de tir à la première personne autour d'une semi-vampire sexy ;)
(mis à jour pour l'installeur GOG v2)

Screenshots

MiniatureMiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2012-03-12 23-44)
# Last revision : see hcnagelog
# Wine version used : 1.5.10, 1.5.15
# 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-03-12 23-44)
#   Initial script, for the GOG release.
# [Dadu042] (2020-01-25 11:10)
#   Wine 1.5.15 -> 2.22

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

GOGID="bloodrayne"
PREFIX="BloodRayne1_gog"
WORKING_WINE_VERSION="2.22"

TITLE="GOG.com - BloodRayne"
SHORTCUT_NAME="BloodRayne"

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 1364

# 4.0.15 needed for complex POL_Shortcut_InsertBeforeWine
POL_RequiredVersion "4.0.15" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.15 is required to install $TITLE"

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Terminal Reality / Majesco" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "a0004009663cad8eefafc5964b3f1c4b"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


cd "$POL_USER_ROOT/tmp"
POL_Download "http://files.playonlinux.com/nircmd.zip" "3d6d3f094633c5c97f8b15f8fe1023bf"
POL_System_ExtractSingleFile "nircmd.zip" "nircmd.exe" "$WINEPREFIX/drive_c/windows/nircmd.exe"

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "64"

POL_Wine_X11Drv "GrabFullScreen" "Y"

POL_Wine_OverrideDLL "" winegstreamer
POL_Call POL_Install_devenum
POL_Call POL_Install_quartz

# Doesn't hurt ;)
#POL_Wine_reboot
POL_Wine wineboot -u

POL_Shortcut "rayne.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
# double quotes around "P"OL_Wine prevent POL getArgs to pickup this line, sorry for the hack
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" 'passvideo () {'
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" '  POL_Debug_Message "waiting for video to start"'
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" '  while ! pidof "video\\cutscene.exe"; do sleep 1; done'
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" '  POL_Debug_Message "waiting for video to end"'
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" '  "P"OL_Wine nircmd.exe waitprocess cutscene.exe'
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" '}'
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" '(passvideo; passvideo; "P"OL_Wine nircmd.exe win hideshow title BloodRayne; POL_Debug_Message "done with repaint")&'
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/BloodRayne/manual.pdf"
# C:\GOG Games\BloodRayne\readme.txt

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Saturday 25 January 2020 at 12:16
Dadu042
Moderator

Information

This update has been approved by the team.

Differences

@@ -1,19 +1,25 @@
 #!/bin/bash
 # Date : (2012-03-12 23-44)
-# Last revision : (2013-10-27 22-58)
+# Last revision : see hcnagelog
 # Wine version used : 1.5.10, 1.5.15
 # 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-03-12 23-44)
+#   Initial script, for the GOG release.
+# [Dadu042] (2020-01-25 11:10)
+#   Wine 1.5.15 -> 2.22
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="bloodrayne"
 PREFIX="BloodRayne1_gog"
-WORKING_WINE_VERSION="1.5.15"
+WORKING_WINE_VERSION="2.22"
 
 TITLE="GOG.com - BloodRayne"
 SHORTCUT_NAME="BloodRayne"
@@ -22,6 +28,7 @@
 
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 1364
+
 # 4.0.15 needed for complex POL_Shortcut_InsertBeforeWine
 POL_RequiredVersion "4.0.15" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.15 is required to install $TITLE"
 
@@ -70,4 +77,4 @@
 
 POL_SetupWindow_Close
 
-exit 0
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2012-03-12 23-44)
# Last revision : see hcnagelog
# Wine version used : 1.5.10, 1.5.15
# 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-03-12 23-44)
#   Initial script, for the GOG release.
# [Dadu042] (2020-01-25 11:10)
#   Wine 1.5.15 -> 2.22

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

GOGID="bloodrayne"
PREFIX="BloodRayne1_gog"
WORKING_WINE_VERSION="2.22"

TITLE="GOG.com - BloodRayne"
SHORTCUT_NAME="BloodRayne"

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 1364

# 4.0.15 needed for complex POL_Shortcut_InsertBeforeWine
POL_RequiredVersion "4.0.15" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.15 is required to install $TITLE"

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Terminal Reality / Majesco" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "a0004009663cad8eefafc5964b3f1c4b"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


cd "$POL_USER_ROOT/tmp"
POL_Download "http://files.playonlinux.com/nircmd.zip" "3d6d3f094633c5c97f8b15f8fe1023bf"
POL_System_ExtractSingleFile "nircmd.zip" "nircmd.exe" "$WINEPREFIX/drive_c/windows/nircmd.exe"

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "64"

POL_Wine_X11Drv "GrabFullScreen" "Y"

POL_Wine_OverrideDLL "" winegstreamer
POL_Call POL_Install_devenum
POL_Call POL_Install_quartz

# Doesn't hurt ;)
#POL_Wine_reboot
POL_Wine wineboot -u

POL_Shortcut "rayne.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
# double quotes around "P"OL_Wine prevent POL getArgs to pickup this line, sorry for the hack
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" 'passvideo () {'
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" '  POL_Debug_Message "waiting for video to start"'
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" '  while ! pidof "video\\cutscene.exe"; do sleep 1; done'
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" '  POL_Debug_Message "waiting for video to end"'
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" '  "P"OL_Wine nircmd.exe waitprocess cutscene.exe'
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" '}'
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" '(passvideo; passvideo; "P"OL_Wine nircmd.exe win hideshow title BloodRayne; POL_Debug_Message "done with repaint")&'
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/BloodRayne/manual.pdf"
# C:\GOG Games\BloodRayne\readme.txt

POL_SetupWindow_Close

exit 0

Replies

piratmartin Monday 19 September 2016 at 12:24
piratmartin Anonymous

Message

Game instaled, but isnt runnable! Give a error!

Replies

Tuesday 31 December 2019 at 14:28
Give the error, and change the Wine version.