Drakensang Online Client

Informations

Creator Message
DoctorJohn Anonymous

Warning

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

Informations

Platforms:
Downloads: 1545
Wine: System

Feedbacks

Description

RPG online, first released in 2012. Wikipedia. Website. Game size : ~ 3 GB.

Tested on Xubuntu 18.04 : unplayable because the mouse cursor does not move.

Appdb.winehq.org 

Screenshots

Miniature

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2016-02-18 15-00)
# Last revision : see changelog
# Wine version used : see script
# Distribution used to test : Xubuntu 18.04.4 amd64
# Author : DoctorJohn
#
#
# TESTED Editions: release 221 II (2019-08) according the launcher, but 'release234_7 32bits' appear at the bottom left of the main menu.
#
# Middlewares used by this software : Direct X 9, fmod, QT v4, dotnet40, dotnet20.
#
#
# CHANGELOG
# [DoctorJohn] (2016-02-18 15-00)
#   First script (I have Wine 4.0.3).
# [Dadu042] (2020-01-02)
#   Wine 1.7.39 (outdated) -> 3.0.3
# [Dadu042] (2020-05-30 16-00)
#   Wine 3.0.3 -> system (it's 5.0 currently)
#   Fix "$PREFIX" (missing ")
#   Replace POL_Wine_VMS (outdated).
#   Repair download link.
# [Dadu042] (2020-05-31 16-00)
#   Disable Nvidia Physx (for test about mouse cursor).
# [Dadu042] (2020-06-04 16-00)
#   Add loading argument: -d3d9
#
#
# KNOWN ISSUES :
#  - Wine x86 3.20, 4.0.4, 4.12.1, 4.14-staging, 4.14, 4.21, 5.0, 5.7: the mouse cursor of the game does not move (however mouse does work). Tried: set 'classic cursor' in the game's options, arguments: -windowed -noborder -d3d9. Tried: d3dx9_43 + compiler, vcrun2010, dotnet20.
#
#
# KNOWN ISSUES (FIXED):
#  - Wine x86 4.0.4, 5.0: X


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Drakensang Online"
PREFIX="DrakensangOnline"
GAME_VMS="256"

POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Bigpoint" "http://www.drakensang.com/" "DoctorJohn" "DrakensangOnline"
 
POL_RequiredVersion "4.1.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
 
POL_System_TmpCreate "$PREFIX"
 
 
#
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
 
# Fetching PROGRAMFILES environmental variable
POL_LoadVar_PROGRAMFILES
 
# Set system architecture to 32bit 
POL_System_SetArch "x86"
 
# Set windows version to windows 7
Set_OS "win7"

# Useless (2020-05, Wine > v3)
# Set_Desktop "On" "1024" "768"
# POL_SetupWindow_message "You may have to resize the virtual desktops size under your wine/graphics settings.\nBy default we set it to 1024x768." "$TITLE"


#######################################
#  Installing mandatory components    #
#######################################

POL_Call POL_Install_d3dx9_43
POL_Call POL_Install_d3dcompiler_43
# POL_Call POL_Install_d3dx9
 
POL_Call POL_Install_corefonts
POL_Call POL_Install_tahoma

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

#######################################
#  Main part of this script           #
#######################################

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

POL_SetupWindow_message "IMPORTANT:\n#1 At the end of the installation, unselect 'Run Drankensang Online'.\n#2 You will probably see the error 'Certificate import failed: Unable to add certificate to certificate store', just ignore it." "$TITLE"


if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        POL_SetupWindow_browse "Please select: dro_setup.exe" "$TITLE"
        INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "https://drasaonline-481-dwl.bpsecure.com/applet/dro_setup.exe"
        INSTALLER="$POL_System_TmpDir/dro_setup.exe"
fi
POL_SetupWindow_wait "Installation in progress." "$TITLE"
POL_Wine "$INSTALLER"
POL_Wine_WaitBefore "$TITLE"
 
#
POL_Shortcut "thinclient.exe" "$TITLE" "" "-d3d9" "Game;RolePlaying;"
POL_System_TmpDelete
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
Dadu042 Friday 12 June 2020 at 17:05
Dadu042
Moderator

Information

This update has been approved by the team.

Message

Still no mouse cursor.

Differences

@@ -8,7 +8,7 @@
 #
 # TESTED Editions: release 221 II (2019-08) according the launcher, but 'release234_7 32bits' appear at the bottom left of the main menu.
 #
-# Middlewares used by this software : Direct X 9, fmod, QT v4, dotnet40.
+# Middlewares used by this software : Direct X 9, fmod, QT v4, dotnet40, dotnet20.
 #
 #
 # CHANGELOG
@@ -28,7 +28,7 @@
 #
 #
 # KNOWN ISSUES :
-#  - Wine x86 3.20, 4.0.4, 4.21, 5.0, 5.7: the mouse cursor of the game does not move (however mouse does work). Tried: set 'classic cursor' in the game's options, arguments: -windowed -noborder -d3d9. Tried: d3dx9_43 + compiler, vcrun2010.
+#  - Wine x86 3.20, 4.0.4, 4.12.1, 4.14-staging, 4.14, 4.21, 5.0, 5.7: the mouse cursor of the game does not move (however mouse does work). Tried: set 'classic cursor' in the game's options, arguments: -windowed -noborder -d3d9. Tried: d3dx9_43 + compiler, vcrun2010, dotnet20.
 #
 #
 # KNOWN ISSUES (FIXED):

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2016-02-18 15-00)
# Last revision : see changelog
# Wine version used : see script
# Distribution used to test : Xubuntu 18.04.4 amd64
# Author : DoctorJohn
#
#
# TESTED Editions: release 221 II (2019-08) according the launcher, but 'release234_7 32bits' appear at the bottom left of the main menu.
#
# Middlewares used by this software : Direct X 9, fmod, QT v4, dotnet40, dotnet20.
#
#
# CHANGELOG
# [DoctorJohn] (2016-02-18 15-00)
#   First script (I have Wine 4.0.3).
# [Dadu042] (2020-01-02)
#   Wine 1.7.39 (outdated) -> 3.0.3
# [Dadu042] (2020-05-30 16-00)
#   Wine 3.0.3 -> system (it's 5.0 currently)
#   Fix "$PREFIX" (missing ")
#   Replace POL_Wine_VMS (outdated).
#   Repair download link.
# [Dadu042] (2020-05-31 16-00)
#   Disable Nvidia Physx (for test about mouse cursor).
# [Dadu042] (2020-06-04 16-00)
#   Add loading argument: -d3d9
#
#
# KNOWN ISSUES :
#  - Wine x86 3.20, 4.0.4, 4.12.1, 4.14-staging, 4.14, 4.21, 5.0, 5.7: the mouse cursor of the game does not move (however mouse does work). Tried: set 'classic cursor' in the game's options, arguments: -windowed -noborder -d3d9. Tried: d3dx9_43 + compiler, vcrun2010, dotnet20.
#
#
# KNOWN ISSUES (FIXED):
#  - Wine x86 4.0.4, 5.0: X


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Drakensang Online"
PREFIX="DrakensangOnline"
GAME_VMS="256"

POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Bigpoint" "http://www.drakensang.com/" "DoctorJohn" "DrakensangOnline"
 
POL_RequiredVersion "4.1.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
 
POL_System_TmpCreate "$PREFIX"
 
 
#
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
 
# Fetching PROGRAMFILES environmental variable
POL_LoadVar_PROGRAMFILES
 
# Set system architecture to 32bit 
POL_System_SetArch "x86"
 
# Set windows version to windows 7
Set_OS "win7"

# Useless (2020-05, Wine > v3)
# Set_Desktop "On" "1024" "768"
# POL_SetupWindow_message "You may have to resize the virtual desktops size under your wine/graphics settings.\nBy default we set it to 1024x768." "$TITLE"


#######################################
#  Installing mandatory components    #
#######################################

POL_Call POL_Install_d3dx9_43
POL_Call POL_Install_d3dcompiler_43
# POL_Call POL_Install_d3dx9
 
POL_Call POL_Install_corefonts
POL_Call POL_Install_tahoma

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

#######################################
#  Main part of this script           #
#######################################

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

POL_SetupWindow_message "IMPORTANT:\n#1 At the end of the installation, unselect 'Run Drankensang Online'.\n#2 You will probably see the error 'Certificate import failed: Unable to add certificate to certificate store', just ignore it." "$TITLE"


if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        POL_SetupWindow_browse "Please select: dro_setup.exe" "$TITLE"
        INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "https://drasaonline-481-dwl.bpsecure.com/applet/dro_setup.exe"
        INSTALLER="$POL_System_TmpDir/dro_setup.exe"
fi
POL_SetupWindow_wait "Installation in progress." "$TITLE"
POL_Wine "$INSTALLER"
POL_Wine_WaitBefore "$TITLE"
 
#
POL_Shortcut "thinclient.exe" "$TITLE" "" "-d3d9" "Game;RolePlaying;"
POL_System_TmpDelete
POL_SetupWindow_Close
exit

Replies

Dadu042 Thursday 4 June 2020 at 23:28
Dadu042
Moderator

Warning

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

Differences

@@ -23,10 +23,12 @@
 #   Repair download link.
 # [Dadu042] (2020-05-31 16-00)
 #   Disable Nvidia Physx (for test about mouse cursor).
+# [Dadu042] (2020-06-04 16-00)
+#   Add loading argument: -d3d9
 #
 #
 # KNOWN ISSUES :
-#  - Wine x86 3.20, 4.0.4, 4.21, 5.0, 5.7: the mouse cursor of the game does not move (however mouse does work). Tried: set 'classic cursor' in the game's options. Tried: d3dx9_43 + compiler, vcrun2010.
+#  - Wine x86 3.20, 4.0.4, 4.21, 5.0, 5.7: the mouse cursor of the game does not move (however mouse does work). Tried: set 'classic cursor' in the game's options, arguments: -windowed -noborder -d3d9. Tried: d3dx9_43 + compiler, vcrun2010.
 #
 #
 # KNOWN ISSUES (FIXED):
@@ -72,13 +74,11 @@
 
 POL_Call POL_Install_d3dx9_43
 POL_Call POL_Install_d3dcompiler_43
-
+# POL_Call POL_Install_d3dx9
  
 POL_Call POL_Install_corefonts
-# POL_Call POL_Install_d3dx9
 POL_Call POL_Install_tahoma
 
-
               
 ################
 #      GPU     #
@@ -117,7 +117,7 @@
 POL_Wine_WaitBefore "$TITLE"
  
 #
-POL_Shortcut "thinclient.exe" "$TITLE" "" "" "Game;RolePlaying;"
+POL_Shortcut "thinclient.exe" "$TITLE" "" "-d3d9" "Game;RolePlaying;"
 POL_System_TmpDelete
 POL_SetupWindow_Close
 exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2016-02-18 15-00)
# Last revision : see changelog
# Wine version used : see script
# Distribution used to test : Xubuntu 18.04.4 amd64
# Author : DoctorJohn
#
#
# TESTED Editions: release 221 II (2019-08) according the launcher, but 'release234_7 32bits' appear at the bottom left of the main menu.
#
# Middlewares used by this software : Direct X 9, fmod, QT v4, dotnet40.
#
#
# CHANGELOG
# [DoctorJohn] (2016-02-18 15-00)
#   First script (I have Wine 4.0.3).
# [Dadu042] (2020-01-02)
#   Wine 1.7.39 (outdated) -> 3.0.3
# [Dadu042] (2020-05-30 16-00)
#   Wine 3.0.3 -> system (it's 5.0 currently)
#   Fix "$PREFIX" (missing ")
#   Replace POL_Wine_VMS (outdated).
#   Repair download link.
# [Dadu042] (2020-05-31 16-00)
#   Disable Nvidia Physx (for test about mouse cursor).
# [Dadu042] (2020-06-04 16-00)
#   Add loading argument: -d3d9
#
#
# KNOWN ISSUES :
#  - Wine x86 3.20, 4.0.4, 4.21, 5.0, 5.7: the mouse cursor of the game does not move (however mouse does work). Tried: set 'classic cursor' in the game's options, arguments: -windowed -noborder -d3d9. Tried: d3dx9_43 + compiler, vcrun2010.
#
#
# KNOWN ISSUES (FIXED):
#  - Wine x86 4.0.4, 5.0: X


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Drakensang Online"
PREFIX="DrakensangOnline"
GAME_VMS="256"

POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Bigpoint" "http://www.drakensang.com/" "DoctorJohn" "DrakensangOnline"
 
POL_RequiredVersion "4.1.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
 
POL_System_TmpCreate "$PREFIX"
 
 
#
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
 
# Fetching PROGRAMFILES environmental variable
POL_LoadVar_PROGRAMFILES
 
# Set system architecture to 32bit 
POL_System_SetArch "x86"
 
# Set windows version to windows 7
Set_OS "win7"

# Useless (2020-05, Wine > v3)
# Set_Desktop "On" "1024" "768"
# POL_SetupWindow_message "You may have to resize the virtual desktops size under your wine/graphics settings.\nBy default we set it to 1024x768." "$TITLE"


#######################################
#  Installing mandatory components    #
#######################################

POL_Call POL_Install_d3dx9_43
POL_Call POL_Install_d3dcompiler_43
# POL_Call POL_Install_d3dx9
 
POL_Call POL_Install_corefonts
POL_Call POL_Install_tahoma

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

#######################################
#  Main part of this script           #
#######################################

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

POL_SetupWindow_message "IMPORTANT:\n#1 At the end of the installation, unselect 'Run Drankensang Online'.\n#2 You will probably see the error 'Certificate import failed: Unable to add certificate to certificate store', just ignore it." "$TITLE"


if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        POL_SetupWindow_browse "Please select: dro_setup.exe" "$TITLE"
        INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "https://drasaonline-481-dwl.bpsecure.com/applet/dro_setup.exe"
        INSTALLER="$POL_System_TmpDir/dro_setup.exe"
fi
POL_SetupWindow_wait "Installation in progress." "$TITLE"
POL_Wine "$INSTALLER"
POL_Wine_WaitBefore "$TITLE"
 
#
POL_Shortcut "thinclient.exe" "$TITLE" "" "-d3d9" "Game;RolePlaying;"
POL_System_TmpDelete
POL_SetupWindow_Close
exit

Replies

Dadu042 Sunday 31 May 2020 at 11:34
Dadu042
Moderator

Warning

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

Differences

@@ -6,9 +6,9 @@
 # Author : DoctorJohn
 #
 #
-# TESTED Editions: release 221 II (2019-08)
+# TESTED Editions: release 221 II (2019-08) according the launcher, but 'release234_7 32bits' appear at the bottom left of the main menu.
 #
-# Middlewares used by this software : Direct X 9, fmod.
+# Middlewares used by this software : Direct X 9, fmod, QT v4, dotnet40.
 #
 #
 # CHANGELOG
@@ -20,10 +20,13 @@
 #   Wine 3.0.3 -> system (it's 5.0 currently)
 #   Fix "$PREFIX" (missing ")
 #   Replace POL_Wine_VMS (outdated).
+#   Repair download link.
+# [Dadu042] (2020-05-31 16-00)
+#   Disable Nvidia Physx (for test about mouse cursor).
 #
 #
 # KNOWN ISSUES :
-#  - Wine x86 3.20, 4.0.4, 4.21, 5.0: the mouse cursor of the game does not move (however mouse does work). Tried: set 'classic cursor' in the game's options. Tried: d3dx9_43 + compiler.
+#  - Wine x86 3.20, 4.0.4, 4.21, 5.0, 5.7: the mouse cursor of the game does not move (however mouse does work). Tried: set 'classic cursor' in the game's options. Tried: d3dx9_43 + compiler, vcrun2010.
 #
 #
 # KNOWN ISSUES (FIXED):
@@ -88,7 +91,7 @@
 POL_Wine_SetVideoDriver
             
 # Useful for Nvidia GPUs
-POL_Call POL_Install_physx
+# POL_Call POL_Install_physx
 
 #######################################
 #  Main part of this script           #

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2016-02-18 15-00)
# Last revision : see changelog
# Wine version used : see script
# Distribution used to test : Xubuntu 18.04.4 amd64
# Author : DoctorJohn
#
#
# TESTED Editions: release 221 II (2019-08) according the launcher, but 'release234_7 32bits' appear at the bottom left of the main menu.
#
# Middlewares used by this software : Direct X 9, fmod, QT v4, dotnet40.
#
#
# CHANGELOG
# [DoctorJohn] (2016-02-18 15-00)
#   First script (I have Wine 4.0.3).
# [Dadu042] (2020-01-02)
#   Wine 1.7.39 (outdated) -> 3.0.3
# [Dadu042] (2020-05-30 16-00)
#   Wine 3.0.3 -> system (it's 5.0 currently)
#   Fix "$PREFIX" (missing ")
#   Replace POL_Wine_VMS (outdated).
#   Repair download link.
# [Dadu042] (2020-05-31 16-00)
#   Disable Nvidia Physx (for test about mouse cursor).
#
#
# KNOWN ISSUES :
#  - Wine x86 3.20, 4.0.4, 4.21, 5.0, 5.7: the mouse cursor of the game does not move (however mouse does work). Tried: set 'classic cursor' in the game's options. Tried: d3dx9_43 + compiler, vcrun2010.
#
#
# KNOWN ISSUES (FIXED):
#  - Wine x86 4.0.4, 5.0: X


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Drakensang Online"
PREFIX="DrakensangOnline"
GAME_VMS="256"

POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Bigpoint" "http://www.drakensang.com/" "DoctorJohn" "DrakensangOnline"
 
POL_RequiredVersion "4.1.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
 
POL_System_TmpCreate "$PREFIX"
 
 
#
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
 
# Fetching PROGRAMFILES environmental variable
POL_LoadVar_PROGRAMFILES
 
# Set system architecture to 32bit 
POL_System_SetArch "x86"
 
# Set windows version to windows 7
Set_OS "win7"

# Useless (2020-05, Wine > v3)
# Set_Desktop "On" "1024" "768"
# POL_SetupWindow_message "You may have to resize the virtual desktops size under your wine/graphics settings.\nBy default we set it to 1024x768." "$TITLE"


#######################################
#  Installing mandatory components    #
#######################################

POL_Call POL_Install_d3dx9_43
POL_Call POL_Install_d3dcompiler_43

 
POL_Call POL_Install_corefonts
# POL_Call POL_Install_d3dx9
POL_Call POL_Install_tahoma


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

#######################################
#  Main part of this script           #
#######################################

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

POL_SetupWindow_message "IMPORTANT:\n#1 At the end of the installation, unselect 'Run Drankensang Online'.\n#2 You will probably see the error 'Certificate import failed: Unable to add certificate to certificate store', just ignore it." "$TITLE"


if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        POL_SetupWindow_browse "Please select: dro_setup.exe" "$TITLE"
        INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "https://drasaonline-481-dwl.bpsecure.com/applet/dro_setup.exe"
        INSTALLER="$POL_System_TmpDir/dro_setup.exe"
fi
POL_SetupWindow_wait "Installation in progress." "$TITLE"
POL_Wine "$INSTALLER"
POL_Wine_WaitBefore "$TITLE"
 
#
POL_Shortcut "thinclient.exe" "$TITLE" "" "" "Game;RolePlaying;"
POL_System_TmpDelete
POL_SetupWindow_Close
exit

Replies

Tuesday 2 June 2020 at 18:20
Same mouse cursor issue after installing POL_Install_DXVK_170 (with Wine 5.7 and 5.7-staging).
Dadu042 Sunday 31 May 2020 at 10:20
Dadu042
Moderator

Warning

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

Differences

@@ -1,72 +1,120 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2016-02-18 15-00)
 # Last revision : see changelog
-# Wine version used : 3.0.3
-# Distribution used to test : Kubuntu 15.04
+# Wine version used : see script
+# Distribution used to test : Xubuntu 18.04.4 amd64
 # Author : DoctorJohn
 #
+#
+# TESTED Editions: release 221 II (2019-08)
+#
+# Middlewares used by this software : Direct X 9, fmod.
+#
+#
 # CHANGELOG
 # [DoctorJohn] (2016-02-18 15-00)
 #   First script (I have Wine 4.0.3).
 # [Dadu042] (2020-01-02)
 #   Wine 1.7.39 (outdated) -> 3.0.3
+# [Dadu042] (2020-05-30 16-00)
+#   Wine 3.0.3 -> system (it's 5.0 currently)
+#   Fix "$PREFIX" (missing ")
+#   Replace POL_Wine_VMS (outdated).
+#
+#
+# KNOWN ISSUES :
+#  - Wine x86 3.20, 4.0.4, 4.21, 5.0: the mouse cursor of the game does not move (however mouse does work). Tried: set 'classic cursor' in the game's options. Tried: d3dx9_43 + compiler.
+#
+#
+# KNOWN ISSUES (FIXED):
+#  - Wine x86 4.0.4, 5.0: X
+
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Drakensang Online"
 PREFIX="DrakensangOnline"
+GAME_VMS="256"
 
-#
 POL_SetupWindow_Init
 POL_SetupWindow_presentation "$TITLE" "Bigpoint" "http://www.drakensang.com/" "DoctorJohn" "DrakensangOnline"
-
-POL_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
-
-POL_System_TmpCreate "$PREFIX
-
-#
-POL_SetupWindow_message "You may have to resize the virtual desktops size under your wine/graphics settings. By default set to 1024x768." "$TITLE"
-POL_SetupWindow_message "IMPORTANT: Unselect 'Run Drankensang Online' at the end of the installation. AND: You will probably see the error 'Certificate import failed: Unable to add certificate to certificate store', just ignore it." "$TITLE"
-
+ 
+POL_RequiredVersion "4.1.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+ 
+POL_System_TmpCreate "$PREFIX"
+ 
+ 
 #
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "3.0.3"
-
-# fetching PROGRAMFILES environmental variable
+POL_Wine_PrefixCreate
+ 
+# Fetching PROGRAMFILES environmental variable
 POL_LoadVar_PROGRAMFILES
-
-# set system architecture to 32bit 
+ 
+# Set system architecture to 32bit 
 POL_System_SetArch "x86"
-
-# set windows version to windows 7
+ 
+# Set windows version to windows 7
 Set_OS "win7"
-Set_Desktop "On" "1024" "768"
 
-# installing mandatory components
+# Useless (2020-05, Wine > v3)
+# Set_Desktop "On" "1024" "768"
+# POL_SetupWindow_message "You may have to resize the virtual desktops size under your wine/graphics settings.\nBy default we set it to 1024x768." "$TITLE"
+
+
+#######################################
+#  Installing mandatory components    #
+#######################################
+
+POL_Call POL_Install_d3dx9_43
+POL_Call POL_Install_d3dcompiler_43
+
+ 
 POL_Call POL_Install_corefonts
-POL_Call POL_Install_d3dx9
+# POL_Call POL_Install_d3dx9
 POL_Call POL_Install_tahoma
 
-#
+
+              
+################
+#      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
+
+#######################################
+#  Main part of this script           #
+#######################################
+
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+
+POL_SetupWindow_message "IMPORTANT:\n#1 At the end of the installation, unselect 'Run Drankensang Online'.\n#2 You will probably see the error 'Certificate import failed: Unable to add certificate to certificate store', just ignore it." "$TITLE"
+
+
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
-	POL_SetupWindow_browse "Select dro_setup.exe" "$TITLE"
-	INSTALLER="$APP_ANSWER"
+        POL_SetupWindow_browse "Please select: dro_setup.exe" "$TITLE"
+        INSTALLER="$APP_ANSWER"
 elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
 then
-	cd "$POL_System_TmpDir"
-	POL_Download "http://drasaonline-481.ah.bpcdn.net/applet/dro_setup.exe"
-	INSTALLER="$POL_System_TmpDir/dro_setup.exe"
+        cd "$POL_System_TmpDir"
+        POL_Download "https://drasaonline-481-dwl.bpsecure.com/applet/dro_setup.exe"
+        INSTALLER="$POL_System_TmpDir/dro_setup.exe"
 fi
 POL_SetupWindow_wait "Installation in progress." "$TITLE"
 POL_Wine "$INSTALLER"
-
-POL_Wine_VMS
-
+POL_Wine_WaitBefore "$TITLE"
+ 
 #
-POL_Shortcut "thinclient.exe" "$TITLE" "" "" "Game;"
+POL_Shortcut "thinclient.exe" "$TITLE" "" "" "Game;RolePlaying;"
 POL_System_TmpDelete
 POL_SetupWindow_Close
-exit
+exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2016-02-18 15-00)
# Last revision : see changelog
# Wine version used : see script
# Distribution used to test : Xubuntu 18.04.4 amd64
# Author : DoctorJohn
#
#
# TESTED Editions: release 221 II (2019-08)
#
# Middlewares used by this software : Direct X 9, fmod.
#
#
# CHANGELOG
# [DoctorJohn] (2016-02-18 15-00)
#   First script (I have Wine 4.0.3).
# [Dadu042] (2020-01-02)
#   Wine 1.7.39 (outdated) -> 3.0.3
# [Dadu042] (2020-05-30 16-00)
#   Wine 3.0.3 -> system (it's 5.0 currently)
#   Fix "$PREFIX" (missing ")
#   Replace POL_Wine_VMS (outdated).
#
#
# KNOWN ISSUES :
#  - Wine x86 3.20, 4.0.4, 4.21, 5.0: the mouse cursor of the game does not move (however mouse does work). Tried: set 'classic cursor' in the game's options. Tried: d3dx9_43 + compiler.
#
#
# KNOWN ISSUES (FIXED):
#  - Wine x86 4.0.4, 5.0: X


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Drakensang Online"
PREFIX="DrakensangOnline"
GAME_VMS="256"

POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Bigpoint" "http://www.drakensang.com/" "DoctorJohn" "DrakensangOnline"
 
POL_RequiredVersion "4.1.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
 
POL_System_TmpCreate "$PREFIX"
 
 
#
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
 
# Fetching PROGRAMFILES environmental variable
POL_LoadVar_PROGRAMFILES
 
# Set system architecture to 32bit 
POL_System_SetArch "x86"
 
# Set windows version to windows 7
Set_OS "win7"

# Useless (2020-05, Wine > v3)
# Set_Desktop "On" "1024" "768"
# POL_SetupWindow_message "You may have to resize the virtual desktops size under your wine/graphics settings.\nBy default we set it to 1024x768." "$TITLE"


#######################################
#  Installing mandatory components    #
#######################################

POL_Call POL_Install_d3dx9_43
POL_Call POL_Install_d3dcompiler_43

 
POL_Call POL_Install_corefonts
# POL_Call POL_Install_d3dx9
POL_Call POL_Install_tahoma


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

#######################################
#  Main part of this script           #
#######################################

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

POL_SetupWindow_message "IMPORTANT:\n#1 At the end of the installation, unselect 'Run Drankensang Online'.\n#2 You will probably see the error 'Certificate import failed: Unable to add certificate to certificate store', just ignore it." "$TITLE"


if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        POL_SetupWindow_browse "Please select: dro_setup.exe" "$TITLE"
        INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "https://drasaonline-481-dwl.bpsecure.com/applet/dro_setup.exe"
        INSTALLER="$POL_System_TmpDir/dro_setup.exe"
fi
POL_SetupWindow_wait "Installation in progress." "$TITLE"
POL_Wine "$INSTALLER"
POL_Wine_WaitBefore "$TITLE"
 
#
POL_Shortcut "thinclient.exe" "$TITLE" "" "" "Game;RolePlaying;"
POL_System_TmpDelete
POL_SetupWindow_Close
exit

Replies

Dadu042 Thursday 2 January 2020 at 14:44
Dadu042
Moderator

Warning

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

Differences

@@ -1,29 +1,37 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2016-02-18 15-00)
-# Last revision : (2016-02-18 15-00)
-# Wine version used : 1.7.39
+# Last revision : see changelog
+# Wine version used : 3.0.3
 # Distribution used to test : Kubuntu 15.04
 # Author : DoctorJohn
+#
+# CHANGELOG
+# [DoctorJohn] (2016-02-18 15-00)
+#   First script (I have Wine 4.0.3).
+# [Dadu042] (2020-01-02)
+#   Wine 1.7.39 (outdated) -> 3.0.3
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
-#
 TITLE="Drakensang Online"
 PREFIX="DrakensangOnline"
 
 #
 POL_SetupWindow_Init
 POL_SetupWindow_presentation "$TITLE" "Bigpoint" "http://www.drakensang.com/" "DoctorJohn" "DrakensangOnline"
-POL_System_TmpCreate "$PREFIX"
+
+POL_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
+POL_System_TmpCreate "$PREFIX
 
 #
-POL_SetupWindow_message "You may have to resize the virtual desktops size under your wine/graphics settings. It's default set to 1024x768." "$TITLE"
+POL_SetupWindow_message "You may have to resize the virtual desktops size under your wine/graphics settings. By default set to 1024x768." "$TITLE"
 POL_SetupWindow_message "IMPORTANT: Unselect 'Run Drankensang Online' at the end of the installation. AND: You will probably see the error 'Certificate import failed: Unable to add certificate to certificate store', just ignore it." "$TITLE"
 
 #
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.7.39"
+POL_Wine_PrefixCreate "3.0.3"
 
 # fetching PROGRAMFILES environmental variable
 POL_LoadVar_PROGRAMFILES
@@ -58,7 +66,7 @@
 POL_Wine_VMS
 
 #
-POL_Shortcut "thinclient.exe" "$TITLE"
+POL_Shortcut "thinclient.exe" "$TITLE" "" "" "Game;"
 POL_System_TmpDelete
 POL_SetupWindow_Close
 exit

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2016-02-18 15-00)
# Last revision : see changelog
# Wine version used : 3.0.3
# Distribution used to test : Kubuntu 15.04
# Author : DoctorJohn
#
# CHANGELOG
# [DoctorJohn] (2016-02-18 15-00)
#   First script (I have Wine 4.0.3).
# [Dadu042] (2020-01-02)
#   Wine 1.7.39 (outdated) -> 3.0.3

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

TITLE="Drakensang Online"
PREFIX="DrakensangOnline"

#
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Bigpoint" "http://www.drakensang.com/" "DoctorJohn" "DrakensangOnline"

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

POL_System_TmpCreate "$PREFIX

#
POL_SetupWindow_message "You may have to resize the virtual desktops size under your wine/graphics settings. By default set to 1024x768." "$TITLE"
POL_SetupWindow_message "IMPORTANT: Unselect 'Run Drankensang Online' at the end of the installation. AND: You will probably see the error 'Certificate import failed: Unable to add certificate to certificate store', just ignore it." "$TITLE"

#
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "3.0.3"

# fetching PROGRAMFILES environmental variable
POL_LoadVar_PROGRAMFILES

# set system architecture to 32bit 
POL_System_SetArch "x86"

# set windows version to windows 7
Set_OS "win7"
Set_Desktop "On" "1024" "768"

# installing mandatory components
POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dx9
POL_Call POL_Install_tahoma

#
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        POL_SetupWindow_browse "Select dro_setup.exe" "$TITLE"
        INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "http://drasaonline-481.ah.bpcdn.net/applet/dro_setup.exe"
        INSTALLER="$POL_System_TmpDir/dro_setup.exe"
fi
POL_SetupWindow_wait "Installation in progress." "$TITLE"
POL_Wine "$INSTALLER"

POL_Wine_VMS

#
POL_Shortcut "thinclient.exe" "$TITLE" "" "" "Game;"
POL_System_TmpDelete
POL_SetupWindow_Close
exit

Replies

JustChris Tuesday 8 November 2016 at 3:37
JustChris Anonymous

Warning

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

Message

Tested on Linux Mint 18 Sarah. Works well with the modified line above.

POL_Wine_PrefixCreate "1.9.22-staging"

Differences

@@ -0,0 +1 @@
+POL_Wine_PrefixCreate "1.9.22-staging"
\ No newline at end of file

New source code

POL_Wine_PrefixCreate "1.9.22-staging"

Replies

DoctorJohn Thursday 18 February 2016 at 21:55
DoctorJohn Anonymous

Warning

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

Differences

@@ -0,0 +1,64 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2016-02-18 15-00)
+# Last revision : (2016-02-18 15-00)
+# Wine version used : 1.7.39
+# Distribution used to test : Kubuntu 15.04
+# Author : DoctorJohn
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+#
+TITLE="Drakensang Online"
+PREFIX="DrakensangOnline"
+
+#
+POL_SetupWindow_Init
+POL_SetupWindow_presentation "$TITLE" "Bigpoint" "http://www.drakensang.com/" "DoctorJohn" "DrakensangOnline"
+POL_System_TmpCreate "$PREFIX"
+
+#
+POL_SetupWindow_message "You may have to resize the virtual desktops size under your wine/graphics settings. It's default set to 1024x768." "$TITLE"
+POL_SetupWindow_message "IMPORTANT: Unselect 'Run Drankensang Online' at the end of the installation. AND: You will probably see the error 'Certificate import failed: Unable to add certificate to certificate store', just ignore it." "$TITLE"
+
+#
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "1.7.39"
+
+# fetching PROGRAMFILES environmental variable
+POL_LoadVar_PROGRAMFILES
+
+# set system architecture to 32bit 
+POL_System_SetArch "x86"
+
+# set windows version to windows 7
+Set_OS "win7"
+Set_Desktop "On" "1024" "768"
+
+# installing mandatory components
+POL_Call POL_Install_corefonts
+POL_Call POL_Install_d3dx9
+POL_Call POL_Install_tahoma
+
+#
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+	POL_SetupWindow_browse "Select dro_setup.exe" "$TITLE"
+	INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+	cd "$POL_System_TmpDir"
+	POL_Download "http://drasaonline-481.ah.bpcdn.net/applet/dro_setup.exe"
+	INSTALLER="$POL_System_TmpDir/dro_setup.exe"
+fi
+POL_SetupWindow_wait "Installation in progress." "$TITLE"
+POL_Wine "$INSTALLER"
+
+POL_Wine_VMS
+
+#
+POL_Shortcut "thinclient.exe" "$TITLE"
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2016-02-18 15-00)
# Last revision : (2016-02-18 15-00)
# Wine version used : 1.7.39
# Distribution used to test : Kubuntu 15.04
# Author : DoctorJohn

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

#
TITLE="Drakensang Online"
PREFIX="DrakensangOnline"

#
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Bigpoint" "http://www.drakensang.com/" "DoctorJohn" "DrakensangOnline"
POL_System_TmpCreate "$PREFIX"

#
POL_SetupWindow_message "You may have to resize the virtual desktops size under your wine/graphics settings. It's default set to 1024x768." "$TITLE"
POL_SetupWindow_message "IMPORTANT: Unselect 'Run Drankensang Online' at the end of the installation. AND: You will probably see the error 'Certificate import failed: Unable to add certificate to certificate store', just ignore it." "$TITLE"

#
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.39"

# fetching PROGRAMFILES environmental variable
POL_LoadVar_PROGRAMFILES

# set system architecture to 32bit 
POL_System_SetArch "x86"

# set windows version to windows 7
Set_OS "win7"
Set_Desktop "On" "1024" "768"

# installing mandatory components
POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dx9
POL_Call POL_Install_tahoma

#
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        POL_SetupWindow_browse "Select dro_setup.exe" "$TITLE"
        INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "http://drasaonline-481.ah.bpcdn.net/applet/dro_setup.exe"
        INSTALLER="$POL_System_TmpDir/dro_setup.exe"
fi
POL_SetupWindow_wait "Installation in progress." "$TITLE"
POL_Wine "$INSTALLER"

POL_Wine_VMS

#
POL_Shortcut "thinclient.exe" "$TITLE"
POL_System_TmpDelete
POL_SetupWindow_Close
exit

Replies

Anonymous
Thursday 18 February 2016 at 22:06
I have no idea how to update to isntaller. But this contribution/update contains the actual script.
Anonymous
Sunday 1 May 2016 at 23:27
http://www.gamersonlinux.com/forum/threads/drakensang-online-guide.898/
Anonymous
Sunday 1 May 2016 at 23:34
sorry ... Anyway ... the link above is a guide i used to try to install drakensang online on ubuntu 16.04. But even if i do it exactly as it says im getting many errors that i dont understand. Im new to playonlinux and play windows games on ubuntu. Long time ago there was script (?) I think thats the way its called.. that let you install the game and play it like right out of the box (i remember it was here somewhere). I understand maybe that "thing" dont work anymore because of updates in the games but maybe we can find a way to fix it and be able to enjoy that drakensang game again. For example i getting a Nebula 3 Application error that says: Backbuffer format not compatible with D2458 depth buffer. No idea what that mean. If somebody with the know how can help me please... I dont know what to do or where to ask. thanks in advance for your time to read my messages - Lorena
Thursday 2 January 2020 at 14:40
Script approved.