Dishonored

Informations

Creator Message
Ruzvenbis Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 16514
Wine: 3.0.3

Feedbacks

Description

Immersive first-person action game that casts you as a supernatural assassin driven by revenge. 2012.

Wikipedia. PCGamingWiki. Appdb.winehq.org.

Note: playing from DVD-ROM requires a NoCD (tested with Wine 3.0.3, 4.0.2)

Screenshots

MiniatureMiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2019-08-21)
# Last revision : see Changelog
# Wine version used : see Changelog
# Distribution used to test : XUbuntu 18.04 x64
# Author : Dadu042
# Licence : Retail
# Only For : http://www.playonlinux.com
#
# TESTED (with success): DVD release (GOTY) + NoCD. Without success: retail DVD-ROM (september 2014).
#
# Middlewares used by this software : Unreal, DirectX 9, Bink, VC++ 2008.
#
# CHANGELOG
# [Dadu042] (2019-08-21)
#   First script. Game (DDV, not the DVD-ROM) does run with Wine x86 4.0.2 and 3.0.3
# [Dadu042] (2019-08-21)
#   Add comments.
#
# KNOWN ISSUES:
# - Wine amd64 4.0.1, 4.0.2, 4.15: retail DVD-ROM installation fail, because Steam can not update (it start updating, then in a second window fail at ~60 MB when downloading ~312 MB update ('Steam needs to be online to update.').
#
#
#
# Ideas to improve this script: select archive, then decide if extension is RAR or ZIP or 7Z...


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

TITLE="Dishonored"
PREFIX="Dishonored"
EDITOR="Bethesda Softworks"
GAME_URL="https://en.wikipedia.org/wiki/Dishonored"
AUTHOR="Dadu042"
STEAM_ID="205100"
WORKING_WINE_VERSION="3.0.3"
GAME_VMS="512"
SHORTCUT_FILENAME="Dishonored.exe"
SOFTWARE_CATEGORIES="Game;ActionGame;"
   
# Starting the script
POL_SetupWindow_Init
   
# Starting debugging API
POL_Debug_Init
  
# Open dialogue box 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# POL_SetupWindow_message "$(eval_gettext 'WARNING: this software does exist in Linux native version.\n\nThis script only allow to run the Windows version on Linux, please prefer the Linux edition for better 3D speed.')" "$TITLE"

POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
  
# Determine Architecture
POL_System_SetArch "x86"
  
# Downloading wine if necessary and creating prefix
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

Set_OS "win7"

# POL_Call POL_Install_corefonts

# Installing mandatory dependencies
# POL_Call POL_Install_d3dx11

# Useful for Nvidia GPUs
# POL_Call POL_Install_physx
  
# Choose between Steam and other Digital Download versions
POL_SetupWindow_InstallMethod "LOCAL,DVD,STEAM"

POL_SetupWindow_message "$(eval_gettext 'At the end of the installation, please do not check any of the checkboxes of the installers listed (DirectX, VC++, ...).')" "$TITLE"

# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_steam
        # 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"
        # 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"

elif [ "$INSTALL_METHOD" == "DVD" ];then
        POL_SetupWindow_cdrom

# Does only work for Dishonored v1 edition, not for the Game of the year Edition.
#         POL_SetupWindow_check_cdrom "sku.sis"

        POL_SetupWindow_check_cdrom "setup.exe"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "setup.exe"
        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"

elif [ "$INSTALL_METHOD" == "DOWNLOAD" ];then
        POL_Download "https://www.villagers-and-heroes.com/VHSetup.exe"
        POL_Wine "VHSetup.exe" "/SILENT"
        POL_Wine_WaitBefore "$TITLE"
        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
 
elif [ "$INSTALL_METHOD" == "LOCAL" ]; then
        POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.EXE')~$(eval_gettext '.ZIP')~$(eval_gettext '.RAR')" "~"

if [ "$APP_ANSWER" == ".EXE" ]; then
        # Asking then installing local files 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" 
        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
#        POL_Shortcut_Document "$TITLE" "Readme.txt"
         
elif [ "$APP_ANSWER" == "$(eval_gettext '.ZIP')" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the .ZIP file')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cd "$POL_System_TmpDir"
        POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
        POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/"
        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
         
elif [ "$APP_ANSWER" == "$(eval_gettext '.RAR')" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the .RAR file')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cd "$POL_System_TmpDir"
        POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
        POL_System_unrar x "$APP_ANSWER" "$WINEPREFIX/drive_c/" || POL_Debug_Fatal "unrar is required to unarchive $TITLE (unrar package is not installed on the OS)."
        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
fi
fi
 
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS



# Better than virtual desktop ?
# POL_Wine_X11Drv "GrabFullScreen" "Y"
# POL_Wine_X11Drv "DXGrab" "Y"

POL_SetupWindow_message "$(eval_gettext '\nInstallation is finished ! :)')" "$TITLE"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Wednesday 4 September 2019 at 11:57
Dadu042

Information

This update has been approved by the team.

Message

Full rewrite. OK with Wine v3.0.3 (played 20 min), Playable even on a Intel HD Graphics 4400 (set: low details, some lags).

Differences

@@ -7,7 +7,7 @@
 # Licence : Retail
 # Only For : http://www.playonlinux.com
 #
-# TESTED (with success): DVD release (GOTY) + NoCD. Without success: retail DVD-ROM.
+# TESTED (with success): DVD release (GOTY) + NoCD. Without success: retail DVD-ROM (september 2014).
 #
 # Middlewares used by this software : Unreal, DirectX 9, Bink, VC++ 2008.
 #
@@ -18,7 +18,7 @@
 #   Add comments.
 #
 # KNOWN ISSUES:
-# - Wine amd64 4.0.1, 4.0.2, 4.15: retail DVD-ROM installation fail, because Steam can not update (it start updating, then in a second window fail at ~60 MB when downloading ~312 MB update ('Steam need to be online ...').
+# - Wine amd64 4.0.1, 4.0.2, 4.15: retail DVD-ROM installation fail, because Steam can not update (it start updating, then in a second window fail at ~60 MB when downloading ~312 MB update ('Steam needs to be online to update.').
 #
 #
 #
@@ -49,7 +49,7 @@
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
 # POL_SetupWindow_message "$(eval_gettext 'WARNING: this software does exist in Linux native version.\n\nThis script only allow to run the Windows version on Linux, please prefer the Linux edition for better 3D speed.')" "$TITLE"
- 
+
 POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
 
 # Setting prefix path
@@ -64,7 +64,7 @@
 Set_OS "win7"
 
 # POL_Call POL_Install_corefonts
-   
+
 # Installing mandatory dependencies
 # POL_Call POL_Install_d3dx11
 

New source code

#!/bin/bash
# Date : (2019-08-21)
# Last revision : see Changelog
# Wine version used : see Changelog
# Distribution used to test : XUbuntu 18.04 x64
# Author : Dadu042
# Licence : Retail
# Only For : http://www.playonlinux.com
#
# TESTED (with success): DVD release (GOTY) + NoCD. Without success: retail DVD-ROM (september 2014).
#
# Middlewares used by this software : Unreal, DirectX 9, Bink, VC++ 2008.
#
# CHANGELOG
# [Dadu042] (2019-08-21)
#   First script. Game (DDV, not the DVD-ROM) does run with Wine x86 4.0.2 and 3.0.3
# [Dadu042] (2019-08-21)
#   Add comments.
#
# KNOWN ISSUES:
# - Wine amd64 4.0.1, 4.0.2, 4.15: retail DVD-ROM installation fail, because Steam can not update (it start updating, then in a second window fail at ~60 MB when downloading ~312 MB update ('Steam needs to be online to update.').
#
#
#
# Ideas to improve this script: select archive, then decide if extension is RAR or ZIP or 7Z...


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

TITLE="Dishonored"
PREFIX="Dishonored"
EDITOR="Bethesda Softworks"
GAME_URL="https://en.wikipedia.org/wiki/Dishonored"
AUTHOR="Dadu042"
STEAM_ID="205100"
WORKING_WINE_VERSION="3.0.3"
GAME_VMS="512"
SHORTCUT_FILENAME="Dishonored.exe"
SOFTWARE_CATEGORIES="Game;ActionGame;"
   
# Starting the script
POL_SetupWindow_Init
   
# Starting debugging API
POL_Debug_Init
  
# Open dialogue box 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# POL_SetupWindow_message "$(eval_gettext 'WARNING: this software does exist in Linux native version.\n\nThis script only allow to run the Windows version on Linux, please prefer the Linux edition for better 3D speed.')" "$TITLE"

POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
  
# Determine Architecture
POL_System_SetArch "x86"
  
# Downloading wine if necessary and creating prefix
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

Set_OS "win7"

# POL_Call POL_Install_corefonts

# Installing mandatory dependencies
# POL_Call POL_Install_d3dx11

# Useful for Nvidia GPUs
# POL_Call POL_Install_physx
  
# Choose between Steam and other Digital Download versions
POL_SetupWindow_InstallMethod "LOCAL,DVD,STEAM"

POL_SetupWindow_message "$(eval_gettext 'At the end of the installation, please do not check any of the checkboxes of the installers listed (DirectX, VC++, ...).')" "$TITLE"

# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_steam
        # 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"
        # 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"

elif [ "$INSTALL_METHOD" == "DVD" ];then
        POL_SetupWindow_cdrom

# Does only work for Dishonored v1 edition, not for the Game of the year Edition.
#         POL_SetupWindow_check_cdrom "sku.sis"

        POL_SetupWindow_check_cdrom "setup.exe"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "setup.exe"
        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"

elif [ "$INSTALL_METHOD" == "DOWNLOAD" ];then
        POL_Download "https://www.villagers-and-heroes.com/VHSetup.exe"
        POL_Wine "VHSetup.exe" "/SILENT"
        POL_Wine_WaitBefore "$TITLE"
        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
 
elif [ "$INSTALL_METHOD" == "LOCAL" ]; then
        POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.EXE')~$(eval_gettext '.ZIP')~$(eval_gettext '.RAR')" "~"

if [ "$APP_ANSWER" == ".EXE" ]; then
        # Asking then installing local files 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" 
        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
#        POL_Shortcut_Document "$TITLE" "Readme.txt"
         
elif [ "$APP_ANSWER" == "$(eval_gettext '.ZIP')" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the .ZIP file')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cd "$POL_System_TmpDir"
        POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
        POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/"
        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
         
elif [ "$APP_ANSWER" == "$(eval_gettext '.RAR')" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the .RAR file')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cd "$POL_System_TmpDir"
        POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
        POL_System_unrar x "$APP_ANSWER" "$WINEPREFIX/drive_c/" || POL_Debug_Fatal "unrar is required to unarchive $TITLE (unrar package is not installed on the OS)."
        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
fi
fi
 
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS



# Better than virtual desktop ?
# POL_Wine_X11Drv "GrabFullScreen" "Y"
# POL_Wine_X11Drv "DXGrab" "Y"

POL_SetupWindow_message "$(eval_gettext '\nInstallation is finished ! :)')" "$TITLE"

POL_SetupWindow_Close
exit 0

Replies

Edited by Dadu042

Hvidsten Saturday 25 June 2016 at 13:09
Hvidsten Anonymous

Message

I've also been getting the black screen no matter what i try. Tried running directly on newest version of wine and PlayOnMac (also tried the beta install and the upgrade). I found that the UE3 package was not installing correctly so i installed dotnet 35 sp1 and managed to run the UE3Redist.exe through the wrapper. Also installed physx and vcredist packages. Tried running with the "ATI black screen" fix also.  I hear a lot of people talking about UE3 being the problem in the past, but it's weird because not many people seemed to have the black screen issue a while back. My Gpu is Intel Iris 1536 MB and am running a 3ghz intel Core i7 on my macbook pro.  Anyone got any ideas? I'm definitely stuck at this point.

Replies

Anonymous
Saturday 25 June 2016 at 13:12
Oh also worth mentioning i'm running it through Steam,
and i tried -windowed already.
Anonymous
Monday 22 August 2016 at 13:38
Just to let anyone else who's struggling with this know i finally managed to fix it with the new release of Wine -staged (v1.9 ?) and going into wine configuration-staged tab and ticking the enable CSMT box.
thandriel Friday 4 September 2015 at 12:08
thandriel Anonymous

Message

Mouse pointer is little glitchy in menu. Other than that? Without a hitch :)

Replies

deri82 Sunday 5 July 2015 at 7:35
deri82 Anonymous

Warning

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

Differences

@@ -1,6 +1,6 @@
 #!/bin/bash
 # Date : (2012-09-01)
-# Last revision : (2013-02-04)
+# Last revision : (2015-05-07) (year, day, month)
 # Wine version used : 1.5.14, 1.5.20,1.5.31
 # Distribution used to test : Linux Mint 13 x32
 # Author : Ruzven
@@ -11,7 +11,7 @@
  
 TITLE="Dishonored"
 PREFIX="Dishonored"
-WINEVERSION="1.5.31"
+WINEVERSION="1.7.46"
 EDITOR="Bethersda Softworks"
 GAME_URL="http://www.dishonored.com/"
 AUTHOR="Ruzven"

New source code

#!/bin/bash
# Date : (2012-09-01)
# Last revision : (2015-05-07) (year, day, month)
# Wine version used : 1.5.14, 1.5.20,1.5.31
# Distribution used to test : Linux Mint 13 x32
# Author : Ruzven
# Licence : Retail

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Dishonored"
PREFIX="Dishonored"
WINEVERSION="1.7.46"
EDITOR="Bethersda Softworks"
GAME_URL="http://www.dishonored.com/"
AUTHOR="Ruzven"
GAME_VMS="512"

# Starting the script
#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/....../top.jpg" "http://files.playonlinux.com/resources/setups/....../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 "$WINEVERSION"

Set_OS "win7"

# Choose between DVD and Digital Download version
POL_SetupWindow_InstallMethod "DVD,STEAM"


# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_steam

fi

# Set Graphic Card information keys for wine
        POL_Wine_SetVideoDriver
 
# Asking about memory size of graphic card
        POL_SetupWindow_VMS $GAME_VMS
        
# Begin game installation
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\nif not already done.')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "icon.ico"
        POL_Wine start /unix "$CDROM/Setup.exe"
        POL_Wine_WaitExit "$TITLE"

elif [ "$INSTALL_METHOD" == "STEAM" ]; then

      POL_SetupWindow_menu "You want install with ?" "$TITLE" "Steam Store-Steam Backup Restore" "-"
      
      if [ "$APP_ANSWER" = "Steam Store" ]
      then
 
      cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/205100
        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"
        POL_Wine_WaitExit "$TITLE"
       
      else
  
      cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/  
        POL_SetupWindow_message "$(eval_gettext 'When $TITLE Restore by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"         
        POL_Wine_WaitExit "$TITLE"
      fi
      
        
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 "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
fi
 
# Making shortcut
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/205100"

#Fix for first launcher window Mod
POL_Shortcut "Dishonored.exe" "$TITLE windowed" "" "-windowed"

POL_SetupWindow_message "Installation is finished" "$TITLE"

POL_SetupWindow_Close
exit 0

Replies

deri82 Saturday 4 July 2015 at 18:40
deri82 Anonymous

Message

Could you upgrade the default wine version used for more up to date?

Replies

tskalyo Sunday 14 June 2015 at 6:29
tskalyo Anonymous

Message

I just installed the Steam version of this game using the beta script. Despite receiving a couple of error messages, the game runs phenominally well.

Replies

Anonymous
Monday 4 April 2016 at 8:36
hi, did you install it through steam(windows, run through playonmac?).. i get a black screen..