GOG.com - Risen

Informations

Creator Message
Hoshpak Anonymous

Warning

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

Informations

Platforms:
Downloads: 9537
Wine: 4.0.4

Feedbacks

Description

Risen is a single-player fantasy-themed action role-playing game by the German company Piranha Bytes, and published by Deep Silver in 2009. Wikipedia.

Appdb.winehq.org.

Source code

#!/bin/bash
# Date : (2014-08-19 19:41)
# Last Revision : see changelog
# Wine Version used : see changelog
# Distribution used to test : Void Linux
# Author: Hoshpak
# Script license : GPL v2
# Programm license : Retail
# Depend :
#
# CHANGELOG
# [Hoshpak] (2014-08-19 19:41)
#   Initial script, for the GOG release.
# [Dadu042] (2020-01-25 11:10)
#   Wine 1.8.4 -> 2.22
#   Add POL_System_SetArch "x86"
# [Dadu042] (2020-05-23) with setup_risen_2.0.0.6.exe
#   Wine 2.22 -> 4.0.4
#
# KNOWN ISSUES :
#  - Wine x86 2.22, 3.0.3, 4.0.4, 5.0: no intro videos displayed.
#
#
# KNOWN ISSUES (FIXED):
#  - Wine x86 2.22, 3.0.3, 4.0.4, 5.0: game fail to start (nothing appears, or only a black screen). Ubuntu 20.04.
#    Debug log: 
#    0009:fixme:d3dcompiler:compile_shader Compilation target "fx_2_0" not yet supported
#    0009:fixme:d3dx:d3dx9_effect_init Failed to parse effect, hr 0x8876086c.
#    Fix: d3dx9_29.

 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
GOGID="risen"
PREFIX="Risen_gog"
WORKING_WINE_VERSION="4.0.4"
TITLE="GOG.com - Risen"
GAME_VMS="256"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Piranha Bytes" "http://www.gog.com/game/$GOGID" "Hoshpak" "$PREFIX"

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

POL_Call POL_GoG_setup "$GOGID"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

Set_OS "winxp"

################
#      GPU     #
################
         
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
          
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
           
# Useful for Nvidia GPUs
POL_Call POL_Install_physx

 
#######################################
#  Installing mandatory dependencies  #
#######################################

# To avoid the issue 'can not run, black screen as soon as launched'.
POL_Call POL_Install_d3dx9_29

# Seems useless
# POL_Call POL_Install_d3dcompiler_43

#######################################
#  Main part                          #
#######################################
 
POL_Call POL_GoG_install

 
# Configure the shortcut
GOGPATH="$GOGROOT/Risen"
POL_Shortcut "Risen.exe" "Risen" "" "" "Game;RolePlaying;"
POL_Shortcut_Document "Risen" "$GOGPATH/Risen - Manual.pdf"



POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Tuesday 26 May 2020 at 10:21
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,4 +1,4 @@
-#!/bin/bash                                                                                                                                                                                                          
+#!/bin/bash
 # Date : (2014-08-19 19:41)
 # Last Revision : see changelog
 # Wine Version used : see changelog
@@ -16,17 +16,17 @@
 #   Add POL_System_SetArch "x86"
 # [Dadu042] (2020-05-23) with setup_risen_2.0.0.6.exe
 #   Wine 2.22 -> 4.0.4
-
+#
 # KNOWN ISSUES :
+#  - Wine x86 2.22, 3.0.3, 4.0.4, 5.0: no intro videos displayed.
+#
+#
+# KNOWN ISSUES (FIXED):
 #  - Wine x86 2.22, 3.0.3, 4.0.4, 5.0: game fail to start (nothing appears, or only a black screen). Ubuntu 20.04.
 #    Debug log: 
 #    0009:fixme:d3dcompiler:compile_shader Compilation target "fx_2_0" not yet supported
 #    0009:fixme:d3dx:d3dx9_effect_init Failed to parse effect, hr 0x8876086c.
 #    Fix: d3dx9_29.
-#
-#
-# KNOWN ISSUES (FIXED):
-#  - Wine amd64 5.0, 
 
  
 [ "$PLAYONLINUX" = "" ] && exit 0
@@ -48,7 +48,7 @@
 POL_Call POL_GoG_setup "$GOGID"
  
 POL_Wine_SelectPrefix "$PREFIX"
-POL_System_SetArch "amd64"
+POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
 Set_OS "winxp"
@@ -66,12 +66,20 @@
 # Useful for Nvidia GPUs
 POL_Call POL_Install_physx
 
-
+ 
+#######################################
+#  Installing mandatory dependencies  #
+#######################################
 
 # To avoid the issue 'can not run, black screen as soon as launched'.
 POL_Call POL_Install_d3dx9_29
+
+# Seems useless
 # POL_Call POL_Install_d3dcompiler_43
 
+#######################################
+#  Main part                          #
+#######################################
  
 POL_Call POL_GoG_install
 
@@ -80,6 +88,8 @@
 GOGPATH="$GOGROOT/Risen"
 POL_Shortcut "Risen.exe" "Risen" "" "" "Game;RolePlaying;"
 POL_Shortcut_Document "Risen" "$GOGPATH/Risen - Manual.pdf"
- 
+
+
+
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2014-08-19 19:41)
# Last Revision : see changelog
# Wine Version used : see changelog
# Distribution used to test : Void Linux
# Author: Hoshpak
# Script license : GPL v2
# Programm license : Retail
# Depend :
#
# CHANGELOG
# [Hoshpak] (2014-08-19 19:41)
#   Initial script, for the GOG release.
# [Dadu042] (2020-01-25 11:10)
#   Wine 1.8.4 -> 2.22
#   Add POL_System_SetArch "x86"
# [Dadu042] (2020-05-23) with setup_risen_2.0.0.6.exe
#   Wine 2.22 -> 4.0.4
#
# KNOWN ISSUES :
#  - Wine x86 2.22, 3.0.3, 4.0.4, 5.0: no intro videos displayed.
#
#
# KNOWN ISSUES (FIXED):
#  - Wine x86 2.22, 3.0.3, 4.0.4, 5.0: game fail to start (nothing appears, or only a black screen). Ubuntu 20.04.
#    Debug log: 
#    0009:fixme:d3dcompiler:compile_shader Compilation target "fx_2_0" not yet supported
#    0009:fixme:d3dx:d3dx9_effect_init Failed to parse effect, hr 0x8876086c.
#    Fix: d3dx9_29.

 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
GOGID="risen"
PREFIX="Risen_gog"
WORKING_WINE_VERSION="4.0.4"
TITLE="GOG.com - Risen"
GAME_VMS="256"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Piranha Bytes" "http://www.gog.com/game/$GOGID" "Hoshpak" "$PREFIX"

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

POL_Call POL_GoG_setup "$GOGID"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

Set_OS "winxp"

################
#      GPU     #
################
         
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
          
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
           
# Useful for Nvidia GPUs
POL_Call POL_Install_physx

 
#######################################
#  Installing mandatory dependencies  #
#######################################

# To avoid the issue 'can not run, black screen as soon as launched'.
POL_Call POL_Install_d3dx9_29

# Seems useless
# POL_Call POL_Install_d3dcompiler_43

#######################################
#  Main part                          #
#######################################
 
POL_Call POL_GoG_install

 
# Configure the shortcut
GOGPATH="$GOGROOT/Risen"
POL_Shortcut "Risen.exe" "Risen" "" "" "Game;RolePlaying;"
POL_Shortcut_Document "Risen" "$GOGPATH/Risen - Manual.pdf"



POL_SetupWindow_Close
exit 0

Replies

Dadu042 Sunday 24 May 2020 at 22:12
Dadu042

Warning

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

Message

Played 2 min.

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash                                                                                                                                                                                                          
 # Date : (2014-08-19 19:41)
 # Last Revision : see changelog
-# Wine Version used : 2.22
+# Wine Version used : see changelog
 # Distribution used to test : Void Linux
 # Author: Hoshpak
 # Script license : GPL v2
@@ -14,37 +14,72 @@
 # [Dadu042] (2020-01-25 11:10)
 #   Wine 1.8.4 -> 2.22
 #   Add POL_System_SetArch "x86"
+# [Dadu042] (2020-05-23) with setup_risen_2.0.0.6.exe
+#   Wine 2.22 -> 4.0.4
 
+# KNOWN ISSUES :
+#  - Wine x86 2.22, 3.0.3, 4.0.4, 5.0: game fail to start (nothing appears, or only a black screen). Ubuntu 20.04.
+#    Debug log: 
+#    0009:fixme:d3dcompiler:compile_shader Compilation target "fx_2_0" not yet supported
+#    0009:fixme:d3dx:d3dx9_effect_init Failed to parse effect, hr 0x8876086c.
+#    Fix: d3dx9_29.
+#
+#
+# KNOWN ISSUES (FIXED):
+#  - Wine amd64 5.0, 
+
+ 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 GOGID="risen"
 PREFIX="Risen_gog"
-WORKING_WINE_VERSION="2.22"
-
+WORKING_WINE_VERSION="4.0.4"
 TITLE="GOG.com - Risen"
-
+GAME_VMS="256"
+ 
 POL_SetupWindow_Init
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "$TITLE" "Piranha Bytes" "http://www.gog.com/game/$GOGID" "Hoshpak" "$PREFIX"
 
-POL_Call POL_GoG_setup "$GOGID"
+POL_RequiredVersion "4.3.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
 
+POL_Call POL_GoG_setup "$GOGID"
+ 
 POL_Wine_SelectPrefix "$PREFIX"
-POL_System_SetArch "x86"
+POL_System_SetArch "amd64"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
-POL_Call POL_GoG_install
+Set_OS "winxp"
+
+################
+#      GPU     #
+################
+         
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS $GAME_VMS
+          
+# Set Graphic Card information keys for wine
+POL_Wine_SetVideoDriver
+           
+# Useful for Nvidia GPUs
+POL_Call POL_Install_physx
+
 
-POL_Call POL_Install_d3dx9_36
 
-Set_OS winxp
+# To avoid the issue 'can not run, black screen as soon as launched'.
+POL_Call POL_Install_d3dx9_29
+# POL_Call POL_Install_d3dcompiler_43
 
+ 
+POL_Call POL_GoG_install
+
+ 
 # Configure the shortcut
 GOGPATH="$GOGROOT/Risen"
-POL_Shortcut "Risen.exe" "Risen" "" "" "Game;"
+POL_Shortcut "Risen.exe" "Risen" "" "" "Game;RolePlaying;"
 POL_Shortcut_Document "Risen" "$GOGPATH/Risen - Manual.pdf"
-
+ 
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash                                                                                                                                                                                                          
# Date : (2014-08-19 19:41)
# Last Revision : see changelog
# Wine Version used : see changelog
# Distribution used to test : Void Linux
# Author: Hoshpak
# Script license : GPL v2
# Programm license : Retail
# Depend :
#
# CHANGELOG
# [Hoshpak] (2014-08-19 19:41)
#   Initial script, for the GOG release.
# [Dadu042] (2020-01-25 11:10)
#   Wine 1.8.4 -> 2.22
#   Add POL_System_SetArch "x86"
# [Dadu042] (2020-05-23) with setup_risen_2.0.0.6.exe
#   Wine 2.22 -> 4.0.4

# KNOWN ISSUES :
#  - Wine x86 2.22, 3.0.3, 4.0.4, 5.0: game fail to start (nothing appears, or only a black screen). Ubuntu 20.04.
#    Debug log: 
#    0009:fixme:d3dcompiler:compile_shader Compilation target "fx_2_0" not yet supported
#    0009:fixme:d3dx:d3dx9_effect_init Failed to parse effect, hr 0x8876086c.
#    Fix: d3dx9_29.
#
#
# KNOWN ISSUES (FIXED):
#  - Wine amd64 5.0, 

 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
GOGID="risen"
PREFIX="Risen_gog"
WORKING_WINE_VERSION="4.0.4"
TITLE="GOG.com - Risen"
GAME_VMS="256"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Piranha Bytes" "http://www.gog.com/game/$GOGID" "Hoshpak" "$PREFIX"

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

POL_Call POL_GoG_setup "$GOGID"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "amd64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

Set_OS "winxp"

################
#      GPU     #
################
         
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
          
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
           
# Useful for Nvidia GPUs
POL_Call POL_Install_physx



# To avoid the issue 'can not run, black screen as soon as launched'.
POL_Call POL_Install_d3dx9_29
# POL_Call POL_Install_d3dcompiler_43

 
POL_Call POL_GoG_install

 
# Configure the shortcut
GOGPATH="$GOGROOT/Risen"
POL_Shortcut "Risen.exe" "Risen" "" "" "Game;RolePlaying;"
POL_Shortcut_Document "Risen" "$GOGPATH/Risen - Manual.pdf"
 
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Saturday 25 January 2020 at 13:21
Dadu042

Warning

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

Differences

@@ -1,19 +1,26 @@
 #!/bin/bash                                                                                                                                                                                                          
 # Date : (2014-08-19 19:41)
-# Last Revision : (2016-10-25 21:36)
-# Wine Version used : 1.8.4
+# Last Revision : see changelog
+# Wine Version used : 2.22
 # Distribution used to test : Void Linux
 # Author: Hoshpak
 # Script license : GPL v2
 # Programm license : Retail
 # Depend :
+#
+# CHANGELOG
+# [Hoshpak] (2014-08-19 19:41)
+#   Initial script, for the GOG release.
+# [Dadu042] (2020-01-25 11:10)
+#   Wine 1.8.4 -> 2.22
+#   Add POL_System_SetArch "x86"
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="risen"
 PREFIX="Risen_gog"
-WORKING_WINE_VERSION="1.8.4"
+WORKING_WINE_VERSION="2.22"
 
 TITLE="GOG.com - Risen"
 
@@ -25,6 +32,7 @@
 POL_Call POL_GoG_setup "$GOGID"
 
 POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
 POL_Call POL_GoG_install

New source code

#!/bin/bash                                                                                                                                                                                                          
# Date : (2014-08-19 19:41)
# Last Revision : see changelog
# Wine Version used : 2.22
# Distribution used to test : Void Linux
# Author: Hoshpak
# Script license : GPL v2
# Programm license : Retail
# Depend :
#
# CHANGELOG
# [Hoshpak] (2014-08-19 19:41)
#   Initial script, for the GOG release.
# [Dadu042] (2020-01-25 11:10)
#   Wine 1.8.4 -> 2.22
#   Add POL_System_SetArch "x86"

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

GOGID="risen"
PREFIX="Risen_gog"
WORKING_WINE_VERSION="2.22"

TITLE="GOG.com - Risen"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Piranha Bytes" "http://www.gog.com/game/$GOGID" "Hoshpak" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID"

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

POL_Call POL_GoG_install

POL_Call POL_Install_d3dx9_36

Set_OS winxp

# Configure the shortcut
GOGPATH="$GOGROOT/Risen"
POL_Shortcut "Risen.exe" "Risen" "" "" "Game;"
POL_Shortcut_Document "Risen" "$GOGPATH/Risen - Manual.pdf"

POL_SetupWindow_Close
exit 0

Replies

Uque Sunday 1 April 2018 at 17:22
Uque Anonymous

Message

For me it crashed everytime on the pause screen, I was able to make it work using Wine version 1.9.3.

Replies

Hoshpak Sunday 11 December 2016 at 10:13
Hoshpak Anonymous

Warning

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

Differences

@@ -1,8 +1,8 @@
-#!/bin/bash
+#!/bin/bash                                                                                                                                                                                                          
 # Date : (2014-08-19 19:41)
-# Last Revision : (2014-08-19 22:05)
-# Wine Version used : 1.7.20
-# Distribution used to test : Debian testing/jessie
+# Last Revision : (2016-10-25 21:36)
+# Wine Version used : 1.8.4
+# Distribution used to test : Void Linux
 # Author: Hoshpak
 # Script license : GPL v2
 # Programm license : Retail
@@ -13,7 +13,7 @@
 
 GOGID="risen"
 PREFIX="Risen_gog"
-WORKING_WINE_VERSION="1.7.20"
+WORKING_WINE_VERSION="1.8.4"
 
 TITLE="GOG.com - Risen"
 
@@ -39,4 +39,4 @@
 POL_Shortcut_Document "Risen" "$GOGPATH/Risen - Manual.pdf"
 
 POL_SetupWindow_Close
-exit 0
+exit 0
\ No newline at end of file

New source code

#!/bin/bash                                                                                                                                                                                                          
# Date : (2014-08-19 19:41)
# Last Revision : (2016-10-25 21:36)
# Wine Version used : 1.8.4
# Distribution used to test : Void Linux
# Author: Hoshpak
# Script license : GPL v2
# Programm license : Retail
# Depend :

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

GOGID="risen"
PREFIX="Risen_gog"
WORKING_WINE_VERSION="1.8.4"

TITLE="GOG.com - Risen"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Piranha Bytes" "http://www.gog.com/game/$GOGID" "Hoshpak" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install

POL_Call POL_Install_d3dx9_36

Set_OS winxp

# Configure the shortcut
GOGPATH="$GOGROOT/Risen"
POL_Shortcut "Risen.exe" "Risen" "" "" "Game;"
POL_Shortcut_Document "Risen" "$GOGPATH/Risen - Manual.pdf"

POL_SetupWindow_Close
exit 0

Replies

Saturday 25 January 2020 at 13:17
Script approved.
Hoshpak Monday 9 March 2015 at 23:04
Hoshpak Anonymous

Warning

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

Message

correct function name "POL_Debug_Init"

Differences

@@ -18,7 +18,7 @@
 TITLE="GOG.com - Risen"
 
 POL_SetupWindow_Init
-POL_Deug_Init
+POL_Debug_Init
 
 POL_SetupWindow_presentation "$TITLE" "Piranha Bytes" "http://www.gog.com/game/$GOGID" "Hoshpak" "$PREFIX"
 

New source code

#!/bin/bash
# Date : (2014-08-19 19:41)
# Last Revision : (2014-08-19 22:05)
# Wine Version used : 1.7.20
# Distribution used to test : Debian testing/jessie
# Author: Hoshpak
# Script license : GPL v2
# Programm license : Retail
# Depend :

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

GOGID="risen"
PREFIX="Risen_gog"
WORKING_WINE_VERSION="1.7.20"

TITLE="GOG.com - Risen"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Piranha Bytes" "http://www.gog.com/game/$GOGID" "Hoshpak" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install

POL_Call POL_Install_d3dx9_36

Set_OS winxp

# Configure the shortcut
GOGPATH="$GOGROOT/Risen"
POL_Shortcut "Risen.exe" "Risen" "" "" "Game;"
POL_Shortcut_Document "Risen" "$GOGPATH/Risen - Manual.pdf"

POL_SetupWindow_Close
exit 0

Replies

Anonymous
Monday 24 October 2016 at 9:38
I have used your script to install Risen on two machines, one with NVIDIA graphics and one with AMD graphics. The NVIDIA worked flawlessly, while the AMD install produced neither Video nor Audio output.
Anonymous
Monday 24 October 2016 at 9:41
Oops, accidentally pressed enter while typing the previous comment. Anyway: Updating the wine version to 1.9.20 and re-installing the direct3d libs fixed this issue. I've looked online for others who have had similar problems and it seems that there have been problems with AMD chips and 1.7 versions of wine with various programs. Thanks for putting in the effort to make the script, btw!
Anonymous
Monday 24 October 2016 at 19:08
Thanks for pointing that out. I haven't played this game in a while and am using a Nvidia card anyway. I will test the script with a more recent wine version and update it accordingly.
Hoshpak Tuesday 19 August 2014 at 22:14
Hoshpak Anonymous

Warning

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

Differences

@@ -0,0 +1,42 @@
+#!/bin/bash
+# Date : (2014-08-19 19:41)
+# Last Revision : (2014-08-19 22:05)
+# Wine Version used : 1.7.20
+# Distribution used to test : Debian testing/jessie
+# Author: Hoshpak
+# Script license : GPL v2
+# Programm license : Retail
+# Depend :
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+GOGID="risen"
+PREFIX="Risen_gog"
+WORKING_WINE_VERSION="1.7.20"
+
+TITLE="GOG.com - Risen"
+
+POL_SetupWindow_Init
+POL_Deug_Init
+
+POL_SetupWindow_presentation "$TITLE" "Piranha Bytes" "http://www.gog.com/game/$GOGID" "Hoshpak" "$PREFIX"
+
+POL_Call POL_GoG_setup "$GOGID"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+POL_Call POL_GoG_install
+
+POL_Call POL_Install_d3dx9_36
+
+Set_OS winxp
+
+# Configure the shortcut
+GOGPATH="$GOGROOT/Risen"
+POL_Shortcut "Risen.exe" "Risen" "" "" "Game;"
+POL_Shortcut_Document "Risen" "$GOGPATH/Risen - Manual.pdf"
+
+POL_SetupWindow_Close
+exit 0

New source code

#!/bin/bash
# Date : (2014-08-19 19:41)
# Last Revision : (2014-08-19 22:05)
# Wine Version used : 1.7.20
# Distribution used to test : Debian testing/jessie
# Author: Hoshpak
# Script license : GPL v2
# Programm license : Retail
# Depend :

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

GOGID="risen"
PREFIX="Risen_gog"
WORKING_WINE_VERSION="1.7.20"

TITLE="GOG.com - Risen"

POL_SetupWindow_Init
POL_Deug_Init

POL_SetupWindow_presentation "$TITLE" "Piranha Bytes" "http://www.gog.com/game/$GOGID" "Hoshpak" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install

POL_Call POL_Install_d3dx9_36

Set_OS winxp

# Configure the shortcut
GOGPATH="$GOGROOT/Risen"
POL_Shortcut "Risen.exe" "Risen" "" "" "Game;"
POL_Shortcut_Document "Risen" "$GOGPATH/Risen - Manual.pdf"

POL_SetupWindow_Close
exit 0

Replies

Anonymous
Saturday 7 March 2015 at 0:41
in the pause screen the game freeze
Anonymous
Saturday 7 March 2015 at 0:46
with wine 1.7.23 it seem it doesn't freeze... on macbook pro retina 15'' 2012
Anonymous
Saturday 7 March 2015 at 13:09
Thanks for reporting this, I am only able to test it on Linux and there it works well with 1.7.20. However some of the versions above (I tested 1.7.23 and 1.7.24) don't work at all for me. They crash immediately after starting the game. This seems to be an issue with the binaries distributed by POL since self-compiled versions from the vanilla wine source code work well. Could you please try it again with 1.7.38? This version also works well with Risen for me under Linux and if it also works on Mac OS, I would rise the version number in the script to this one.