GOG.com - BloodRayne

Informatie

Creator Bericht
petch

Information

This installer has been approved by the team.

Informatie

Platforms:
Downloads: 10905
Wine: 2.22

Feedbacks

Omschrijving

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)

Schermafdrukken

MiniatureMiniatureMiniatureMiniature

Broncode

#!/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 Bericht
Dadu042 Zaterdag 25 Januari 2020 om 12:16
Dadu042

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

Antwoorden

piratmartin Maandag 19 September 2016 om 12:24
piratmartin Anonymous

Bericht

Game instaled, but isnt runnable! Give a error!

Antwoorden

Dinsdag 31 December 2019 om 14:28
Give the error, and change the Wine version.

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