Deus Ex: Human Revolution

Informations

Creator Message
Xenos5

Warning

This installer is a beta script. It means that it might not work as expected

Informations

Platforms:
Downloads: 17979
Wine: 1.7.24-CS-0.9.1-DXHR

Feedbacks

Description

Deus Ex: Human Revolution is a cyberpunk-themed action role-playing video game developed by Eidos Montreal and published by Square Enix. It is the third game in the Deus Ex series. The game is set in 2027, 25 years before the first game in the series, at a time when multinational corporations have grown in power beyond the control of national governments. The game follows Adam Jensen, the newly hired security manager at Sarif Industries, a growing biotechnology firm.
Description borrowed from http://en.wikipedia.org/wiki/Deus_Ex:_Human_Revolution

Script notes:
- Playable on Nvidia, with minor graphical artifacts
- Playable on AMD
- Unplayable on Intel, due to major stuttering on every texture load, and very long load times

List of remaining visual artifacts:
- Certain floor and table textures flicker. If it is irritating enough, it can be worked around by disabling shadows.
- On Nvidia, light sources often give strange light flares that stretch horizontally across your entire screen. This is a result of the workaround to get rid of the texture load stuttering (disabling GLSL).

Screenshots

MiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2014-04-10T15:26Z)
# Last revision : (2015-03-16T04:47Z)
# Wine version used : 1.7.24-CS-0.9.1-DXHR
# Distribution used to test : Arch Linux x64
# Author : Alexander Borysov
# Script licence : GPLv3
# Program licence: Retail

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

TITLE="Deus Ex: Human Revolution"
PREFIX="DXHR"
STEAM_APP_ID=28050

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

POL_SetupWindow_presentation "$TITLE" "Square Enix" "http://deusex.com/" "Alexander Borysov" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"

POL_Wine_PrefixCreate "1.7.24-CS-0.9.1-DXHR"

POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"

# marginally higher fps
Set_OS "win7"

if [ "$INSTALL_METHOD" = "DVD" ]; then
   POL_SetupWindow_cdrom
   POL_SetupWindow_check_cdrom "DEHR.ico"
   POL_Wine "$CDROM/Setup.exe"
   POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" = "STEAM" ]; then
   POL_Call POL_Install_steam
   cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
   POL_Wine "steam.exe" "steam://install/$STEAM_APP_ID"
   POL_Wine_WaitExit "$TITLE"
else
   POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
   POL_Wine "$APP_ANSWER"
   POL_Wine_WaitExit "$TITLE"
fi

POL_SetupWindow_VMS "512"

# On Nvidia, disabling GLSL removes the stutter you otherwise get. On AMD, it makes the game crash on start.
POL_Wine_DetectCard
[ "$DRVID" = "NVIDIA" ] && POL_Wine_Direct3D "UseGLSL" "disabled"
POL_Wine_Direct3D "CSMT" "enabled"


if [ "$INSTALL_METHOD" = "STEAM" ]; then
   POL_Shortcut "steam.exe" "$TITLE" "${TITLE}.png" "steam://rungameid/$STEAM_APP_ID -no-dwrite"
else
   POL_Shortcut "dxhr.exe" "$TITLE" "${TITLE}.png"
fi

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Xenos5 Monday 16 March 2015 at 6:09
Xenos5

Warning

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

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : (2014-04-10T15:26Z)
-# Last revision : (2014-04-10T15:26Z)
-# Wine version used : 1.7.4-CSMT
+# Last revision : (2015-03-16T05:09Z)
+# Wine version used : 1.7.24-CS-0.9.1-DXHR2
 # Distribution used to test : Arch Linux x64
 # Author : Alexander Borysov
 # Script licence : GPLv3
@@ -23,7 +23,7 @@
 
 POL_Wine_SelectPrefix "$PREFIX"
 
-POL_Wine_PrefixCreate "1.7.4-CSMT"
+POL_Wine_PrefixCreate "1.7.24-CS-0.9.1-DXHR2"
 
 POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"
 
@@ -48,16 +48,17 @@
 
 POL_SetupWindow_VMS "512"
 
-POL_Wine_Direct3D "UseGLSL" "disabled"
+# On Nvidia, disabling GLSL removes the stutter you otherwise get. On AMD, it makes the game crash on start.
+POL_Wine_DetectCard
+[ "$DRVID" = "NVIDIA" ] && POL_Wine_Direct3D "UseGLSL" "disabled"
 POL_Wine_Direct3D "CSMT" "enabled"
 
-POL_Wine_SetVideoDriver
 
 if [ "$INSTALL_METHOD" = "STEAM" ]; then
-   POL_Shortcut "steam.exe" "$TITLE" "${TITLE}.png" "steam://rungameid/$STEAM_APP_ID"
+   POL_Shortcut "steam.exe" "$TITLE" "${TITLE}.png" "steam://rungameid/$STEAM_APP_ID -no-dwrite"
 else
    POL_Shortcut "dxhr.exe" "$TITLE" "${TITLE}.png"
 fi
 
 POL_SetupWindow_Close
-exit 0
\ No newline at end of file
+exit 0

New source code

#!/bin/bash
# Date : (2014-04-10T15:26Z)
# Last revision : (2015-03-16T05:09Z)
# Wine version used : 1.7.24-CS-0.9.1-DXHR2
# Distribution used to test : Arch Linux x64
# Author : Alexander Borysov
# Script licence : GPLv3
# Program licence: Retail

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

TITLE="Deus Ex: Human Revolution"
PREFIX="DXHR"
STEAM_APP_ID=28050

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

POL_SetupWindow_presentation "$TITLE" "Square Enix" "http://deusex.com/" "Alexander Borysov" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"

POL_Wine_PrefixCreate "1.7.24-CS-0.9.1-DXHR2"

POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"

# marginally higher fps
Set_OS "win7"

if [ "$INSTALL_METHOD" = "DVD" ]; then
   POL_SetupWindow_cdrom
   POL_SetupWindow_check_cdrom "DEHR.ico"
   POL_Wine "$CDROM/Setup.exe"
   POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" = "STEAM" ]; then
   POL_Call POL_Install_steam
   cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
   POL_Wine "steam.exe" "steam://install/$STEAM_APP_ID"
   POL_Wine_WaitExit "$TITLE"
else
   POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
   POL_Wine "$APP_ANSWER"
   POL_Wine_WaitExit "$TITLE"
fi

POL_SetupWindow_VMS "512"

# On Nvidia, disabling GLSL removes the stutter you otherwise get. On AMD, it makes the game crash on start.
POL_Wine_DetectCard
[ "$DRVID" = "NVIDIA" ] && POL_Wine_Direct3D "UseGLSL" "disabled"
POL_Wine_Direct3D "CSMT" "enabled"


if [ "$INSTALL_METHOD" = "STEAM" ]; then
   POL_Shortcut "steam.exe" "$TITLE" "${TITLE}.png" "steam://rungameid/$STEAM_APP_ID -no-dwrite"
else
   POL_Shortcut "dxhr.exe" "$TITLE" "${TITLE}.png"
fi

POL_SetupWindow_Close
exit 0

Replies

Monday 16 March 2015 at 6:09
Please disregard the previous update; I got the wine version name wrong.
Thursday 18 February 2016 at 22:53
Does not work. Pretty sure prefix needs to have the latest version of Wine with the Steamcrossoverhack with the OS set to XP.
Thursday 18 February 2016 at 23:01
First, try the script below instead of this one. This one is approved, but slightly wrong. If it still fails, we can debug it and update the script.
Thursday 18 February 2016 at 23:20
Ah, sorry, misread the diff. This is the correct version. Let's debug this on the forum: https://www.playonlinux.com/en/topic-11763-Script_Deus_Ex_Human_Revolution.html
Post what errors you saw, and what fixed them for you.
Friday 19 February 2016 at 0:10
Posted in the Forum
Xenos5 Monday 16 March 2015 at 5:47
Xenos5

Information

This update has been approved by the team.

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : (2014-04-10T15:26Z)
-# Last revision : (2014-04-10T15:26Z)
-# Wine version used : 1.7.4-CSMT
+# Last revision : (2015-03-16T04:47Z)
+# Wine version used : 1.7.24-CS-0.9.1-DXHR
 # Distribution used to test : Arch Linux x64
 # Author : Alexander Borysov
 # Script licence : GPLv3
@@ -23,7 +23,7 @@
 
 POL_Wine_SelectPrefix "$PREFIX"
 
-POL_Wine_PrefixCreate "1.7.4-CSMT"
+POL_Wine_PrefixCreate "1.7.24-CS-0.9.1-DXHR"
 
 POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"
 
@@ -48,16 +48,17 @@
 
 POL_SetupWindow_VMS "512"
 
-POL_Wine_Direct3D "UseGLSL" "disabled"
+# On Nvidia, disabling GLSL removes the stutter you otherwise get. On AMD, it makes the game crash on start.
+POL_Wine_DetectCard
+[ "$DRVID" = "NVIDIA" ] && POL_Wine_Direct3D "UseGLSL" "disabled"
 POL_Wine_Direct3D "CSMT" "enabled"
 
-POL_Wine_SetVideoDriver
 
 if [ "$INSTALL_METHOD" = "STEAM" ]; then
-   POL_Shortcut "steam.exe" "$TITLE" "${TITLE}.png" "steam://rungameid/$STEAM_APP_ID"
+   POL_Shortcut "steam.exe" "$TITLE" "${TITLE}.png" "steam://rungameid/$STEAM_APP_ID -no-dwrite"
 else
    POL_Shortcut "dxhr.exe" "$TITLE" "${TITLE}.png"
 fi
 
 POL_SetupWindow_Close
-exit 0
\ No newline at end of file
+exit 0

New source code

#!/bin/bash
# Date : (2014-04-10T15:26Z)
# Last revision : (2015-03-16T04:47Z)
# Wine version used : 1.7.24-CS-0.9.1-DXHR
# Distribution used to test : Arch Linux x64
# Author : Alexander Borysov
# Script licence : GPLv3
# Program licence: Retail

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

TITLE="Deus Ex: Human Revolution"
PREFIX="DXHR"
STEAM_APP_ID=28050

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

POL_SetupWindow_presentation "$TITLE" "Square Enix" "http://deusex.com/" "Alexander Borysov" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"

POL_Wine_PrefixCreate "1.7.24-CS-0.9.1-DXHR"

POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"

# marginally higher fps
Set_OS "win7"

if [ "$INSTALL_METHOD" = "DVD" ]; then
   POL_SetupWindow_cdrom
   POL_SetupWindow_check_cdrom "DEHR.ico"
   POL_Wine "$CDROM/Setup.exe"
   POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" = "STEAM" ]; then
   POL_Call POL_Install_steam
   cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
   POL_Wine "steam.exe" "steam://install/$STEAM_APP_ID"
   POL_Wine_WaitExit "$TITLE"
else
   POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
   POL_Wine "$APP_ANSWER"
   POL_Wine_WaitExit "$TITLE"
fi

POL_SetupWindow_VMS "512"

# On Nvidia, disabling GLSL removes the stutter you otherwise get. On AMD, it makes the game crash on start.
POL_Wine_DetectCard
[ "$DRVID" = "NVIDIA" ] && POL_Wine_Direct3D "UseGLSL" "disabled"
POL_Wine_Direct3D "CSMT" "enabled"


if [ "$INSTALL_METHOD" = "STEAM" ]; then
   POL_Shortcut "steam.exe" "$TITLE" "${TITLE}.png" "steam://rungameid/$STEAM_APP_ID -no-dwrite"
else
   POL_Shortcut "dxhr.exe" "$TITLE" "${TITLE}.png"
fi

POL_SetupWindow_Close
exit 0

Replies