Bioshock

Informations

Créateur Messages
GNU_Raziel

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 75872
Wine: 2.22

Retours d'expérience

Description

Captures d'écran

MiniatureMiniature

Code source

#!/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:

Contribuer
Membre Messages
Dadu042 Vendredi 14 Février 2020 à 21:43
Dadu042

Information

Cette mise à jour a été acceptée par l'équipe

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"

Nouveau code source

#!/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

Réponses

nhoudelot Dimanche 8 Mai 2016 à 13:36
nhoudelot Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Anonymous
Jeudi 14 Décembre 2017 à 16:08
install, no problem, but i can't patch to 1.1
Dennis50300 Lundi 21 September 2015 à 19:19
Dennis50300 Anonymous

Messages

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

Réponses

Lundi 21 September 2015 à 23:28
We can't help you with DRM issues https://www.playonlinux.com/en/terms.html
Danny-POL Mercredi 27 Mai 2015 à 0:58
Danny-POL Anonymous

Messages

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.

 

Réponses

Anonymous
Mercredi 27 Mai 2015 à 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
Mercredi 27 Mai 2015 à 21:53
This is not just a linux issue, or wine, this is a Bioshock issue.
Anonymous
Samedi 30 Mai 2015 à 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
Jeudi 14 Décembre 2017 à 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 ;-)

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