Blade Runner

Informations

Creator Message
Okto Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 16659
Wine: 1.7.28

Feedbacks

Description

An adventure game developed by Westwood Studios and released in 1997. Wikipedia.

This installer is intended for the original 4-CD release.

A known issues is that CD-1 must be in the drive and mounted each time before launching the game so that the game can identify it.

Screenshots

MiniatureMiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2014-10-19 16-55)
# Revised : (2015-04-13 15:34)
# Wine version used : 1.7.28
# Distributions used to test : openSUSE 13.1 and openSUSE 13.2
# Author : Benjamin Hardy

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Blade Runner"
PREFIX="bladerunner"
# The installer has issues identifying a sound card with 1.6.2, but works correctly with 1.7.28
WINE_VERSION="1.7.28"
SHORTCUT_NAME="Blade Runner"

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

POL_SetupWindow_presentation "$TITLE" "Westwood Studios" "" "Benjamin Hardy" "$PREFIX"  

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "cd1/outtake1.mix"

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINE_VERSION"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$CDROM/setup/install.exe"

POL_Shortcut "blade.exe" "$SHORTCUT_NAME" "" "" "Game;AdventureGame;"

POL_SetupWindow_VMS "2"

POL_Wine_reboot

POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed. Before launching the game each time, please ensure that disk one is in the drive and that the drive has been mounted.')" "$TITLE"

POL_SetupWindow_Close
 
exit 0

Contributions

Filters:

Contribute
Member Message
petch Monday 13 April 2015 at 20:36
petch

Information

This update has been approved by the team.

Message

Add POL_GetSetupImages and POL_SetupWindow_SetID

Differences

@@ -14,7 +14,10 @@
 WINE_VERSION="1.7.28"
 SHORTCUT_NAME="Blade Runner"
 
+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 2312
 POL_Debug_Init
 
 POL_SetupWindow_presentation "$TITLE" "Westwood Studios" "" "Benjamin Hardy" "$PREFIX"  

New source code

#!/bin/bash
# Date : (2014-10-19 16-55)
# Revised : (2015-04-13 15:34)
# Wine version used : 1.7.28
# Distributions used to test : openSUSE 13.1 and openSUSE 13.2
# Author : Benjamin Hardy

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Blade Runner"
PREFIX="bladerunner"
# The installer has issues identifying a sound card with 1.6.2, but works correctly with 1.7.28
WINE_VERSION="1.7.28"
SHORTCUT_NAME="Blade Runner"

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

POL_SetupWindow_presentation "$TITLE" "Westwood Studios" "" "Benjamin Hardy" "$PREFIX"  

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "cd1/outtake1.mix"

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINE_VERSION"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$CDROM/setup/install.exe"

POL_Shortcut "blade.exe" "$SHORTCUT_NAME" "" "" "Game;AdventureGame;"

POL_SetupWindow_VMS "2"

POL_Wine_reboot

POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed. Before launching the game each time, please ensure that disk one is in the drive and that the drive has been mounted.')" "$TITLE"

POL_SetupWindow_Close
 
exit 0

Replies

Okto Monday 13 April 2015 at 20:07
Okto Anonymous

Warning

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

Message

Edited script a little, and made some graphics.

Screenshots:

Left:

Top:

48x48:

22x22:

Differences

@@ -1,7 +1,8 @@
 #!/bin/bash
 # Date : (2014-10-19 16-55)
+# Revised : (2015-04-13 15:34)
 # Wine version used : 1.7.28
-# Distribution used to test : OpenSuse 13.1
+# Distributions used to test : openSUSE 13.1 and openSUSE 13.2
 # Author : Benjamin Hardy
 
 [ "$PLAYONLINUX" = "" ] && exit 0
@@ -10,7 +11,7 @@
 TITLE="Blade Runner"
 PREFIX="bladerunner"
 # The installer has issues identifying a sound card with 1.6.2, but works correctly with 1.7.28
-WORKING_WINE_VERSION="1.7.28"
+WINE_VERSION="1.7.28"
 SHORTCUT_NAME="Blade Runner"
 
 POL_SetupWindow_Init
@@ -18,20 +19,20 @@
 
 POL_SetupWindow_presentation "$TITLE" "Westwood Studios" "" "Benjamin Hardy" "$PREFIX"  
 
-POL_SetupWindow_message "$(eval_gettext 'This script has been designed for the original 4-CD release. Please insert disk one into your disk drive before continuing.')" "$TITLE"
+POL_SetupWindow_cdrom
+POL_SetupWindow_check_cdrom "cd1/outtake1.mix"
 
 POL_System_SetArch "x86"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
-POL_SetupWindow_cdrom
-POL_SetupWindow_check_cdrom "cd1/outtake1.mix"
+POL_Wine_PrefixCreate "$WINE_VERSION"
 
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "$CDROM/setup/install.exe"
 
 POL_Shortcut "blade.exe" "$SHORTCUT_NAME" "" "" "Game;AdventureGame;"
 
+POL_SetupWindow_VMS "2"
+
 POL_Wine_reboot
 
 POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed. Before launching the game each time, please ensure that disk one is in the drive and that the drive has been mounted.')" "$TITLE"

New source code

#!/bin/bash
# Date : (2014-10-19 16-55)
# Revised : (2015-04-13 15:34)
# Wine version used : 1.7.28
# Distributions used to test : openSUSE 13.1 and openSUSE 13.2
# Author : Benjamin Hardy

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Blade Runner"
PREFIX="bladerunner"
# The installer has issues identifying a sound card with 1.6.2, but works correctly with 1.7.28
WINE_VERSION="1.7.28"
SHORTCUT_NAME="Blade Runner"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Westwood Studios" "" "Benjamin Hardy" "$PREFIX"  

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "cd1/outtake1.mix"

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINE_VERSION"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$CDROM/setup/install.exe"

POL_Shortcut "blade.exe" "$SHORTCUT_NAME" "" "" "Game;AdventureGame;"

POL_SetupWindow_VMS "2"

POL_Wine_reboot

POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed. Before launching the game each time, please ensure that disk one is in the drive and that the drive has been mounted.')" "$TITLE"

POL_SetupWindow_Close
 
exit 0

Replies

Okto Sunday 19 October 2014 at 17:18
Okto Anonymous

Warning

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

Message

Following advice, I've added support for localisation, and removed "start /unix" command so that installer runs synchronously.

Differences

@@ -1,5 +1,5 @@
 #!/bin/bash
-# Date : (2014-10-18 20-42)
+# Date : (2014-10-19 16-55)
 # Wine version used : 1.7.28
 # Distribution used to test : OpenSuse 13.1
 # Author : Benjamin Hardy
@@ -18,7 +18,7 @@
 
 POL_SetupWindow_presentation "$TITLE" "Westwood Studios" "" "Benjamin Hardy" "$PREFIX"  
 
-POL_SetupWindow_message "This script has been designed for the original 4-CD release. Please place disc one in the drive before continuing." ""
+POL_SetupWindow_message "$(eval_gettext 'This script has been designed for the original 4-CD release. Please insert disk one into your disk drive before continuing.')" "$TITLE"
 
 POL_System_SetArch "x86"
 POL_Wine_SelectPrefix "$PREFIX"
@@ -28,14 +28,13 @@
 POL_SetupWindow_check_cdrom "cd1/outtake1.mix"
 
 POL_Wine_WaitBefore "$TITLE"
-POL_Wine start /unix "$CDROM/setup/install.exe"
-POL_Wine_WaitExit "$TITLE"
+POL_Wine "$CDROM/setup/install.exe"
 
 POL_Shortcut "blade.exe" "$SHORTCUT_NAME" "" "" "Game;AdventureGame;"
 
 POL_Wine_reboot
 
-POL_SetupWindow_message "$TITLE has now been installed. Before launching the game each time, please ensure that disc one is in the drive and that the drive has been mounted." ""
+POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed. Before launching the game each time, please ensure that disk one is in the drive and that the drive has been mounted.')" "$TITLE"
 
 POL_SetupWindow_Close
  

New source code

#!/bin/bash
# Date : (2014-10-19 16-55)
# Wine version used : 1.7.28
# Distribution used to test : OpenSuse 13.1
# Author : Benjamin Hardy

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Blade Runner"
PREFIX="bladerunner"
# The installer has issues identifying a sound card with 1.6.2, but works correctly with 1.7.28
WORKING_WINE_VERSION="1.7.28"
SHORTCUT_NAME="Blade Runner"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Westwood Studios" "" "Benjamin Hardy" "$PREFIX"  

POL_SetupWindow_message "$(eval_gettext 'This script has been designed for the original 4-CD release. Please insert disk one into your disk drive before continuing.')" "$TITLE"

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "cd1/outtake1.mix"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$CDROM/setup/install.exe"

POL_Shortcut "blade.exe" "$SHORTCUT_NAME" "" "" "Game;AdventureGame;"

POL_Wine_reboot

POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed. Before launching the game each time, please ensure that disk one is in the drive and that the drive has been mounted.')" "$TITLE"

POL_SetupWindow_Close
 
exit 0

Replies

Okto Saturday 18 October 2014 at 20:53
Okto Anonymous

Warning

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

Message

Ok, my script turned up in a slightly different box to the one intended.

Differences

@@ -0,0 +1,42 @@
+#!/bin/bash
+# Date : (2014-10-18 20-42)
+# Wine version used : 1.7.28
+# Distribution used to test : OpenSuse 13.1
+# Author : Benjamin Hardy
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="Blade Runner"
+PREFIX="bladerunner"
+# The installer has issues identifying a sound card with 1.6.2, but works correctly with 1.7.28
+WORKING_WINE_VERSION="1.7.28"
+SHORTCUT_NAME="Blade Runner"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "Westwood Studios" "" "Benjamin Hardy" "$PREFIX"  
+
+POL_SetupWindow_message "This script has been designed for the original 4-CD release. Please place disc one in the drive before continuing." ""
+
+POL_System_SetArch "x86"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+POL_SetupWindow_cdrom
+POL_SetupWindow_check_cdrom "cd1/outtake1.mix"
+
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine start /unix "$CDROM/setup/install.exe"
+POL_Wine_WaitExit "$TITLE"
+
+POL_Shortcut "blade.exe" "$SHORTCUT_NAME" "" "" "Game;AdventureGame;"
+
+POL_Wine_reboot
+
+POL_SetupWindow_message "$TITLE has now been installed. Before launching the game each time, please ensure that disc one is in the drive and that the drive has been mounted." ""
+
+POL_SetupWindow_Close
+ 
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2014-10-18 20-42)
# Wine version used : 1.7.28
# Distribution used to test : OpenSuse 13.1
# Author : Benjamin Hardy

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Blade Runner"
PREFIX="bladerunner"
# The installer has issues identifying a sound card with 1.6.2, but works correctly with 1.7.28
WORKING_WINE_VERSION="1.7.28"
SHORTCUT_NAME="Blade Runner"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Westwood Studios" "" "Benjamin Hardy" "$PREFIX"  

POL_SetupWindow_message "This script has been designed for the original 4-CD release. Please place disc one in the drive before continuing." ""

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "cd1/outtake1.mix"

POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$CDROM/setup/install.exe"
POL_Wine_WaitExit "$TITLE"

POL_Shortcut "blade.exe" "$SHORTCUT_NAME" "" "" "Game;AdventureGame;"

POL_Wine_reboot

POL_SetupWindow_message "$TITLE has now been installed. Before launching the game each time, please ensure that disc one is in the drive and that the drive has been mounted." ""

POL_SetupWindow_Close
 
exit 0

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