Bioshock

Informations

Creator Message
GNU_Raziel

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 75389
Wine: 2.22

Feedbacks

Description

Screenshots

MiniatureMiniature

Source code

#!/bin/bash
# Date : (2009-05-23 12-14)
# Last revision : (2016-05-08 13:33)
# Wine version used : 1.3.5, 1.3.10, 1.3.23, 1.4, 1.8.2
# Distribution used to test : Debian Testing x64,Mint 17.3
# Author : NSWL & GNU_Raziel,Nicolas HOUDELOT
# Licence : Retail
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [?] (2009-05-23 12-14)
#   Initial script.
# [Nicolas HOUDELOT] (2016-05-08 13:33)
#   Wine 1.4 -> 1.8.2
#   ...
# [Dadu042] (2020-02-14 22:41)
#   Wine 1.8.2 (outdated) -> 2.22
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Bioshock"
PREFIX="bioshock"
EDITOR="2kgames"
GAME_URL="www.bioshockgame.com"
AUTHOR="NSLW & GNU_Raziel"
WORKING_WINE_VERSION="2.22"
GAME_VMS="256"
MD5_DVD_AUTORUN="a04a243b858b18ca4e40d7f12837d573"
MD5_DVD_SETUP="ba30773120175ee6a40c261f9de7fcd3"

# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/bioshock/top.jpg" "http://files.playonlinux.com/resources/setups/bioshock/left.jpg" "$TITLE"
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Setup method and md5 detection
if [ "$POL_SELECTED_FILE" ]; then
        SETUP_EXE="$POL_SELECTED_FILE"
        if [ "$POL_SELECTED_MD5" == "$MD5_DVD_AUTORUN" ] || [ "$POL_SELECTED_MD5" == "$MD5_DVD_SETUP" ]; then
                INSTALL_METHOD="DVD"
        fi
else
        # Choose between DVD, Steam and Digital Download version
        POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"
fi
 
# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_steam
        STEAM_ID="7670"
fi

#Configuration de wine
Set_OS "winxp" #minimum requirement for this game is WinXP
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver
 
# Fix for mouse problem
POL_Wine_X11Drv "GrabFullscreen" "Y"
 
# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix
 
if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "setup.exe"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM" ]; then
        # Mandatory pre-install fix for steam
        POL_Call POL_Install_steam_flags "$STEAM_ID"
        # Shortcut done before install for steam version
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"
        POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
        # Steam install
        POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
        POL_Wine_WaitExit "$TITLE"
else
        # Asking then installing DDV of the game
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
fi

#Disable DirectX 10 detection
POL_Wine reg.exe ADD "HKEY_CURRENT_USER\Software\Wine\AppDefaults\BioShock.exe\DllOverrides" "/v" "d3d10" "/t" "REG_SZ" "/d" ""
 
# Making shortcut
if [ "$INSTALL_METHOD" != "STEAM" ]; then
        POL_Shortcut "Bioshock.exe" "$TITLE" "" ""
fi
 
# Game protection warning
if [ "$INSTALL_METHOD" == "DVD" ]; then
        POL_SetupWindow_message "$(eval_gettext 'You must disable anti-piracy protections of this game\nif you want to play it with wine')" "$TITLE"
fi
 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Friday 14 February 2020 at 21:43
Dadu042

Information

This update has been approved by the team.

Differences

@@ -6,6 +6,15 @@
 # Author : NSWL & GNU_Raziel,Nicolas HOUDELOT
 # Licence : Retail
 # Only For : http://www.playonlinux.com
+#
+# CHANGELOG
+# [?] (2009-05-23 12-14)
+#   Initial script.
+# [Nicolas HOUDELOT] (2016-05-08 13:33)
+#   Wine 1.4 -> 1.8.2
+#   ...
+# [Dadu042] (2020-02-14 22:41)
+#   Wine 1.8.2 (outdated) -> 2.22
  
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -15,7 +24,7 @@
 EDITOR="2kgames"
 GAME_URL="www.bioshockgame.com"
 AUTHOR="NSLW & GNU_Raziel"
-WORKING_WINE_VERSION="1.8.2"
+WORKING_WINE_VERSION="2.22"
 GAME_VMS="256"
 MD5_DVD_AUTORUN="a04a243b858b18ca4e40d7f12837d573"
 MD5_DVD_SETUP="ba30773120175ee6a40c261f9de7fcd3"

New source code

#!/bin/bash
# Date : (2009-05-23 12-14)
# Last revision : (2016-05-08 13:33)
# Wine version used : 1.3.5, 1.3.10, 1.3.23, 1.4, 1.8.2
# Distribution used to test : Debian Testing x64,Mint 17.3
# Author : NSWL & GNU_Raziel,Nicolas HOUDELOT
# Licence : Retail
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [?] (2009-05-23 12-14)
#   Initial script.
# [Nicolas HOUDELOT] (2016-05-08 13:33)
#   Wine 1.4 -> 1.8.2
#   ...
# [Dadu042] (2020-02-14 22:41)
#   Wine 1.8.2 (outdated) -> 2.22
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Bioshock"
PREFIX="bioshock"
EDITOR="2kgames"
GAME_URL="www.bioshockgame.com"
AUTHOR="NSLW & GNU_Raziel"
WORKING_WINE_VERSION="2.22"
GAME_VMS="256"
MD5_DVD_AUTORUN="a04a243b858b18ca4e40d7f12837d573"
MD5_DVD_SETUP="ba30773120175ee6a40c261f9de7fcd3"

# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/bioshock/top.jpg" "http://files.playonlinux.com/resources/setups/bioshock/left.jpg" "$TITLE"
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Setup method and md5 detection
if [ "$POL_SELECTED_FILE" ]; then
        SETUP_EXE="$POL_SELECTED_FILE"
        if [ "$POL_SELECTED_MD5" == "$MD5_DVD_AUTORUN" ] || [ "$POL_SELECTED_MD5" == "$MD5_DVD_SETUP" ]; then
                INSTALL_METHOD="DVD"
        fi
else
        # Choose between DVD, Steam and Digital Download version
        POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"
fi
 
# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_steam
        STEAM_ID="7670"
fi

#Configuration de wine
Set_OS "winxp" #minimum requirement for this game is WinXP
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver
 
# Fix for mouse problem
POL_Wine_X11Drv "GrabFullscreen" "Y"
 
# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix
 
if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "setup.exe"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM" ]; then
        # Mandatory pre-install fix for steam
        POL_Call POL_Install_steam_flags "$STEAM_ID"
        # Shortcut done before install for steam version
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"
        POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
        # Steam install
        POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
        POL_Wine_WaitExit "$TITLE"
else
        # Asking then installing DDV of the game
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
fi

#Disable DirectX 10 detection
POL_Wine reg.exe ADD "HKEY_CURRENT_USER\Software\Wine\AppDefaults\BioShock.exe\DllOverrides" "/v" "d3d10" "/t" "REG_SZ" "/d" ""
 
# Making shortcut
if [ "$INSTALL_METHOD" != "STEAM" ]; then
        POL_Shortcut "Bioshock.exe" "$TITLE" "" ""
fi
 
# Game protection warning
if [ "$INSTALL_METHOD" == "DVD" ]; then
        POL_SetupWindow_message "$(eval_gettext 'You must disable anti-piracy protections of this game\nif you want to play it with wine')" "$TITLE"
fi
 
POL_SetupWindow_Close
exit 0

Replies

nhoudelot Sunday 8 May 2016 at 13:36
nhoudelot Anonymous

Warning

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

Message

bump to wine 1.8.2

as a result, you can get rid of :

  • POL_Call POL_Install_dxfullsetup
  • POL_Call POL_Install_dotnet20

had to enable a workaround for DirextX 10, as seen here : https://appdb.winehq.org/objectManager.php?sClass=version&iId=9320

Differences

@@ -1,110 +1,114 @@
 #!/bin/bash
 # Date : (2009-05-23 12-14)
-# Last revision : (2012-05-15 21:00)
-# Wine version used : 1.3.5, 1.3.10, 1.3.23, 1.4
-# Distribution used to test : Debian Testing x64
-# Author : NSWL & GNU_Raziel
+# Last revision : (2016-05-08 13:33)
+# Wine version used : 1.3.5, 1.3.10, 1.3.23, 1.4, 1.8.2
+# Distribution used to test : Debian Testing x64,Mint 17.3
+# Author : NSWL & GNU_Raziel,Nicolas HOUDELOT
 # Licence : Retail
 # Only For : http://www.playonlinux.com
-
+ 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Bioshock"
 PREFIX="bioshock"
 EDITOR="2kgames"
 GAME_URL="www.bioshockgame.com"
 AUTHOR="NSLW & GNU_Raziel"
-WORKING_WINE_VERSION="1.4"
+WORKING_WINE_VERSION="1.8.2"
 GAME_VMS="256"
 MD5_DVD_AUTORUN="a04a243b858b18ca4e40d7f12837d573"
 MD5_DVD_SETUP="ba30773120175ee6a40c261f9de7fcd3"
 
 # Starting the script
-#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/bioshock/top.jpg" "http://files.playonlinux.com/resources/setups/bioshock/left.jpg" "$TITLE"
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/bioshock/top.jpg" "http://files.playonlinux.com/resources/setups/bioshock/left.jpg" "$TITLE"
 POL_SetupWindow_Init
-
+ 
 # Starting debugging API
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-
+ 
 # Setting prefix path
 POL_Wine_SelectPrefix "$PREFIX"
-
+ 
 # Downloading wine if necessary and creating prefix
-POL_System_SetArch "x86" # For dotnet/mono
+POL_System_SetArch "auto"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
+ 
 # Setup method and md5 detection
 if [ "$POL_SELECTED_FILE" ]; then
         SETUP_EXE="$POL_SELECTED_FILE"
-	if [ "$POL_SELECTED_MD5" == "$MD5_DVD_AUTORUN" ] || [ "$POL_SELECTED_MD5" == "$MD5_DVD_SETUP" ]; then
-		INSTALL_METHOD="DVD"
-	fi
+        if [ "$POL_SELECTED_MD5" == "$MD5_DVD_AUTORUN" ] || [ "$POL_SELECTED_MD5" == "$MD5_DVD_SETUP" ]; then
+                INSTALL_METHOD="DVD"
+        fi
 else
-	# Choose between DVD, Steam and Digital Download version
-	POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"
+        # Choose between DVD, Steam and Digital Download version
+        POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"
 fi
-
+ 
 # Installing mandatory dependencies
 if [ "$INSTALL_METHOD" == "STEAM" ]; then
-	POL_Call POL_Install_steam
-	STEAM_ID="7670"
+        POL_Call POL_Install_steam
+        STEAM_ID="7670"
 fi
-POL_Call POL_Install_dxfullsetup
-POL_Call POL_Install_dotnet20
 
+#Configuration de wine
+Set_OS "winxp" #minimum requirement for this game is WinXP
+ 
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS $GAME_VMS
-
+ 
 # Set Graphic Card informations keys for wine
 POL_Wine_SetVideoDriver
-
+ 
 # Fix for mouse problem
 POL_Wine_X11Drv "GrabFullscreen" "Y"
-
+ 
 # Sound problem fix - pulseaudio related
 [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
 [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
 ## End Fix
-
+ 
 if [ "$INSTALL_METHOD" == "DVD" ]; then
-	# Asking for CDROM and checking if it's correct one
-	POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive')" "$TITLE"
-	POL_SetupWindow_cdrom
-	POL_SetupWindow_check_cdrom "setup.exe"
-	POL_Wine start /unix "$CDROM/setup.exe"
-	POL_Wine_WaitExit "$TITLE"
+        # Asking for CDROM and checking if it's correct one
+        POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive')" "$TITLE"
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom "setup.exe"
+        POL_Wine start /unix "$CDROM/setup.exe"
+        POL_Wine_WaitExit "$TITLE"
 elif [ "$INSTALL_METHOD" == "STEAM" ]; then
-	# Mandatory pre-install fix for steam
-	POL_Call POL_Install_steam_flags "$STEAM_ID"
-	# Shortcut done before install for steam version
-	POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"
-	POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
-	# Steam install
-	POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
-	cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
-	POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
-	POL_Wine_WaitExit "$TITLE"
+        # Mandatory pre-install fix for steam
+        POL_Call POL_Install_steam_flags "$STEAM_ID"
+        # Shortcut done before install for steam version
+        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"
+        POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
+        # Steam install
+        POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
+        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
+        POL_Wine_WaitExit "$TITLE"
 else
-	# Asking then installing DDV of the game
-	cd "$HOME"
-	POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
-	SETUP_EXE="$APP_ANSWER"
-	POL_Wine start /unix "$SETUP_EXE"
-	POL_Wine_WaitExit "$TITLE"
+        # Asking then installing DDV of the game
+        cd "$HOME"
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+        SETUP_EXE="$APP_ANSWER"
+        POL_Wine start /unix "$SETUP_EXE"
+        POL_Wine_WaitExit "$TITLE"
 fi
 
+#Disable DirectX 10 detection
+POL_Wine reg.exe ADD "HKEY_CURRENT_USER\Software\Wine\AppDefaults\BioShock.exe\DllOverrides" "/v" "d3d10" "/t" "REG_SZ" "/d" ""
+ 
 # Making shortcut
 if [ "$INSTALL_METHOD" != "STEAM" ]; then
-	POL_Shortcut "Bioshock.exe" "$TITLE" "" ""
+        POL_Shortcut "Bioshock.exe" "$TITLE" "" ""
 fi
-
+ 
 # Game protection warning
 if [ "$INSTALL_METHOD" == "DVD" ]; then
-	POL_SetupWindow_message "$(eval_gettext 'You must disable anti-piracy protections of this game\nif you want to play it with wine')" "$TITLE"
+        POL_SetupWindow_message "$(eval_gettext 'You must disable anti-piracy protections of this game\nif you want to play it with wine')" "$TITLE"
 fi
-
+ 
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2009-05-23 12-14)
# Last revision : (2016-05-08 13:33)
# Wine version used : 1.3.5, 1.3.10, 1.3.23, 1.4, 1.8.2
# Distribution used to test : Debian Testing x64,Mint 17.3
# Author : NSWL & GNU_Raziel,Nicolas HOUDELOT
# Licence : Retail
# Only For : http://www.playonlinux.com
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Bioshock"
PREFIX="bioshock"
EDITOR="2kgames"
GAME_URL="www.bioshockgame.com"
AUTHOR="NSLW & GNU_Raziel"
WORKING_WINE_VERSION="1.8.2"
GAME_VMS="256"
MD5_DVD_AUTORUN="a04a243b858b18ca4e40d7f12837d573"
MD5_DVD_SETUP="ba30773120175ee6a40c261f9de7fcd3"

# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/bioshock/top.jpg" "http://files.playonlinux.com/resources/setups/bioshock/left.jpg" "$TITLE"
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Setup method and md5 detection
if [ "$POL_SELECTED_FILE" ]; then
        SETUP_EXE="$POL_SELECTED_FILE"
        if [ "$POL_SELECTED_MD5" == "$MD5_DVD_AUTORUN" ] || [ "$POL_SELECTED_MD5" == "$MD5_DVD_SETUP" ]; then
                INSTALL_METHOD="DVD"
        fi
else
        # Choose between DVD, Steam and Digital Download version
        POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"
fi
 
# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_steam
        STEAM_ID="7670"
fi

#Configuration de wine
Set_OS "winxp" #minimum requirement for this game is WinXP
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver
 
# Fix for mouse problem
POL_Wine_X11Drv "GrabFullscreen" "Y"
 
# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix
 
if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "setup.exe"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM" ]; then
        # Mandatory pre-install fix for steam
        POL_Call POL_Install_steam_flags "$STEAM_ID"
        # Shortcut done before install for steam version
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"
        POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
        # Steam install
        POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
        POL_Wine_WaitExit "$TITLE"
else
        # Asking then installing DDV of the game
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
fi

#Disable DirectX 10 detection
POL_Wine reg.exe ADD "HKEY_CURRENT_USER\Software\Wine\AppDefaults\BioShock.exe\DllOverrides" "/v" "d3d10" "/t" "REG_SZ" "/d" ""
 
# Making shortcut
if [ "$INSTALL_METHOD" != "STEAM" ]; then
        POL_Shortcut "Bioshock.exe" "$TITLE" "" ""
fi
 
# Game protection warning
if [ "$INSTALL_METHOD" == "DVD" ]; then
        POL_SetupWindow_message "$(eval_gettext 'You must disable anti-piracy protections of this game\nif you want to play it with wine')" "$TITLE"
fi
 
POL_SetupWindow_Close
exit 0

Replies

Anonymous
Thursday 14 December 2017 at 16:08
install, no problem, but i can't patch to 1.1
Dennis50300 Monday 21 September 2015 at 19:19
Dennis50300 Anonymous

Message

i can't install, because the installer want newest Patch download and the i can only cancel the Setup in an Error of Securom

 

best regards from Germany

 

Dennis

Replies

Monday 21 September 2015 at 23:28
We can't help you with DRM issues https://www.playonlinux.com/en/terms.html
Danny-POL Wednesday 27 May 2015 at 0:58
Danny-POL Anonymous

Message

It runs but crashes a lot, crashes about every 20 min, can you rewrite the code to current, and I will test it, I also corrected the script for COD4 mw and it runs great. Check the comment section.

 

Replies

Anonymous
Wednesday 27 May 2015 at 21:51
I did some research, it seems Bioshock has problems on multiple processors, so from the terminal type: taskset -c 0 playonlinux to launch PlayOnLinux disabling all your multi cores. It should run without locking up, I will test this when I get home.
Anonymous
Wednesday 27 May 2015 at 21:53
This is not just a linux issue, or wine, this is a Bioshock issue.
Anonymous
Saturday 30 May 2015 at 16:14
I was unable to use task set -c 0 playonlinux using linux mint mate 17.1, I'm not sure why it did not work. Maybe in a future release you can add the feature to limit to one processor for games. This game says to run better on a single processor and locks up on dual cores or greater.
Anonymous
Thursday 14 December 2017 at 16:07
recommended system requirements ist a core2duo, i don't think so, my hardware to this time i play it on Windows XP (dx9.0c) was a Phenom II 940BE, that is a Quacore ;-)