Neverwinter (Online)

Informations

Creator Message
Ronin DUSETTE

Warning

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

Informations

Platforms:
Downloads: 28767
Wine: 6.17

Feedbacks

Description

MMORPG game first released in 2013. The full name is 'Dungeons & Dragons NeverWinter'. WikipediaWebsite.

Note:

  • Arc is not required (ARC is a Digital distribution software).
  • This game auto upgrade itself, this might break the compatibility.
  • Developpers of the game drop 32 bits support on 2019-07-18 sad .

This can help: test reports hosted on appdb.winehq.org

Screenshots

MiniatureMiniature

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-04-21)
# Last revision : see changelog
# Distribution used to test : Linux Mint 20.1 Cinnamon
# Game Version tested : NW.131.20210906a.13
# Author : Ronin Dusette
# Licence : GPLv3
# PlayOnLinux : 4.3.4
#
# Changelog:
# 2019-05-20 Dadu042: Add suppport for dual GPU. Upgrade wine 4.5-staging to 4.8. Add warning POL version required.
# 2020-02-10 Yaotl: Update Wine 4.0.1 > 4.0.3; Various script fixes.
# 2020-07-10 Yaotl: Update Wine 4.0.3 > 5.0.1; Small script updates.
# 2020-07-31 Yaotl: Enable UseGLSL & Enable OpenGL; Add set Mouse DirectInput
# 2020-09-30 Dadu042: Update Wine 5.0.1 > 5.0.2
# 2021-04-12 Yaotl: Update Wine 5.0.1 > 6.0; remove Mouse DirectInput; DXVK_181 installation option added; Download url updated.
# 2021-06-15 Yaotl: Update Wine 6.0 > 6.0.1; Download url updated; other small script changes.
# 2021-09-18 Dae: restore old link
# 2021-09-19 Yaotl: Script changed
# 2021-09-23 Yaotl: dll fix, Update Wine 6.0.1(Stable) > 6.17(Development)
# 2021-10-10 Yaotl: Script clean again

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

TITLE="Neverwinter Online"
PREFIX="NeverwinterOnline"
WINEVERSION="6.17"
DOWNLOAD_URL="http://download.perfectworld.com/nw/launcher/Neverwinter.exe"
MD5_CHECKSUM="7bf87d6886bef4b278895fa4d85d50d0"

#Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 2505
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"

# Checks the required POL/POM version
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Create Prefix
POL_System_SetArch "amd64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Dependencies
POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dcompiler_46
POL_Call POL_Install_d3dcompiler_47
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dx10
POL_Call POL_Install_d3dx11
POL_Call POL_Install_physx
POL_Call POL_Install_vcrun2019
POL_Call POL_Install_xinput

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}

POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"

# Set Graphic Card informations keys for wine
POL_Call POL_Install_VideoDriver

# Installation
mkdir -p "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
cd "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"

# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE" "" "" "Game;RolePlaying;"

# Game Configuration
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir

if [ "$POL_LANG" = "en" ]; then # English
    lang="1033"
elif [ "$POL_LANG" = "de" ]; then # German
    lang="1031"
elif [ "$POL_LANG" = "fr" ]; then # French
    lang="1036"
elif [ "$POL_LANG" = "it" ]; then # Italian
    lang="1040"
elif [ "$POL_LANG" = "ru" ]; then # Russian
    lang="1049"
else # English
    lang="1033"
fi

cat << EOF > "lang.reg"
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]
"DisableMicropatching"=dword:00000001
"InstallLanguage"="$lang"
"InstallLocation"="C:/Program Files/Neverwinter Online"
EOF
POL_Wine regedit "lang.reg"

if [ "$POL_OS" = "Linux" ]; then
    POL_SetupWindow_checkbox_list "Optimal components:" "$TITLE" "DXVK" "~"
    if [ "$(echo $APP_ANSWER | grep -o "DXVK")" != "" ]; then
        POL_Call POL_Install_DXVK
    fi
fi

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Yaotl Tuesday 12 October 2021 at 12:52
Yaotl Anonymous

Information

This update has been approved by the team.

Differences

@@ -2,7 +2,7 @@
 # Date : (2015-04-21)
 # Last revision : see changelog
 # Distribution used to test : Linux Mint 20.1 Cinnamon
-# Game Version tested : NW.125.20210219a.20
+# Game Version tested : NW.131.20210906a.13
 # Author : Ronin Dusette
 # Licence : GPLv3
 # PlayOnLinux : 4.3.4
@@ -15,16 +15,19 @@
 # 2020-09-30 Dadu042: Update Wine 5.0.1 > 5.0.2
 # 2021-04-12 Yaotl: Update Wine 5.0.1 > 6.0; remove Mouse DirectInput; DXVK_181 installation option added; Download url updated.
 # 2021-06-15 Yaotl: Update Wine 6.0 > 6.0.1; Download url updated; other small script changes.
-
+# 2021-09-18 Dae: restore old link
+# 2021-09-19 Yaotl: Script changed
+# 2021-09-23 Yaotl: dll fix, Update Wine 6.0.1(Stable) > 6.17(Development)
+# 2021-10-10 Yaotl: Script clean again
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="Neverwinter Online"
 PREFIX="NeverwinterOnline"
-WINEVERSION="6.0.1"
-DOWNLOAD_URL="https://yaotl.heliohost.us/resources/setups/$PREFIX/CL_2021_05_21_17_59/Neverwinter.7z"
-MD5_CHECKSUM="522f88185d1dcedf8fe7411db8e00813"
+WINEVERSION="6.17"
+DOWNLOAD_URL="http://download.perfectworld.com/nw/launcher/Neverwinter.exe"
+MD5_CHECKSUM="7bf87d6886bef4b278895fa4d85d50d0"
 
 #Initialization
 POL_SetupWindow_Init
@@ -37,18 +40,21 @@
 # Checks the required POL/POM version
 POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
-# Launcher Download
-POL_System_TmpCreate "$PREFIX"
-cd "$POL_System_TmpDir"
-POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
-
 # Create Prefix
 POL_System_SetArch "amd64"
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
 
 # Dependencies
+POL_Call POL_Install_corefonts
+POL_Call POL_Install_d3dcompiler_46
+POL_Call POL_Install_d3dcompiler_47
+POL_Call POL_Install_d3dx9
+POL_Call POL_Install_d3dx10
+POL_Call POL_Install_d3dx11
+POL_Call POL_Install_physx
 POL_Call POL_Install_vcrun2019
+POL_Call POL_Install_xinput
 
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS ${GAME_VMS}
@@ -61,12 +67,14 @@
 
 # Installation
 mkdir -p "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
-7z e "$POL_System_TmpDir/Neverwinter.7z" -o"$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
+cd "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
+POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
 
 # Create Shortcut
 POL_Shortcut "Neverwinter.exe" "$TITLE" "" "" "Game;RolePlaying;"
 
 # Game Configuration
+POL_System_TmpCreate "$PREFIX"
 cd $POL_System_TmpDir
 
 if [ "$POL_LANG" = "en" ]; then # English

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-04-21)
# Last revision : see changelog
# Distribution used to test : Linux Mint 20.1 Cinnamon
# Game Version tested : NW.131.20210906a.13
# Author : Ronin Dusette
# Licence : GPLv3
# PlayOnLinux : 4.3.4
#
# Changelog:
# 2019-05-20 Dadu042: Add suppport for dual GPU. Upgrade wine 4.5-staging to 4.8. Add warning POL version required.
# 2020-02-10 Yaotl: Update Wine 4.0.1 > 4.0.3; Various script fixes.
# 2020-07-10 Yaotl: Update Wine 4.0.3 > 5.0.1; Small script updates.
# 2020-07-31 Yaotl: Enable UseGLSL & Enable OpenGL; Add set Mouse DirectInput
# 2020-09-30 Dadu042: Update Wine 5.0.1 > 5.0.2
# 2021-04-12 Yaotl: Update Wine 5.0.1 > 6.0; remove Mouse DirectInput; DXVK_181 installation option added; Download url updated.
# 2021-06-15 Yaotl: Update Wine 6.0 > 6.0.1; Download url updated; other small script changes.
# 2021-09-18 Dae: restore old link
# 2021-09-19 Yaotl: Script changed
# 2021-09-23 Yaotl: dll fix, Update Wine 6.0.1(Stable) > 6.17(Development)
# 2021-10-10 Yaotl: Script clean again

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

TITLE="Neverwinter Online"
PREFIX="NeverwinterOnline"
WINEVERSION="6.17"
DOWNLOAD_URL="http://download.perfectworld.com/nw/launcher/Neverwinter.exe"
MD5_CHECKSUM="7bf87d6886bef4b278895fa4d85d50d0"

#Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 2505
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"

# Checks the required POL/POM version
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Create Prefix
POL_System_SetArch "amd64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Dependencies
POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dcompiler_46
POL_Call POL_Install_d3dcompiler_47
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dx10
POL_Call POL_Install_d3dx11
POL_Call POL_Install_physx
POL_Call POL_Install_vcrun2019
POL_Call POL_Install_xinput

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}

POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"

# Set Graphic Card informations keys for wine
POL_Call POL_Install_VideoDriver

# Installation
mkdir -p "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
cd "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"

# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE" "" "" "Game;RolePlaying;"

# Game Configuration
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir

if [ "$POL_LANG" = "en" ]; then # English
    lang="1033"
elif [ "$POL_LANG" = "de" ]; then # German
    lang="1031"
elif [ "$POL_LANG" = "fr" ]; then # French
    lang="1036"
elif [ "$POL_LANG" = "it" ]; then # Italian
    lang="1040"
elif [ "$POL_LANG" = "ru" ]; then # Russian
    lang="1049"
else # English
    lang="1033"
fi

cat << EOF > "lang.reg"
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]
"DisableMicropatching"=dword:00000001
"InstallLanguage"="$lang"
"InstallLocation"="C:/Program Files/Neverwinter Online"
EOF
POL_Wine regedit "lang.reg"

if [ "$POL_OS" = "Linux" ]; then
    POL_SetupWindow_checkbox_list "Optimal components:" "$TITLE" "DXVK" "~"
    if [ "$(echo $APP_ANSWER | grep -o "DXVK")" != "" ]; then
        POL_Call POL_Install_DXVK
    fi
fi

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

Wednesday 13 October 2021 at 17:54
Script approved.

Edited by Yaotl

dae Friday 24 September 2021 at 21:50
dae

Warning

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

Differences

@@ -1,9 +1,9 @@
 #!/usr/bin/env playonlinux-bash
-# Date : (2015-04-21)
+# Date : (2021-09-19)
 # Last revision : see changelog
-# Distribution used to test : Linux Mint 20.1 Cinnamon
-# Game Version tested : NW.125.20210219a.20
-# Author : Ronin Dusette
+# Distribution used to test : Lubuntu18.04.05x64
+# Game Version tested : NW.131.20210803b.24
+# Author : Ronin Dusette + Dae#5125
 # Licence : GPLv3
 # PlayOnLinux : 4.3.4
 #
@@ -15,60 +15,66 @@
 # 2020-09-30 Dadu042: Update Wine 5.0.1 > 5.0.2
 # 2021-04-12 Yaotl: Update Wine 5.0.1 > 6.0; remove Mouse DirectInput; DXVK_181 installation option added; Download url updated.
 # 2021-06-15 Yaotl: Update Wine 6.0 > 6.0.1; Download url updated; other small script changes.
+# 2021-09-18 Dae, restore old link
+# 2021-09-19 Script changed by yaotl
 
-
+#2021-09-23 by @Icnoyotl#9122  dll fix, wine 6.17
+ 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Neverwinter Online"
 PREFIX="NeverwinterOnline"
-WINEVERSION="6.0.1"
-DOWNLOAD_URL="https://yaotl.heliohost.us/resources/setups/$PREFIX/CL_2021_05_21_17_59/Neverwinter.7z"
-MD5_CHECKSUM="522f88185d1dcedf8fe7411db8e00813"
-
+WINEVERSION="6.17"
+DOWNLOAD_URL="http://download.perfectworld.com/nw/launcher/Neverwinter.exe"
+MD5_CHECKSUM="7bf87d6886bef4b278895fa4d85d50d0"
+ 
 #Initialization
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2505
 POL_Debug_Init
-
+ 
 # Presentation
 POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"
-
+ 
 # Checks the required POL/POM version
 POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
-
-# Launcher Download
-POL_System_TmpCreate "$PREFIX"
-cd "$POL_System_TmpDir"
-POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
-
+ 
 # Create Prefix
 POL_System_SetArch "amd64"
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
-
+ 
 # Dependencies
 POL_Call POL_Install_vcrun2019
+POL_Call POL_Install_d3dx9
+POL_Call POL_Install_d3dx10
+POL_Call POL_Install_d3dx11
+POL_Call POL_Install_d3dcompiler_46
+POL_Call POL_Install_d3dcompiler_47
+POL_Call POL_Install_physx
+POL_Call POL_Install_xinput
+POL_Call POL_Install_corefonts
 
+ 
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS ${GAME_VMS}
-
+ 
 POL_Wine_Direct3D "UseGLSL" "enabled"
 POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
-
-# Set Graphic Card informations keys for wine
-POL_Call POL_Install_VideoDriver
-
+ 
 # Installation
 mkdir -p "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
-7z e "$POL_System_TmpDir/Neverwinter.7z" -o"$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
-
+cd "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
+POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
+ 
 # Create Shortcut
 POL_Shortcut "Neverwinter.exe" "$TITLE" "" "" "Game;RolePlaying;"
-
+ 
 # Game Configuration
+POL_System_TmpCreate "$PREFIX"
 cd $POL_System_TmpDir
-
+ 
 if [ "$POL_LANG" = "en" ]; then # English
     lang="1033"
 elif [ "$POL_LANG" = "de" ]; then # German
@@ -82,26 +88,76 @@
 else # English
     lang="1033"
 fi
-
+ 
 cat << EOF > "lang.reg"
 Windows Registry Editor Version 5.00
-
+ 
 [HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]
 "DisableMicropatching"=dword:00000001
 "InstallLanguage"="$lang"
 "InstallLocation"="C:/Program Files/Neverwinter Online"
 EOF
 POL_Wine regedit "lang.reg"
-
+ 
 if [ "$POL_OS" = "Linux" ]; then
     POL_SetupWindow_checkbox_list "Optimal components:" "$TITLE" "DXVK" "~"
     if [ "$(echo $APP_ANSWER | grep -o "DXVK")" != "" ]; then
-        POL_Call POL_Install_DXVK
+        POL_SetupWindow_message "Warning: DXVK software can not work without Vulkan driver (on your OS), we can not automate this." "$TITLE"
+        
+        DXVK_VERSION="1.9.2"
+        
+        # Downloading DXVK files
+        POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v$DXVK_VERSION/dxvk-$DXVK_VERSION.tar.gz" "74c54653ed2fda08b20ad744b87150b3"
+        
+        # Installing DLL
+        POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"
+        
+        cd "$WINEPREFIX/drive_c/windows/temp"
+        
+        tar -xvzf "$POL_USER_ROOT/ressources/dxvk-$DXVK_VERSION.tar.gz"
+        
+        if [ "$POL_ARCH" == "amd64" ]; then
+                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+          
+                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
+                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
+                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
+                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
+                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
+                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
+        else
+                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
+                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
+                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
+                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
+                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
+                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
+        fi
+        
+        # Overriding dlls
+        POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"
+        
+        POL_Call POL_Function_OverrideDLL "native" "d3d9"
+        POL_Call POL_Function_OverrideDLL "native" "d3d10"
+        POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
+        POL_Call POL_Function_OverrideDLL "native" "d3d10core"
+        POL_Call POL_Function_OverrideDLL "native" "d3d11"
+        POL_Call POL_Function_OverrideDLL "native" "dxgi"
     fi
 fi
 
+# Set Graphic Card informations keys for wine
+POL_Call POL_Install_VideoDriver
+
 # Cleanup
 POL_System_TmpDelete
 POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
 POL_SetupWindow_Close
-exit 0
\ No newline at end of file
+exit 0
+
+

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2021-09-19)
# Last revision : see changelog
# Distribution used to test : Lubuntu18.04.05x64
# Game Version tested : NW.131.20210803b.24
# Author : Ronin Dusette + Dae#5125
# Licence : GPLv3
# PlayOnLinux : 4.3.4
#
# Changelog:
# 2019-05-20 Dadu042: Add suppport for dual GPU. Upgrade wine 4.5-staging to 4.8. Add warning POL version required.
# 2020-02-10 Yaotl: Update Wine 4.0.1 > 4.0.3; Various script fixes.
# 2020-07-10 Yaotl: Update Wine 4.0.3 > 5.0.1; Small script updates.
# 2020-07-31 Yaotl: Enable UseGLSL & Enable OpenGL; Add set Mouse DirectInput
# 2020-09-30 Dadu042: Update Wine 5.0.1 > 5.0.2
# 2021-04-12 Yaotl: Update Wine 5.0.1 > 6.0; remove Mouse DirectInput; DXVK_181 installation option added; Download url updated.
# 2021-06-15 Yaotl: Update Wine 6.0 > 6.0.1; Download url updated; other small script changes.
# 2021-09-18 Dae, restore old link
# 2021-09-19 Script changed by yaotl

#2021-09-23 by @Icnoyotl#9122  dll fix, wine 6.17
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Neverwinter Online"
PREFIX="NeverwinterOnline"
WINEVERSION="6.17"
DOWNLOAD_URL="http://download.perfectworld.com/nw/launcher/Neverwinter.exe"
MD5_CHECKSUM="7bf87d6886bef4b278895fa4d85d50d0"
 
#Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 2505
POL_Debug_Init
 
# Presentation
POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"
 
# Checks the required POL/POM version
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
# Create Prefix
POL_System_SetArch "amd64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
# Dependencies
POL_Call POL_Install_vcrun2019
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dx10
POL_Call POL_Install_d3dx11
POL_Call POL_Install_d3dcompiler_46
POL_Call POL_Install_d3dcompiler_47
POL_Call POL_Install_physx
POL_Call POL_Install_xinput
POL_Call POL_Install_corefonts

 
# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}
 
POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
 
# Installation
mkdir -p "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
cd "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
 
# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE" "" "" "Game;RolePlaying;"
 
# Game Configuration
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
 
if [ "$POL_LANG" = "en" ]; then # English
    lang="1033"
elif [ "$POL_LANG" = "de" ]; then # German
    lang="1031"
elif [ "$POL_LANG" = "fr" ]; then # French
    lang="1036"
elif [ "$POL_LANG" = "it" ]; then # Italian
    lang="1040"
elif [ "$POL_LANG" = "ru" ]; then # Russian
    lang="1049"
else # English
    lang="1033"
fi
 
cat << EOF > "lang.reg"
Windows Registry Editor Version 5.00
 
[HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]
"DisableMicropatching"=dword:00000001
"InstallLanguage"="$lang"
"InstallLocation"="C:/Program Files/Neverwinter Online"
EOF
POL_Wine regedit "lang.reg"
 
if [ "$POL_OS" = "Linux" ]; then
    POL_SetupWindow_checkbox_list "Optimal components:" "$TITLE" "DXVK" "~"
    if [ "$(echo $APP_ANSWER | grep -o "DXVK")" != "" ]; then
        POL_SetupWindow_message "Warning: DXVK software can not work without Vulkan driver (on your OS), we can not automate this." "$TITLE"
        
        DXVK_VERSION="1.9.2"
        
        # Downloading DXVK files
        POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v$DXVK_VERSION/dxvk-$DXVK_VERSION.tar.gz" "74c54653ed2fda08b20ad744b87150b3"
        
        # Installing DLL
        POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"
        
        cd "$WINEPREFIX/drive_c/windows/temp"
        
        tar -xvzf "$POL_USER_ROOT/ressources/dxvk-$DXVK_VERSION.tar.gz"
        
        if [ "$POL_ARCH" == "amd64" ]; then
                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"
          
                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
        else
                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
                cp -f "$WINEPREFIX/drive_c/windows/temp/dxvk-$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
        fi
        
        # Overriding dlls
        POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"
        
        POL_Call POL_Function_OverrideDLL "native" "d3d9"
        POL_Call POL_Function_OverrideDLL "native" "d3d10"
        POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
        POL_Call POL_Function_OverrideDLL "native" "d3d10core"
        POL_Call POL_Function_OverrideDLL "native" "d3d11"
        POL_Call POL_Function_OverrideDLL "native" "dxgi"
    fi
fi

# Set Graphic Card informations keys for wine
POL_Call POL_Install_VideoDriver

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
POL_SetupWindow_Close
exit 0


Replies

Friday 24 September 2021 at 21:51

#2021-09-23 by @Icnoyotl#9122 dll fix, wine 6.17
Yaotl Sunday 19 September 2021 at 15:51
Yaotl Anonymous

Warning

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

Differences

@@ -1,9 +1,9 @@
 #!/usr/bin/env playonlinux-bash
-# Date : (2015-04-21)
+# Date : (2021-09-19)
 # Last revision : see changelog
-# Distribution used to test : Linux Mint 20.1 Cinnamon
-# Game Version tested : NW.125.20210219a.20
-# Author : Ronin Dusette
+# Distribution used to test : Lubuntu18.04.05x64
+# Game Version tested : NW.131.20210803b.24
+# Author : Ronin Dusette + Dae#5125
 # Licence : GPLv3
 # PlayOnLinux : 4.3.4
 #
@@ -15,7 +15,8 @@
 # 2020-09-30 Dadu042: Update Wine 5.0.1 > 5.0.2
 # 2021-04-12 Yaotl: Update Wine 5.0.1 > 6.0; remove Mouse DirectInput; DXVK_181 installation option added; Download url updated.
 # 2021-06-15 Yaotl: Update Wine 6.0 > 6.0.1; Download url updated; other small script changes.
-
+# 2021-09-18 Dae, restore old link
+# 2021-09-19 Script changed
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -23,8 +24,8 @@
 TITLE="Neverwinter Online"
 PREFIX="NeverwinterOnline"
 WINEVERSION="6.0.1"
-DOWNLOAD_URL="https://yaotl.heliohost.us/resources/setups/$PREFIX/CL_2021_05_21_17_59/Neverwinter.7z"
-MD5_CHECKSUM="522f88185d1dcedf8fe7411db8e00813"
+DOWNLOAD_URL="http://download.perfectworld.com/nw/launcher/Neverwinter.exe"
+MD5_CHECKSUM="7bf87d6886bef4b278895fa4d85d50d0"
 
 #Initialization
 POL_SetupWindow_Init
@@ -37,11 +38,6 @@
 # Checks the required POL/POM version
 POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
-# Launcher Download
-POL_System_TmpCreate "$PREFIX"
-cd "$POL_System_TmpDir"
-POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
-
 # Create Prefix
 POL_System_SetArch "amd64"
 POL_Wine_SelectPrefix "$PREFIX"
@@ -61,12 +57,14 @@
 
 # Installation
 mkdir -p "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
-7z e "$POL_System_TmpDir/Neverwinter.7z" -o"$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
+cd "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
+POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
 
 # Create Shortcut
 POL_Shortcut "Neverwinter.exe" "$TITLE" "" "" "Game;RolePlaying;"
 
 # Game Configuration
+POL_System_TmpCreate "$PREFIX"
 cd $POL_System_TmpDir
 
 if [ "$POL_LANG" = "en" ]; then # English

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2021-09-19)
# Last revision : see changelog
# Distribution used to test : Lubuntu18.04.05x64
# Game Version tested : NW.131.20210803b.24
# Author : Ronin Dusette + Dae#5125
# Licence : GPLv3
# PlayOnLinux : 4.3.4
#
# Changelog:
# 2019-05-20 Dadu042: Add suppport for dual GPU. Upgrade wine 4.5-staging to 4.8. Add warning POL version required.
# 2020-02-10 Yaotl: Update Wine 4.0.1 > 4.0.3; Various script fixes.
# 2020-07-10 Yaotl: Update Wine 4.0.3 > 5.0.1; Small script updates.
# 2020-07-31 Yaotl: Enable UseGLSL & Enable OpenGL; Add set Mouse DirectInput
# 2020-09-30 Dadu042: Update Wine 5.0.1 > 5.0.2
# 2021-04-12 Yaotl: Update Wine 5.0.1 > 6.0; remove Mouse DirectInput; DXVK_181 installation option added; Download url updated.
# 2021-06-15 Yaotl: Update Wine 6.0 > 6.0.1; Download url updated; other small script changes.
# 2021-09-18 Dae, restore old link
# 2021-09-19 Script changed

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

TITLE="Neverwinter Online"
PREFIX="NeverwinterOnline"
WINEVERSION="6.0.1"
DOWNLOAD_URL="http://download.perfectworld.com/nw/launcher/Neverwinter.exe"
MD5_CHECKSUM="7bf87d6886bef4b278895fa4d85d50d0"

#Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 2505
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"

# Checks the required POL/POM version
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Create Prefix
POL_System_SetArch "amd64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Dependencies
POL_Call POL_Install_vcrun2019

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}

POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"

# Set Graphic Card informations keys for wine
POL_Call POL_Install_VideoDriver

# Installation
mkdir -p "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
cd "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"

# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE" "" "" "Game;RolePlaying;"

# Game Configuration
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir

if [ "$POL_LANG" = "en" ]; then # English
    lang="1033"
elif [ "$POL_LANG" = "de" ]; then # German
    lang="1031"
elif [ "$POL_LANG" = "fr" ]; then # French
    lang="1036"
elif [ "$POL_LANG" = "it" ]; then # Italian
    lang="1040"
elif [ "$POL_LANG" = "ru" ]; then # Russian
    lang="1049"
else # English
    lang="1033"
fi

cat << EOF > "lang.reg"
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]
"DisableMicropatching"=dword:00000001
"InstallLanguage"="$lang"
"InstallLocation"="C:/Program Files/Neverwinter Online"
EOF
POL_Wine regedit "lang.reg"

if [ "$POL_OS" = "Linux" ]; then
    POL_SetupWindow_checkbox_list "Optimal components:" "$TITLE" "DXVK" "~"
    if [ "$(echo $APP_ANSWER | grep -o "DXVK")" != "" ]; then
        POL_Call POL_Install_DXVK
    fi
fi

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

Anonymous
Sunday 19 September 2021 at 16:21
The script works again. Thanks dae
Sunday 19 September 2021 at 19:22
No worries my friend, the community is also there to help each other, right?

Apart from lines 40 to 45, was there anything else that was wrong with my understanding of how to write a script?

ps: ingame, @Daebis01
Discord:Dae#5125
add me , I would be honoured to do a dungeon with you.
Anonymous
Sunday 19 September 2021 at 19:51
In the last script the launcher exe was in a zip archive.
The script tried to unzip the archive.
But that doesn't work with the new link.
Monday 20 September 2021 at 1:13
the scrip work for you ?
i have a issue but i think it's from my side.
could you add me on siscord @yaoti ?

Edited by Yaotl

dae Saturday 18 September 2021 at 20:54
dae

Warning

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

Differences

@@ -1,9 +1,9 @@
 #!/usr/bin/env playonlinux-bash
-# Date : (2015-04-21)
+# Date : (2021-09-18)
 # Last revision : see changelog
-# Distribution used to test : Linux Mint 20.1 Cinnamon
-# Game Version tested : NW.125.20210219a.20
-# Author : Ronin Dusette
+# Distribution used to test : Lubuntu18.04.05x64
+# Game Version tested : NW.131.20210803b.24
+# Author : Ronin Dusette + Dae#5125
 # Licence : GPLv3
 # PlayOnLinux : 4.3.4
 #
@@ -15,7 +15,7 @@
 # 2020-09-30 Dadu042: Update Wine 5.0.1 > 5.0.2
 # 2021-04-12 Yaotl: Update Wine 5.0.1 > 6.0; remove Mouse DirectInput; DXVK_181 installation option added; Download url updated.
 # 2021-06-15 Yaotl: Update Wine 6.0 > 6.0.1; Download url updated; other small script changes.
-
+# 2021-09-18 Dae, restore old link
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -23,8 +23,8 @@
 TITLE="Neverwinter Online"
 PREFIX="NeverwinterOnline"
 WINEVERSION="6.0.1"
-DOWNLOAD_URL="https://yaotl.heliohost.us/resources/setups/$PREFIX/CL_2021_05_21_17_59/Neverwinter.7z"
-MD5_CHECKSUM="522f88185d1dcedf8fe7411db8e00813"
+DOWNLOAD_URL="https://download.perfectworld.com/nw/launcher/Neverwinter.exe"
+MD5_CHECKSUM="7bf87d6886bef4b278895fa4d85d50d0"
 
 #Initialization
 POL_SetupWindow_Init
@@ -40,7 +40,7 @@
 # Launcher Download
 POL_System_TmpCreate "$PREFIX"
 cd "$POL_System_TmpDir"
-POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
+#POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
 
 # Create Prefix
 POL_System_SetArch "amd64"

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2021-09-18)
# Last revision : see changelog
# Distribution used to test : Lubuntu18.04.05x64
# Game Version tested : NW.131.20210803b.24
# Author : Ronin Dusette + Dae#5125
# Licence : GPLv3
# PlayOnLinux : 4.3.4
#
# Changelog:
# 2019-05-20 Dadu042: Add suppport for dual GPU. Upgrade wine 4.5-staging to 4.8. Add warning POL version required.
# 2020-02-10 Yaotl: Update Wine 4.0.1 > 4.0.3; Various script fixes.
# 2020-07-10 Yaotl: Update Wine 4.0.3 > 5.0.1; Small script updates.
# 2020-07-31 Yaotl: Enable UseGLSL & Enable OpenGL; Add set Mouse DirectInput
# 2020-09-30 Dadu042: Update Wine 5.0.1 > 5.0.2
# 2021-04-12 Yaotl: Update Wine 5.0.1 > 6.0; remove Mouse DirectInput; DXVK_181 installation option added; Download url updated.
# 2021-06-15 Yaotl: Update Wine 6.0 > 6.0.1; Download url updated; other small script changes.
# 2021-09-18 Dae, restore old link

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

TITLE="Neverwinter Online"
PREFIX="NeverwinterOnline"
WINEVERSION="6.0.1"
DOWNLOAD_URL="https://download.perfectworld.com/nw/launcher/Neverwinter.exe"
MD5_CHECKSUM="7bf87d6886bef4b278895fa4d85d50d0"

#Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 2505
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"

# Checks the required POL/POM version
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Launcher Download
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
#POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"

# Create Prefix
POL_System_SetArch "amd64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Dependencies
POL_Call POL_Install_vcrun2019

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}

POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"

# Set Graphic Card informations keys for wine
POL_Call POL_Install_VideoDriver

# Installation
mkdir -p "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
7z e "$POL_System_TmpDir/Neverwinter.7z" -o"$WINEPREFIX/drive_c/Program Files/Neverwinter Online"

# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE" "" "" "Game;RolePlaying;"

# Game Configuration
cd $POL_System_TmpDir

if [ "$POL_LANG" = "en" ]; then # English
    lang="1033"
elif [ "$POL_LANG" = "de" ]; then # German
    lang="1031"
elif [ "$POL_LANG" = "fr" ]; then # French
    lang="1036"
elif [ "$POL_LANG" = "it" ]; then # Italian
    lang="1040"
elif [ "$POL_LANG" = "ru" ]; then # Russian
    lang="1049"
else # English
    lang="1033"
fi

cat << EOF > "lang.reg"
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]
"DisableMicropatching"=dword:00000001
"InstallLanguage"="$lang"
"InstallLocation"="C:/Program Files/Neverwinter Online"
EOF
POL_Wine regedit "lang.reg"

if [ "$POL_OS" = "Linux" ]; then
    POL_SetupWindow_checkbox_list "Optimal components:" "$TITLE" "DXVK" "~"
    if [ "$(echo $APP_ANSWER | grep -o "DXVK")" != "" ]; then
        POL_Call POL_Install_DXVK
    fi
fi

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

Saturday 18 September 2021 at 21:03
tested with Lubuntu18.04.05x64 (up to date)
with driver nvidia 470
Saturday 18 September 2021 at 21:19
the link download.perfectworld.com/nw/launcher/Neverwinter.exe work if you use it directly
but for some reason, the scrip wont use it ...
and i don't understand how the script should run the .exe after dl ...

Edited by dae

Yaotl Tuesday 15 June 2021 at 23:25
Yaotl Anonymous

Warning

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

Differences

@@ -14,6 +14,7 @@
 # 2020-07-31 Yaotl: Enable UseGLSL & Enable OpenGL; Add set Mouse DirectInput
 # 2020-09-30 Dadu042: Update Wine 5.0.1 > 5.0.2
 # 2021-04-12 Yaotl: Update Wine 5.0.1 > 6.0; remove Mouse DirectInput; DXVK_181 installation option added; Download url updated.
+# 2021-06-15 Yaotl: Update Wine 6.0 > 6.0.1; Download url updated; other small script changes.
 
 
 [ "$PLAYONLINUX" = "" ] && exit 0
@@ -21,9 +22,9 @@
 
 TITLE="Neverwinter Online"
 PREFIX="NeverwinterOnline"
-WINEVERSION="6.0"
-DOWNLOAD_URL="http://yaotl.heliohost.us/resources/setups/$PREFIX/CL_2021_03_22_18_15/Neverwinter.7z"
-MD5_CHECKSUM="e22149dfbe97956a7eb5a5273b2e0104"
+WINEVERSION="6.0.1"
+DOWNLOAD_URL="https://yaotl.heliohost.us/resources/setups/$PREFIX/CL_2021_05_21_17_59/Neverwinter.7z"
+MD5_CHECKSUM="522f88185d1dcedf8fe7411db8e00813"
 
 #Initialization
 POL_SetupWindow_Init
@@ -46,6 +47,9 @@
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
 
+# Dependencies
+POL_Call POL_Install_vcrun2019
+
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS ${GAME_VMS}
 
@@ -65,23 +69,18 @@
 # Game Configuration
 cd $POL_System_TmpDir
 
-POL_SetupWindow_menu "Select a language:" "$TITLE" "English|Deutsch|Français|Italiano|Russian|Polski|Türkçe|Portugués" "|"
-if [ "$APP_ANSWER" = "English" ]; then
+if [ "$POL_LANG" = "en" ]; then # English
     lang="1033"
-elif [ "$APP_ANSWER" = "Deutsch" ]; then
+elif [ "$POL_LANG" = "de" ]; then # German
     lang="1031"
-elif [ "$APP_ANSWER" = "Français" ]; then
+elif [ "$POL_LANG" = "fr" ]; then # French
     lang="1036"
-elif [ "$APP_ANSWER" = "Italiano" ]; then
+elif [ "$POL_LANG" = "it" ]; then # Italian
     lang="1040"
-elif [ "$APP_ANSWER" = "Russian" ]; then
+elif [ "$POL_LANG" = "ru" ]; then # Russian
     lang="1049"
-elif [ "$APP_ANSWER" = "Polski" ]; then
-    lang="1045"
-elif [ "$APP_ANSWER" = "Türkçe" ]; then
-    lang="1055"
-elif [ "$APP_ANSWER" = "Portugués" ]; then
-    lang="1046"
+else # English
+    lang="1033"
 fi
 
 cat << EOF > "lang.reg"
@@ -92,58 +91,14 @@
 "InstallLanguage"="$lang"
 "InstallLocation"="C:/Program Files/Neverwinter Online"
 EOF
-
 POL_Wine regedit "lang.reg"
 
-
-POL_SetupWindow_checkbox_list "Optimal components:" "$TITLE" "CoreFonts~DXVK_181" "~"
-if [ "$(echo $APP_ANSWER | grep -o "CoreFonts")" != "" ]
-then
-    POL_Call POL_Install_corefonts
-fi
-######################################################################################################################################################
-if [ "$(echo $APP_ANSWER | grep -o "DXVK_181")" != "" ]
-then
-    # based on: https://www.playonlinux.com/en/app-4346-POL_Install_DXVK_181.html
-    POL_SetupWindow_message "Warning: DXVK software can not work without Vulkan driver (on your OS), we can not automate this." "$TITLE"
-
-    DXVK_VERSION="dxvk-1.8.1"
-
-    # Downloading DXVK files
-    POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.8.1/$DXVK_VERSION.tar.gz" "3f2c50f248b5505c6cf071ca48fc5378"
-
-    # Installing DLL
-    POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"
-
-    cd "$WINEPREFIX"/drive_c/windows/temp
-
-    tar -xvzf "$POL_USER_ROOT"/ressources/$DXVK_VERSION.tar.gz
-
-    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-
-    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
-    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
-    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
-    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
-    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
-    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
-
-    # Overriding dlls
-    POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"
-
-    POL_Call POL_Function_OverrideDLL "native" "d3d9"
-    POL_Call POL_Function_OverrideDLL "native" "d3d10"
-    POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
-    POL_Call POL_Function_OverrideDLL "native" "d3d10core"
-    POL_Call POL_Function_OverrideDLL "native" "d3d11"
-    POL_Call POL_Function_OverrideDLL "native" "dxgi"
+if [ "$POL_OS" = "Linux" ]; then
+    POL_SetupWindow_checkbox_list "Optimal components:" "$TITLE" "DXVK" "~"
+    if [ "$(echo $APP_ANSWER | grep -o "DXVK")" != "" ]; then
+        POL_Call POL_Install_DXVK
+    fi
 fi
-######################################################################################################################################################
 
 # Cleanup
 POL_System_TmpDelete

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-04-21)
# Last revision : see changelog
# Distribution used to test : Linux Mint 20.1 Cinnamon
# Game Version tested : NW.125.20210219a.20
# Author : Ronin Dusette
# Licence : GPLv3
# PlayOnLinux : 4.3.4
#
# Changelog:
# 2019-05-20 Dadu042: Add suppport for dual GPU. Upgrade wine 4.5-staging to 4.8. Add warning POL version required.
# 2020-02-10 Yaotl: Update Wine 4.0.1 > 4.0.3; Various script fixes.
# 2020-07-10 Yaotl: Update Wine 4.0.3 > 5.0.1; Small script updates.
# 2020-07-31 Yaotl: Enable UseGLSL & Enable OpenGL; Add set Mouse DirectInput
# 2020-09-30 Dadu042: Update Wine 5.0.1 > 5.0.2
# 2021-04-12 Yaotl: Update Wine 5.0.1 > 6.0; remove Mouse DirectInput; DXVK_181 installation option added; Download url updated.
# 2021-06-15 Yaotl: Update Wine 6.0 > 6.0.1; Download url updated; other small script changes.


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

TITLE="Neverwinter Online"
PREFIX="NeverwinterOnline"
WINEVERSION="6.0.1"
DOWNLOAD_URL="https://yaotl.heliohost.us/resources/setups/$PREFIX/CL_2021_05_21_17_59/Neverwinter.7z"
MD5_CHECKSUM="522f88185d1dcedf8fe7411db8e00813"

#Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 2505
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"

# Checks the required POL/POM version
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Launcher Download
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"

# Create Prefix
POL_System_SetArch "amd64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Dependencies
POL_Call POL_Install_vcrun2019

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}

POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"

# Set Graphic Card informations keys for wine
POL_Call POL_Install_VideoDriver

# Installation
mkdir -p "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
7z e "$POL_System_TmpDir/Neverwinter.7z" -o"$WINEPREFIX/drive_c/Program Files/Neverwinter Online"

# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE" "" "" "Game;RolePlaying;"

# Game Configuration
cd $POL_System_TmpDir

if [ "$POL_LANG" = "en" ]; then # English
    lang="1033"
elif [ "$POL_LANG" = "de" ]; then # German
    lang="1031"
elif [ "$POL_LANG" = "fr" ]; then # French
    lang="1036"
elif [ "$POL_LANG" = "it" ]; then # Italian
    lang="1040"
elif [ "$POL_LANG" = "ru" ]; then # Russian
    lang="1049"
else # English
    lang="1033"
fi

cat << EOF > "lang.reg"
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]
"DisableMicropatching"=dword:00000001
"InstallLanguage"="$lang"
"InstallLocation"="C:/Program Files/Neverwinter Online"
EOF
POL_Wine regedit "lang.reg"

if [ "$POL_OS" = "Linux" ]; then
    POL_SetupWindow_checkbox_list "Optimal components:" "$TITLE" "DXVK" "~"
    if [ "$(echo $APP_ANSWER | grep -o "DXVK")" != "" ]; then
        POL_Call POL_Install_DXVK
    fi
fi

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

Wednesday 16 June 2021 at 6:29
Script approved, thanks.
Saturday 4 September 2021 at 19:47
sept 2021, the link to neverwinter.7z are broken
i have restaure a old version the launcher run, but i can't play mecause my directx aren't supported ???
x)

Dae#5125 on discord
Anonymous
Sunday 19 September 2021 at 15:47
i will adjust it
Yaotl Monday 12 April 2021 at 9:09
Yaotl Anonymous

Warning

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

Differences

@@ -1,8 +1,8 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2015-04-21)
 # Last revision : see changelog
-# Distribution used to test : Linux Mint 20 Cinnamon
-# Game Version tested : NW.122.20200708b.4
+# Distribution used to test : Linux Mint 20.1 Cinnamon
+# Game Version tested : NW.125.20210219a.20
 # Author : Ronin Dusette
 # Licence : GPLv3
 # PlayOnLinux : 4.3.4
@@ -12,6 +12,8 @@
 # 2020-02-10 Yaotl: Update Wine 4.0.1 > 4.0.3; Various script fixes.
 # 2020-07-10 Yaotl: Update Wine 4.0.3 > 5.0.1; Small script updates.
 # 2020-07-31 Yaotl: Enable UseGLSL & Enable OpenGL; Add set Mouse DirectInput
+# 2020-09-30 Dadu042: Update Wine 5.0.1 > 5.0.2
+# 2021-04-12 Yaotl: Update Wine 5.0.1 > 6.0; remove Mouse DirectInput; DXVK_181 installation option added; Download url updated.
 
 
 [ "$PLAYONLINUX" = "" ] && exit 0
@@ -19,9 +21,9 @@
 
 TITLE="Neverwinter Online"
 PREFIX="NeverwinterOnline"
-WINEVERSION="5.0.2"
-DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2020_04_15_16_50/Neverwinter.7z"
-MD5_CHECKSUM="4ae46e863c2092e8c6494fa2c04ebb25"
+WINEVERSION="6.0"
+DOWNLOAD_URL="http://yaotl.heliohost.us/resources/setups/$PREFIX/CL_2021_03_22_18_15/Neverwinter.7z"
+MD5_CHECKSUM="e22149dfbe97956a7eb5a5273b2e0104"
 
 #Initialization
 POL_SetupWindow_Init
@@ -44,13 +46,9 @@
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
 
-# Dependencies
-POL_Call POL_Install_corefonts
-
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS ${GAME_VMS}
 
-POL_Wine_DirectInput "MouseWarpOverride" "force"
 POL_Wine_Direct3D "UseGLSL" "enabled"
 POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
 
@@ -97,6 +95,56 @@
 
 POL_Wine regedit "lang.reg"
 
+
+POL_SetupWindow_checkbox_list "Optimal components:" "$TITLE" "CoreFonts~DXVK_181" "~"
+if [ "$(echo $APP_ANSWER | grep -o "CoreFonts")" != "" ]
+then
+    POL_Call POL_Install_corefonts
+fi
+######################################################################################################################################################
+if [ "$(echo $APP_ANSWER | grep -o "DXVK_181")" != "" ]
+then
+    # based on: https://www.playonlinux.com/en/app-4346-POL_Install_DXVK_181.html
+    POL_SetupWindow_message "Warning: DXVK software can not work without Vulkan driver (on your OS), we can not automate this." "$TITLE"
+
+    DXVK_VERSION="dxvk-1.8.1"
+
+    # Downloading DXVK files
+    POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.8.1/$DXVK_VERSION.tar.gz" "3f2c50f248b5505c6cf071ca48fc5378"
+
+    # Installing DLL
+    POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"
+
+    cd "$WINEPREFIX"/drive_c/windows/temp
+
+    tar -xvzf "$POL_USER_ROOT"/ressources/$DXVK_VERSION.tar.gz
+
+    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+
+    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
+    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
+    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
+    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
+    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
+    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
+
+    # Overriding dlls
+    POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"
+
+    POL_Call POL_Function_OverrideDLL "native" "d3d9"
+    POL_Call POL_Function_OverrideDLL "native" "d3d10"
+    POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
+    POL_Call POL_Function_OverrideDLL "native" "d3d10core"
+    POL_Call POL_Function_OverrideDLL "native" "d3d11"
+    POL_Call POL_Function_OverrideDLL "native" "dxgi"
+fi
+######################################################################################################################################################
+
 # Cleanup
 POL_System_TmpDelete
 POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-04-21)
# Last revision : see changelog
# Distribution used to test : Linux Mint 20.1 Cinnamon
# Game Version tested : NW.125.20210219a.20
# Author : Ronin Dusette
# Licence : GPLv3
# PlayOnLinux : 4.3.4
#
# Changelog:
# 2019-05-20 Dadu042: Add suppport for dual GPU. Upgrade wine 4.5-staging to 4.8. Add warning POL version required.
# 2020-02-10 Yaotl: Update Wine 4.0.1 > 4.0.3; Various script fixes.
# 2020-07-10 Yaotl: Update Wine 4.0.3 > 5.0.1; Small script updates.
# 2020-07-31 Yaotl: Enable UseGLSL & Enable OpenGL; Add set Mouse DirectInput
# 2020-09-30 Dadu042: Update Wine 5.0.1 > 5.0.2
# 2021-04-12 Yaotl: Update Wine 5.0.1 > 6.0; remove Mouse DirectInput; DXVK_181 installation option added; Download url updated.


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

TITLE="Neverwinter Online"
PREFIX="NeverwinterOnline"
WINEVERSION="6.0"
DOWNLOAD_URL="http://yaotl.heliohost.us/resources/setups/$PREFIX/CL_2021_03_22_18_15/Neverwinter.7z"
MD5_CHECKSUM="e22149dfbe97956a7eb5a5273b2e0104"

#Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 2505
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"

# Checks the required POL/POM version
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Launcher Download
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"

# Create Prefix
POL_System_SetArch "amd64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}

POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"

# Set Graphic Card informations keys for wine
POL_Call POL_Install_VideoDriver

# Installation
mkdir -p "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
7z e "$POL_System_TmpDir/Neverwinter.7z" -o"$WINEPREFIX/drive_c/Program Files/Neverwinter Online"

# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE" "" "" "Game;RolePlaying;"

# Game Configuration
cd $POL_System_TmpDir

POL_SetupWindow_menu "Select a language:" "$TITLE" "English|Deutsch|Français|Italiano|Russian|Polski|Türkçe|Portugués" "|"
if [ "$APP_ANSWER" = "English" ]; then
    lang="1033"
elif [ "$APP_ANSWER" = "Deutsch" ]; then
    lang="1031"
elif [ "$APP_ANSWER" = "Français" ]; then
    lang="1036"
elif [ "$APP_ANSWER" = "Italiano" ]; then
    lang="1040"
elif [ "$APP_ANSWER" = "Russian" ]; then
    lang="1049"
elif [ "$APP_ANSWER" = "Polski" ]; then
    lang="1045"
elif [ "$APP_ANSWER" = "Türkçe" ]; then
    lang="1055"
elif [ "$APP_ANSWER" = "Portugués" ]; then
    lang="1046"
fi

cat << EOF > "lang.reg"
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]
"DisableMicropatching"=dword:00000001
"InstallLanguage"="$lang"
"InstallLocation"="C:/Program Files/Neverwinter Online"
EOF

POL_Wine regedit "lang.reg"


POL_SetupWindow_checkbox_list "Optimal components:" "$TITLE" "CoreFonts~DXVK_181" "~"
if [ "$(echo $APP_ANSWER | grep -o "CoreFonts")" != "" ]
then
    POL_Call POL_Install_corefonts
fi
######################################################################################################################################################
if [ "$(echo $APP_ANSWER | grep -o "DXVK_181")" != "" ]
then
    # based on: https://www.playonlinux.com/en/app-4346-POL_Install_DXVK_181.html
    POL_SetupWindow_message "Warning: DXVK software can not work without Vulkan driver (on your OS), we can not automate this." "$TITLE"

    DXVK_VERSION="dxvk-1.8.1"

    # Downloading DXVK files
    POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.8.1/$DXVK_VERSION.tar.gz" "3f2c50f248b5505c6cf071ca48fc5378"

    # Installing DLL
    POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"

    cd "$WINEPREFIX"/drive_c/windows/temp

    tar -xvzf "$POL_USER_ROOT"/ressources/$DXVK_VERSION.tar.gz

    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"

    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
    cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"

    # Overriding dlls
    POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"

    POL_Call POL_Function_OverrideDLL "native" "d3d9"
    POL_Call POL_Function_OverrideDLL "native" "d3d10"
    POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
    POL_Call POL_Function_OverrideDLL "native" "d3d10core"
    POL_Call POL_Function_OverrideDLL "native" "d3d11"
    POL_Call POL_Function_OverrideDLL "native" "dxgi"
fi
######################################################################################################################################################

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

Monday 12 April 2021 at 22:47
Script approved.
Tuesday 13 April 2021 at 1:06
Cool. Lines 53-100, if it can be made to be generic, you should make into a POL function. That way you don't have all of that code in a single script, and it can be reused with just a single line. Here is an example:

https://www.playonlinux.com/en/app-1869-POL_Install_wineasio.html

Good work. Thanks for the help!

Edited by Yaotl

Dadu042 Wednesday 30 September 2020 at 20:26
Dadu042

Warning

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

Message

Wine 5.0.1 -> 5.0.2

Differences

@@ -19,7 +19,7 @@
 
 TITLE="Neverwinter Online"
 PREFIX="NeverwinterOnline"
-WINEVERSION="5.0.1"
+WINEVERSION="5.0.2"
 DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2020_04_15_16_50/Neverwinter.7z"
 MD5_CHECKSUM="4ae46e863c2092e8c6494fa2c04ebb25"
 

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-04-21)
# Last revision : see changelog
# Distribution used to test : Linux Mint 20 Cinnamon
# Game Version tested : NW.122.20200708b.4
# Author : Ronin Dusette
# Licence : GPLv3
# PlayOnLinux : 4.3.4
#
# Changelog:
# 2019-05-20 Dadu042: Add suppport for dual GPU. Upgrade wine 4.5-staging to 4.8. Add warning POL version required.
# 2020-02-10 Yaotl: Update Wine 4.0.1 > 4.0.3; Various script fixes.
# 2020-07-10 Yaotl: Update Wine 4.0.3 > 5.0.1; Small script updates.
# 2020-07-31 Yaotl: Enable UseGLSL & Enable OpenGL; Add set Mouse DirectInput


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

TITLE="Neverwinter Online"
PREFIX="NeverwinterOnline"
WINEVERSION="5.0.2"
DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2020_04_15_16_50/Neverwinter.7z"
MD5_CHECKSUM="4ae46e863c2092e8c6494fa2c04ebb25"

#Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 2505
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"

# Checks the required POL/POM version
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Launcher Download
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"

# Create Prefix
POL_System_SetArch "amd64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Dependencies
POL_Call POL_Install_corefonts

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}

POL_Wine_DirectInput "MouseWarpOverride" "force"
POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"

# Set Graphic Card informations keys for wine
POL_Call POL_Install_VideoDriver

# Installation
mkdir -p "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
7z e "$POL_System_TmpDir/Neverwinter.7z" -o"$WINEPREFIX/drive_c/Program Files/Neverwinter Online"

# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE" "" "" "Game;RolePlaying;"

# Game Configuration
cd $POL_System_TmpDir

POL_SetupWindow_menu "Select a language:" "$TITLE" "English|Deutsch|Français|Italiano|Russian|Polski|Türkçe|Portugués" "|"
if [ "$APP_ANSWER" = "English" ]; then
    lang="1033"
elif [ "$APP_ANSWER" = "Deutsch" ]; then
    lang="1031"
elif [ "$APP_ANSWER" = "Français" ]; then
    lang="1036"
elif [ "$APP_ANSWER" = "Italiano" ]; then
    lang="1040"
elif [ "$APP_ANSWER" = "Russian" ]; then
    lang="1049"
elif [ "$APP_ANSWER" = "Polski" ]; then
    lang="1045"
elif [ "$APP_ANSWER" = "Türkçe" ]; then
    lang="1055"
elif [ "$APP_ANSWER" = "Portugués" ]; then
    lang="1046"
fi

cat << EOF > "lang.reg"
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]
"DisableMicropatching"=dword:00000001
"InstallLanguage"="$lang"
"InstallLocation"="C:/Program Files/Neverwinter Online"
EOF

POL_Wine regedit "lang.reg"

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

Anonymous
Wednesday 17 March 2021 at 12:32
I'm experiencing problems with this app (Mac OS 11.2.3, AMD Radeon Pro 5300M 4 GB, Wine 5.0.2, PlayOnMac 4.4.2), this is the debug log: [03/17/21 12:28:34] - Running wine-5.0.2 Neverwinter.exe (Working directory : /Users/user/Library/PlayOnMac/wineprefix/NeverwinterOnline/drive_c/Program Files/Neverwinter Online) 000b:fixme:thread:create_user_shared_data_thread Creating user shared data update thread. 000d:fixme:thread:create_user_shared_data_thread Creating user shared data update thread. 0010:fixme:thread:create_user_shared_data_thread Creating user shared data update thread. 0017:fixme:thread:create_user_shared_data_thread Creating user shared data update thread. 001d:err:plugplay:process_IOService_Device object 0x4103 001d:err:plugplay:process_IOService_Device object 0x3f07 001d:err:plugplay:process_IOService_Device object 0xa807 001d:err:plugplay:process_IOService_Device object 0x5707 001d:err:plugplay:process_IOService_Device object 0xa607 001d:err:plugplay:process_IOService_Device object 0xa507 001d:err:plugplay:process_IOService_Device object 0x5c07 001d:err:plugplay:process_IOService_Device object 0xa007 001d:err:plugplay:process_IOService_Device object 0x9e07 001d:err:plugplay:process_IOService_Device object 0x5f07 001d:err:plugplay:process_IOService_Device object 0x9b07 001d:err:plugplay:process_IOService_Device object 0x6107 001d:err:plugplay:process_IOService_Device object 0x6407 001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x640b 001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x640f 001d:err:plugplay:process_IOService_Device object 0x970f 001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x9713 001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x9717 001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x971b 001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x971f 001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x9723 001d:err:plugplay:process_IOService_Device object 0x681b 001d:err:plugplay:process_IOService_Device object 0x9403 001d:err:plugplay:process_IOService_Device object 0x6903 001f:fixme:thread:create_user_shared_data_thread Creating user shared data update thread. 0025:fixme:thread:create_user_shared_data_thread Creating user shared data update thread. 2021-03-17 12:28:38 PROGRAM CRASH OCCURRED! 0009:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 06128F1C
Anonymous
Wednesday 17 March 2021 at 12:32
I'm experiencing problems with this app (Mac OS 11.2.3, AMD Radeon Pro 5300M 4 GB, Wine 5.0.2, PlayOnMac 4.4.2), this is the debug log:

[03/17/21 12:28:34] - Running wine-5.0.2 Neverwinter.exe (Working directory : /Users/user/Library/PlayOnMac/wineprefix/NeverwinterOnline/drive_c/Program Files/Neverwinter Online)
000b:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
000d:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
0010:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
0017:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
001d:err:plugplay:process_IOService_Device object 0x4103
001d:err:plugplay:process_IOService_Device object 0x3f07
001d:err:plugplay:process_IOService_Device object 0xa807
001d:err:plugplay:process_IOService_Device object 0x5707
001d:err:plugplay:process_IOService_Device object 0xa607
001d:err:plugplay:process_IOService_Device object 0xa507
001d:err:plugplay:process_IOService_Device object 0x5c07
001d:err:plugplay:process_IOService_Device object 0xa007
001d:err:plugplay:process_IOService_Device object 0x9e07
001d:err:plugplay:process_IOService_Device object 0x5f07
001d:err:plugplay:process_IOService_Device object 0x9b07
001d:err:plugplay:process_IOService_Device object 0x6107
001d:err:plugplay:process_IOService_Device object 0x6407
001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x640b
001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x640f
001d:err:plugplay:process_IOService_Device object 0x970f
001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x9713
001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x9717
001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x971b
001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x971f
001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x9723
001d:err:plugplay:process_IOService_Device object 0x681b
001d:err:plugplay:process_IOService_Device object 0x9403
001d:err:plugplay:process_IOService_Device object 0x6903
001f:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
0025:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
2021-03-17 12:28:38 PROGRAM CRASH OCCURRED!
0009:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 06128F1C
Yaotl Friday 31 July 2020 at 7:12
Yaotl Anonymous

Warning

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

Message

This makes it run more smoothly for me than on Windows 10.smiley

Differences

@@ -1,9 +1,9 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2015-04-21)
-# Last revision : (2020-07-10 18-25 CEST)
+# Last revision : see changelog
 # Distribution used to test : Linux Mint 20 Cinnamon
-# Game Version tested : NW.120.20200106a.23
-# Author : Ronin Dusette, Yaotl, Dadu042
+# Game Version tested : NW.122.20200708b.4
+# Author : Ronin Dusette
 # Licence : GPLv3
 # PlayOnLinux : 4.3.4
 #
@@ -11,6 +11,7 @@
 # 2019-05-20 Dadu042: Add suppport for dual GPU. Upgrade wine 4.5-staging to 4.8. Add warning POL version required.
 # 2020-02-10 Yaotl: Update Wine 4.0.1 > 4.0.3; Various script fixes.
 # 2020-07-10 Yaotl: Update Wine 4.0.3 > 5.0.1; Small script updates.
+# 2020-07-31 Yaotl: Enable UseGLSL & Enable OpenGL; Add set Mouse DirectInput
 
 
 [ "$PLAYONLINUX" = "" ] && exit 0
@@ -49,6 +50,10 @@
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS ${GAME_VMS}
 
+POL_Wine_DirectInput "MouseWarpOverride" "force"
+POL_Wine_Direct3D "UseGLSL" "enabled"
+POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
+
 # Set Graphic Card informations keys for wine
 POL_Call POL_Install_VideoDriver
 

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-04-21)
# Last revision : see changelog
# Distribution used to test : Linux Mint 20 Cinnamon
# Game Version tested : NW.122.20200708b.4
# Author : Ronin Dusette
# Licence : GPLv3
# PlayOnLinux : 4.3.4
#
# Changelog:
# 2019-05-20 Dadu042: Add suppport for dual GPU. Upgrade wine 4.5-staging to 4.8. Add warning POL version required.
# 2020-02-10 Yaotl: Update Wine 4.0.1 > 4.0.3; Various script fixes.
# 2020-07-10 Yaotl: Update Wine 4.0.3 > 5.0.1; Small script updates.
# 2020-07-31 Yaotl: Enable UseGLSL & Enable OpenGL; Add set Mouse DirectInput


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

TITLE="Neverwinter Online"
PREFIX="NeverwinterOnline"
WINEVERSION="5.0.1"
DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2020_04_15_16_50/Neverwinter.7z"
MD5_CHECKSUM="4ae46e863c2092e8c6494fa2c04ebb25"

#Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 2505
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"

# Checks the required POL/POM version
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Launcher Download
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"

# Create Prefix
POL_System_SetArch "amd64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Dependencies
POL_Call POL_Install_corefonts

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}

POL_Wine_DirectInput "MouseWarpOverride" "force"
POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"

# Set Graphic Card informations keys for wine
POL_Call POL_Install_VideoDriver

# Installation
mkdir -p "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
7z e "$POL_System_TmpDir/Neverwinter.7z" -o"$WINEPREFIX/drive_c/Program Files/Neverwinter Online"

# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE" "" "" "Game;RolePlaying;"

# Game Configuration
cd $POL_System_TmpDir

POL_SetupWindow_menu "Select a language:" "$TITLE" "English|Deutsch|Français|Italiano|Russian|Polski|Türkçe|Portugués" "|"
if [ "$APP_ANSWER" = "English" ]; then
    lang="1033"
elif [ "$APP_ANSWER" = "Deutsch" ]; then
    lang="1031"
elif [ "$APP_ANSWER" = "Français" ]; then
    lang="1036"
elif [ "$APP_ANSWER" = "Italiano" ]; then
    lang="1040"
elif [ "$APP_ANSWER" = "Russian" ]; then
    lang="1049"
elif [ "$APP_ANSWER" = "Polski" ]; then
    lang="1045"
elif [ "$APP_ANSWER" = "Türkçe" ]; then
    lang="1055"
elif [ "$APP_ANSWER" = "Portugués" ]; then
    lang="1046"
fi

cat << EOF > "lang.reg"
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]
"DisableMicropatching"=dword:00000001
"InstallLanguage"="$lang"
"InstallLocation"="C:/Program Files/Neverwinter Online"
EOF

POL_Wine regedit "lang.reg"

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

Friday 31 July 2020 at 12:20
Script approved.
Wednesday 30 September 2020 at 18:36
Like a bad penny I am back. I am assisting a friend who has the same Linux build but the GPU is Nvidia on his machine and uses propietary drivers and mine is Radeon and uses Xorg Mesa OpenGL. We are conversing online and the debug process is very slow... to say the least. What I know about his build, he is using snap for wine and has 3.0 4.0 and the latest 5.0.2. Here is where the weird starts... he can only run it under wine 3.0 and the other two versions are barking about the GPU. He got the old "WE DON'T SUPPORT YOUR NON COMPATABLE GRAPHICS" maybe not that exact message but I am sure you know the one. Should he run winetricks?
Wednesday 30 September 2020 at 18:55
No. Do not run Winetricks. We have a majority of the same functions and can provide the same libraries. We need the FULL debug output and computer specs, otherwise we are simply guessing. Make sure you the 32-bit libs/modules installed for your given graphics too. There is a chance that maybe the snap build of Wine is interfering with the WineBuild that we have. Basically, you need to have Wine installed in general, but when you run any of our scripts, it will download and install a specific version of wine and attach it to the WINEPREFIX for that installation. That is why you can have different versions of Wine on the same system; they essentially get sandboxed. It's actually a feature built into Wine itself, but we just provide the API and a nice interface to make it so you don't pull your hair out trying to config from the terminal. ;) But yeah, any time you post about an issue like this it is a REQUIREMENT as per das wiki that you post up those details. It really helps a lot. Please refer to the wiki for more info on how to post properly for help, and let's see what we can do.
Wednesday 30 September 2020 at 20:25
Note: I have just checked 'PlayOnMac compatible' (it was not, just 'testing').
Yaotl Friday 10 July 2020 at 21:39
Yaotl Anonymous

Warning

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

Differences

@@ -1,7 +1,7 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2015-04-21)
-# Last revision : (2020-02-10 20-45)
-# Distribution used to test : Linux Mint 19.3 Cinnamon - 64-bit
+# Last revision : (2020-07-10 18-25 CEST)
+# Distribution used to test : Linux Mint 20 Cinnamon
 # Game Version tested : NW.120.20200106a.23
 # Author : Ronin Dusette, Yaotl, Dadu042
 # Licence : GPLv3
@@ -10,19 +10,19 @@
 # Changelog:
 # 2019-05-20 Dadu042: Add suppport for dual GPU. Upgrade wine 4.5-staging to 4.8. Add warning POL version required.
 # 2020-02-10 Yaotl: Update Wine 4.0.1 > 4.0.3; Various script fixes.
+# 2020-07-10 Yaotl: Update Wine 4.0.3 > 5.0.1; Small script updates.
 
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
-PREFIX="NeverwinterOnline"
 TITLE="Neverwinter Online"
-WINEVERSION="4.0.3"
-DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2019_11_01_14_37/Neverwinter.exe"
-MD5_CHECKSUM="64786edb81fcb9cee4b42e3c20672fd5"
+PREFIX="NeverwinterOnline"
+WINEVERSION="5.0.1"
+DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2020_04_15_16_50/Neverwinter.7z"
+MD5_CHECKSUM="4ae46e863c2092e8c6494fa2c04ebb25"
 
 #Initialization
-#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2505
 POL_Debug_Init
@@ -33,6 +33,11 @@
 # Checks the required POL/POM version
 POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
+# Launcher Download
+POL_System_TmpCreate "$PREFIX"
+cd "$POL_System_TmpDir"
+POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
+
 # Create Prefix
 POL_System_SetArch "amd64"
 POL_Wine_SelectPrefix "$PREFIX"
@@ -40,8 +45,6 @@
 
 # Dependencies
 POL_Call POL_Install_corefonts
-POL_Call POL_Install_dinput8
-POL_Call POL_Install_xinput
 
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS ${GAME_VMS}
@@ -49,19 +52,14 @@
 # Set Graphic Card informations keys for wine
 POL_Call POL_Install_VideoDriver
 
-# Configuration
-Set_OS "win10"
-
 # Installation
 mkdir -p "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
-cd "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
-POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
+7z e "$POL_System_TmpDir/Neverwinter.7z" -o"$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
 
 # Create Shortcut
 POL_Shortcut "Neverwinter.exe" "$TITLE" "" "" "Game;RolePlaying;"
 
 # Game Configuration
-POL_System_TmpCreate "$PREFIX"
 cd $POL_System_TmpDir
 
 POL_SetupWindow_menu "Select a language:" "$TITLE" "English|Deutsch|Français|Italiano|Russian|Polski|Türkçe|Portugués" "|"
@@ -83,7 +81,7 @@
     lang="1046"
 fi
 
-cat << EOF > "lang.reg" 
+cat << EOF > "lang.reg"
 Windows Registry Editor Version 5.00
 
 [HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-04-21)
# Last revision : (2020-07-10 18-25 CEST)
# Distribution used to test : Linux Mint 20 Cinnamon
# Game Version tested : NW.120.20200106a.23
# Author : Ronin Dusette, Yaotl, Dadu042
# Licence : GPLv3
# PlayOnLinux : 4.3.4
#
# Changelog:
# 2019-05-20 Dadu042: Add suppport for dual GPU. Upgrade wine 4.5-staging to 4.8. Add warning POL version required.
# 2020-02-10 Yaotl: Update Wine 4.0.1 > 4.0.3; Various script fixes.
# 2020-07-10 Yaotl: Update Wine 4.0.3 > 5.0.1; Small script updates.


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

TITLE="Neverwinter Online"
PREFIX="NeverwinterOnline"
WINEVERSION="5.0.1"
DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2020_04_15_16_50/Neverwinter.7z"
MD5_CHECKSUM="4ae46e863c2092e8c6494fa2c04ebb25"

#Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 2505
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"

# Checks the required POL/POM version
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Launcher Download
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"

# Create Prefix
POL_System_SetArch "amd64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Dependencies
POL_Call POL_Install_corefonts

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}

# Set Graphic Card informations keys for wine
POL_Call POL_Install_VideoDriver

# Installation
mkdir -p "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
7z e "$POL_System_TmpDir/Neverwinter.7z" -o"$WINEPREFIX/drive_c/Program Files/Neverwinter Online"

# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE" "" "" "Game;RolePlaying;"

# Game Configuration
cd $POL_System_TmpDir

POL_SetupWindow_menu "Select a language:" "$TITLE" "English|Deutsch|Français|Italiano|Russian|Polski|Türkçe|Portugués" "|"
if [ "$APP_ANSWER" = "English" ]; then
    lang="1033"
elif [ "$APP_ANSWER" = "Deutsch" ]; then
    lang="1031"
elif [ "$APP_ANSWER" = "Français" ]; then
    lang="1036"
elif [ "$APP_ANSWER" = "Italiano" ]; then
    lang="1040"
elif [ "$APP_ANSWER" = "Russian" ]; then
    lang="1049"
elif [ "$APP_ANSWER" = "Polski" ]; then
    lang="1045"
elif [ "$APP_ANSWER" = "Türkçe" ]; then
    lang="1055"
elif [ "$APP_ANSWER" = "Portugués" ]; then
    lang="1046"
fi

cat << EOF > "lang.reg"
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]
"DisableMicropatching"=dword:00000001
"InstallLanguage"="$lang"
"InstallLocation"="C:/Program Files/Neverwinter Online"
EOF

POL_Wine regedit "lang.reg"

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

Friday 10 July 2020 at 22:17
Script approved :)
Yaotl Tuesday 11 February 2020 at 19:08
Yaotl Anonymous

Warning

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

Differences

@@ -1,27 +1,28 @@
-#!/bin/bash
+#!/usr/bin/env playonlinux-bash
 # Date : (2015-04-21)
-# Last revision : (2019-06-27 21-41)
-# Distribution used to test : Linux Mint 19.1 Cinnamon - 64-bit
-# Game Version tested : NW.110.20190519a.28
+# Last revision : (2020-02-10 20-45)
+# Distribution used to test : Linux Mint 19.3 Cinnamon - 64-bit
+# Game Version tested : NW.120.20200106a.23
 # Author : Ronin Dusette, Yaotl, Dadu042
 # Licence : GPLv3
 # PlayOnLinux : 4.3.4
 #
 # Changelog:
-# 2019-05-20 Dadu042: Add suppport for dual GPU. Upgrade wine 4.5-staging to 4.8. Add warning POL version required.
+# 2019-05-20 Dadu042: Add suppport for dual GPU. Upgrade wine 4.5-staging to 4.8. Add warning POL version required.
+# 2020-02-10 Yaotl: Update Wine 4.0.1 > 4.0.3; Various script fixes.
 
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+
 PREFIX="NeverwinterOnline"
-WINEVERSION="4.0.1"
 TITLE="Neverwinter Online"
-DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2019_05_03_13_48/Neverwinter.exe"
-MD5_CHECKSUM="56d9dc0c62c874699b3ad0afef99d98c"
- 
+WINEVERSION="4.0.3"
+DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2019_11_01_14_37/Neverwinter.exe"
+MD5_CHECKSUM="64786edb81fcb9cee4b42e3c20672fd5"
+
 #Initialization
-POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE"
+#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2505
 POL_Debug_Init
@@ -29,70 +30,72 @@
 # Presentation
 POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"
 
-# Because POL v4.2.12 only support Wine 4.0 maximum as of 2019-05-20.
+# Checks the required POL/POM version
 POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
 # Create Prefix
-POL_System_SetArch "x64"
+POL_System_SetArch "amd64"
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
- 
+
 # Dependencies
 POL_Call POL_Install_corefonts
-POL_Call POL_Install_d3dx9
-POL_Call POL_Install_d3dx10
-POL_Call POL_Install_d3dx11
-
-# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
-POL_Call POL_Install_VideoDriver
+POL_Call POL_Install_dinput8
+POL_Call POL_Install_xinput
 
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS ${GAME_VMS}
- 
+
+# Set Graphic Card informations keys for wine
+POL_Call POL_Install_VideoDriver
+
 # Configuration
 Set_OS "win10"
- 
+
 # Installation
-mkdir "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
+mkdir -p "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
 cd "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
 POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
- 
+
 # Create Shortcut
-POL_Shortcut "Neverwinter.exe" "$TITLE" "" "" "Game;AdventureGame;"
- 
+POL_Shortcut "Neverwinter.exe" "$TITLE" "" "" "Game;RolePlaying;"
+
 # Game Configuration
 POL_System_TmpCreate "$PREFIX"
 cd $POL_System_TmpDir
- 
+
 POL_SetupWindow_menu "Select a language:" "$TITLE" "English|Deutsch|Français|Italiano|Russian|Polski|Türkçe|Portugués" "|"
-if [ "$APP_ANSWER" = "English" ]
-    then lang="1033"
-elif [ "$APP_ANSWER" = "Deutsch" ]
-    then lang="1031"
-elif [ "$APP_ANSWER" = "Français" ]
-    then lang="1036"
-elif [ "$APP_ANSWER" = "Italiano" ]
-    then lang="1040"
-elif [ "$APP_ANSWER" = "Russian" ]
-    then lang="1049"
-elif [ "$APP_ANSWER" = "Polski" ]
-    then lang="1045"
-elif [ "$APP_ANSWER" = "Türkçe" ]
-    then lang="1055"
-elif [ "$APP_ANSWER" = "Portugués" ]
-    then lang="1046"
+if [ "$APP_ANSWER" = "English" ]; then
+    lang="1033"
+elif [ "$APP_ANSWER" = "Deutsch" ]; then
+    lang="1031"
+elif [ "$APP_ANSWER" = "Français" ]; then
+    lang="1036"
+elif [ "$APP_ANSWER" = "Italiano" ]; then
+    lang="1040"
+elif [ "$APP_ANSWER" = "Russian" ]; then
+    lang="1049"
+elif [ "$APP_ANSWER" = "Polski" ]; then
+    lang="1045"
+elif [ "$APP_ANSWER" = "Türkçe" ]; then
+    lang="1055"
+elif [ "$APP_ANSWER" = "Portugués" ]; then
+    lang="1046"
 fi
 
-echo 'Windows Registry Editor Version 5.00
+cat << EOF > "lang.reg" 
+Windows Registry Editor Version 5.00
 
 [HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]
-"InstallLanguage"="'$lang'"' > lang.reg
+"DisableMicropatching"=dword:00000001
+"InstallLanguage"="$lang"
+"InstallLocation"="C:/Program Files/Neverwinter Online"
+EOF
+
 POL_Wine regedit "lang.reg"
 
 # Cleanup
 POL_System_TmpDelete
-
 POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
- 
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-04-21)
# Last revision : (2020-02-10 20-45)
# Distribution used to test : Linux Mint 19.3 Cinnamon - 64-bit
# Game Version tested : NW.120.20200106a.23
# Author : Ronin Dusette, Yaotl, Dadu042
# Licence : GPLv3
# PlayOnLinux : 4.3.4
#
# Changelog:
# 2019-05-20 Dadu042: Add suppport for dual GPU. Upgrade wine 4.5-staging to 4.8. Add warning POL version required.
# 2020-02-10 Yaotl: Update Wine 4.0.1 > 4.0.3; Various script fixes.


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

PREFIX="NeverwinterOnline"
TITLE="Neverwinter Online"
WINEVERSION="4.0.3"
DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2019_11_01_14_37/Neverwinter.exe"
MD5_CHECKSUM="64786edb81fcb9cee4b42e3c20672fd5"

#Initialization
#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2505
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"

# Checks the required POL/POM version
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Create Prefix
POL_System_SetArch "amd64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Dependencies
POL_Call POL_Install_corefonts
POL_Call POL_Install_dinput8
POL_Call POL_Install_xinput

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}

# Set Graphic Card informations keys for wine
POL_Call POL_Install_VideoDriver

# Configuration
Set_OS "win10"

# Installation
mkdir -p "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
cd "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"

# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE" "" "" "Game;RolePlaying;"

# Game Configuration
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir

POL_SetupWindow_menu "Select a language:" "$TITLE" "English|Deutsch|Français|Italiano|Russian|Polski|Türkçe|Portugués" "|"
if [ "$APP_ANSWER" = "English" ]; then
    lang="1033"
elif [ "$APP_ANSWER" = "Deutsch" ]; then
    lang="1031"
elif [ "$APP_ANSWER" = "Français" ]; then
    lang="1036"
elif [ "$APP_ANSWER" = "Italiano" ]; then
    lang="1040"
elif [ "$APP_ANSWER" = "Russian" ]; then
    lang="1049"
elif [ "$APP_ANSWER" = "Polski" ]; then
    lang="1045"
elif [ "$APP_ANSWER" = "Türkçe" ]; then
    lang="1055"
elif [ "$APP_ANSWER" = "Portugués" ]; then
    lang="1046"
fi

cat << EOF > "lang.reg" 
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]
"DisableMicropatching"=dword:00000001
"InstallLanguage"="$lang"
"InstallLocation"="C:/Program Files/Neverwinter Online"
EOF

POL_Wine regedit "lang.reg"

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

Tuesday 11 February 2020 at 22:05
Script approved. Nice fixes.
Yaotl Thursday 27 June 2019 at 21:42
Yaotl Anonymous

Warning

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

Differences

@@ -1,9 +1,9 @@
 #!/bin/bash
 # Date : (2015-04-21)
-# Last revision : (2019-04-10 13-25)
+# Last revision : (2019-06-27 21-41)
 # Distribution used to test : Linux Mint 19.1 Cinnamon - 64-bit
-# Game Version tested: NW.105.20181121b.38
-# Author : Ronin Dusette, Yaolt, Dadu042
+# Game Version tested : NW.110.20190519a.28
+# Author : Ronin Dusette, Yaotl, Dadu042
 # Licence : GPLv3
 # PlayOnLinux : 4.3.4
 #
@@ -17,8 +17,8 @@
 PREFIX="NeverwinterOnline"
 WINEVERSION="4.0.1"
 TITLE="Neverwinter Online"
-DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2019_02_01_16_47/Neverwinter.exe"
-MD5_CHECKSUM="d071e2874dd430f6b645774a95a727de"
+DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2019_05_03_13_48/Neverwinter.exe"
+MD5_CHECKSUM="56d9dc0c62c874699b3ad0afef99d98c"
  
 #Initialization
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE"
@@ -32,16 +32,8 @@
 # Because POL v4.2.12 only support Wine 4.0 maximum as of 2019-05-20.
 POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
-POL_SetupWindow_menu "" "$TITLE" "64-bit installation|32-bit installation" "|"
-
-if [ "$APP_ANSWER" = "64-bit installation" ]
-    then SetArch="x64"
-elif [ "$APP_ANSWER" = "32-bit installation" ]
-    then SetArch="x86"
-fi
- 
 # Create Prefix
-POL_System_SetArch "$SetArch"
+POL_System_SetArch "x64"
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
  
@@ -66,7 +58,7 @@
 POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
  
 # Create Shortcut
-POL_Shortcut "Neverwinter.exe" "$TITLE" "Game;AdventureGame;"
+POL_Shortcut "Neverwinter.exe" "$TITLE" "" "" "Game;AdventureGame;"
  
 # Game Configuration
 POL_System_TmpCreate "$PREFIX"

New source code

#!/bin/bash
# Date : (2015-04-21)
# Last revision : (2019-06-27 21-41)
# Distribution used to test : Linux Mint 19.1 Cinnamon - 64-bit
# Game Version tested : NW.110.20190519a.28
# Author : Ronin Dusette, Yaotl, Dadu042
# Licence : GPLv3
# PlayOnLinux : 4.3.4
#
# Changelog:
# 2019-05-20 Dadu042: Add suppport for dual GPU. Upgrade wine 4.5-staging to 4.8. Add warning POL version required.


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="NeverwinterOnline"
WINEVERSION="4.0.1"
TITLE="Neverwinter Online"
DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2019_05_03_13_48/Neverwinter.exe"
MD5_CHECKSUM="56d9dc0c62c874699b3ad0afef99d98c"
 
#Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2505
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"

# Because POL v4.2.12 only support Wine 4.0 maximum as of 2019-05-20.
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Create Prefix
POL_System_SetArch "x64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
# Dependencies
POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dx10
POL_Call POL_Install_d3dx11

# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
POL_Call POL_Install_VideoDriver

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}
 
# Configuration
Set_OS "win10"
 
# Installation
mkdir "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
cd "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
 
# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE" "" "" "Game;AdventureGame;"
 
# Game Configuration
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
 
POL_SetupWindow_menu "Select a language:" "$TITLE" "English|Deutsch|Français|Italiano|Russian|Polski|Türkçe|Portugués" "|"
if [ "$APP_ANSWER" = "English" ]
    then lang="1033"
elif [ "$APP_ANSWER" = "Deutsch" ]
    then lang="1031"
elif [ "$APP_ANSWER" = "Français" ]
    then lang="1036"
elif [ "$APP_ANSWER" = "Italiano" ]
    then lang="1040"
elif [ "$APP_ANSWER" = "Russian" ]
    then lang="1049"
elif [ "$APP_ANSWER" = "Polski" ]
    then lang="1045"
elif [ "$APP_ANSWER" = "Türkçe" ]
    then lang="1055"
elif [ "$APP_ANSWER" = "Portugués" ]
    then lang="1046"
fi

echo 'Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]
"InstallLanguage"="'$lang'"' > lang.reg
POL_Wine regedit "lang.reg"

# Cleanup
POL_System_TmpDelete

POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
 
POL_SetupWindow_Close
exit 0

Replies

Wednesday 3 July 2019 at 9:48
Approved.
Sunday 14 July 2019 at 19:35
Mistake: POL_System_SetArch "x64" should be : POL_System_SetArch "amd64" (ref: http://wiki.playonlinux.com/index.php/Scripting_-_Chapter_11:_List_of_Functions ). I think your app script still run in 32bits.
Anonymous
Tuesday 29 October 2019 at 8:10
this code installed it for me but i am having problems running it it never launches the game can you please help
Anonymous
Tuesday 29 October 2019 at 13:05
it my graphics card that is no longer supported cause of directx
Anonymous
Tuesday 29 October 2019 at 14:17
Which operating system is used? Mac or Linux (lsb_release -a && uname -rm && lspci -nnk | grep -i VGA -A2 && playonlinux --version && wine --version)?
Tuesday 29 October 2019 at 18:12
It's really, really hard to help without your debug logs. Have you had a chance to read the wiki? It's required reading.
Tuesday 4 February 2020 at 16:26
Since January 21, 2020, new module 18 has been having issues with server disconnects on all OS. I am running Wine 4.0 and only disconnect from the chat server. Annoying? Yes, but other users have been offline for 2 weeks now. In short, don't assume any recent issues are with the Wine or Play on Linux. Currently, for the next 2 hours, they are patching the system.
Anonymous
Monday 13 April 2020 at 18:31
Hi Guys, I believe I'm having the same issue that Mr.Byte reported
I ran the script and It installed Neverwinter and some stuff, I honestly didn't pay attention to what.
My Hardware is a Mac Pro Retina Mid 15 (Macos version Mojave)
Core i7, 16GB ram, SSD, Intel Iris Pro 1536 MB(It concerns me)
Wine 4.0.3,
When I got the error for the first time, I tried to install components(d3dx10 and d3dx11), but it still remains.
Anonymous
Monday 13 April 2020 at 18:31
Hi Guys, I believe I'm having the same issue that Mr.Byte reported
I ran the script and It installed Neverwinter and some stuff, I honestly didn't pay attention to what.
My Hardware is a Mac Pro Retina Mid 15 (Macos version Mojave)
Core i7, 16GB ram, SSD, Intel Iris Pro 1536 MB(It concerns me)
Wine 4.0.3,
When I got the error for the first time, I tried to install components(d3dx10 and d3dx11), but it still remains.
Anonymous
Monday 13 April 2020 at 18:32
In this scenario, I erased the log file and ran a single time.
Anonymous
Monday 13 April 2020 at 18:35
[04/13/20 13:33:01] - Running wine-4.0.3 Neverwinter.exe (Working directory : /Users/franklinlisboa/Library/PlayOnMac/wineprefix/NeverwinterOnline/drive_c/Program Files/Neverwinter Online)
0009:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0009:fixme:ntdll:EtwEventRegister ({8d4925ab-505a-483b-a7e0-6f824a07a6f0}, 0x875799, 0x5f38ea0, 0x5f38eb0) stub.
0029:fixme:ver:GetCurrentPackageId (0x3fedfedc 0x0): stub

Setting default pigset mode...
done (0x00000000) (0.00)
0009:fixme:winsock:set_dont_fragment IP_DONTFRAGMENT for IPv4 not supported in this platform
0009:fixme:winsock:WS_getsockopt WS_SO_CONNECT_TIME - faking results

Connecting to patchserver.crypticstudios.com:7255
PatchClientLib: connecting to server "patchserver.crypticstudios.com" on port 7255
PatchClientLib: redirecting to server "208.95.186.109" on port 7255
PatchClientLib: skipping unneeded autoupdate CrypticLauncher3NW
PatchClientLib: successfully connected
AutopatchDialog thread shutting down

fileDataDir (0.00)

Loaded FolderCache (0.00)

UtilitiesLib_SetFileSystemIsInitted (0.00)
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33d260,0x00000000), stub!
0009:err:winediag:query_gpu_description Invalid GPU override 0000:0d26 specified, ignoring.
0009:fixme:dxgi:DXGID3D10CreateDevice Ignoring flags 0x1.
0009:fixme:winediag:wined3d_select_feature_level None of the requested D3D feature levels is supported on this GPU with the current shader backend.
0009:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33d7e0,0x00000000), stub!
0009:fixme:dxgi:DXGID3D10CreateDevice Ignoring flags 0x1.
0009:fixme:winediag:wined3d_select_feature_level None of the requested D3D feature levels is supported on this GPU with the current shader backend.
0009:fixme:iphlpapi:NotifyAddrChange (Handle 0x33c1f0, overlapped 0x7f272878): stub
0009:fixme:winsock:WSALookupServiceBeginW (0x33c2f0 0x00000ff0 0x33c338) Stub!
[0413/133305:ERROR:network_change_notifier_win.cc(143)] WSALookupServiceBegin failed with: 0
2020-04-13 13:33:05.873 wine64-preloader[94924:5796255] *** WARNING: Method convertPointToBase: in class NSView is deprecated on 10.7 and later. It should not be used in new applications.
2020-04-13 13:33:05.873 wine64-preloader[94924:5796255] *** WARNING: Method convertPointFromBase: in class NSView is deprecated on 10.7 and later. It should not be used in new applications.
[0413/133305:INFO:CONSOLE(0)] "Uncaught ReferenceError: LauncherAPI is not defined," source: about:blank(1)
0037:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0038:fixme:winsock:set_dont_fragment IP_DONTFRAGMENT for IPv6 not supported in this platform
0009:fixme:imm:ImmReleaseContext (0x3004e, 0x1fd8c0): stub
[0413/133447:INFO:CONSOLE(0)] "Select shard: 1," source: http://launcher.playneverwinter.com/static/all/js/api.js(158)
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33d140,0x00000000), stub!
0009:fixme:dxgi:DXGID3D10CreateDevice Ignoring flags 0x1.
0009:fixme:winediag:wined3d_select_feature_level None of the requested D3D feature levels is supported on this GPU with the current shader backend.
Anonymous
Monday 13 April 2020 at 18:38
This is the UI error message

Support for the Video Card you are using has ended.?You will be unable to play using this video card.
Pleas upgrade your video card to one that supports DirectX Hardware Feature Level 10.0 or Higher; See your video card manufacturer’s documentation for information DiretX Hardware Feature level support.
Anonymous
Thursday 23 April 2020 at 0:00
*Hello Darkness my old friend...*
Dadu042 Monday 20 May 2019 at 16:21
Dadu042

Warning

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

Message

Little updates. I think we should avoid to use Wine staging versions.

Why prodiving the choice of 32 or 64 bits ? are we sure this work fine in the 2 cases ?

Differences

@@ -66,7 +66,7 @@
 POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
  
 # Create Shortcut
-POL_Shortcut "Neverwinter.exe" "$TITLE"
+POL_Shortcut "Neverwinter.exe" "$TITLE" "Game;AdventureGame;"
  
 # Game Configuration
 POL_System_TmpCreate "$PREFIX"

New source code

#!/bin/bash
# Date : (2015-04-21)
# Last revision : (2019-04-10 13-25)
# Distribution used to test : Linux Mint 19.1 Cinnamon - 64-bit
# Game Version tested: NW.105.20181121b.38
# Author : Ronin Dusette, Yaolt, Dadu042
# Licence : GPLv3
# PlayOnLinux : 4.3.4
#
# Changelog:
# 2019-05-20 Dadu042: Add suppport for dual GPU. Upgrade wine 4.5-staging to 4.8. Add warning POL version required.


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="NeverwinterOnline"
WINEVERSION="4.0.1"
TITLE="Neverwinter Online"
DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2019_02_01_16_47/Neverwinter.exe"
MD5_CHECKSUM="d071e2874dd430f6b645774a95a727de"
 
#Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2505
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"

# Because POL v4.2.12 only support Wine 4.0 maximum as of 2019-05-20.
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_SetupWindow_menu "" "$TITLE" "64-bit installation|32-bit installation" "|"

if [ "$APP_ANSWER" = "64-bit installation" ]
    then SetArch="x64"
elif [ "$APP_ANSWER" = "32-bit installation" ]
    then SetArch="x86"
fi
 
# Create Prefix
POL_System_SetArch "$SetArch"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
# Dependencies
POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dx10
POL_Call POL_Install_d3dx11

# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
POL_Call POL_Install_VideoDriver

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}
 
# Configuration
Set_OS "win10"
 
# Installation
mkdir "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
cd "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
 
# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE" "Game;AdventureGame;"
 
# Game Configuration
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
 
POL_SetupWindow_menu "Select a language:" "$TITLE" "English|Deutsch|Français|Italiano|Russian|Polski|Türkçe|Portugués" "|"
if [ "$APP_ANSWER" = "English" ]
    then lang="1033"
elif [ "$APP_ANSWER" = "Deutsch" ]
    then lang="1031"
elif [ "$APP_ANSWER" = "Français" ]
    then lang="1036"
elif [ "$APP_ANSWER" = "Italiano" ]
    then lang="1040"
elif [ "$APP_ANSWER" = "Russian" ]
    then lang="1049"
elif [ "$APP_ANSWER" = "Polski" ]
    then lang="1045"
elif [ "$APP_ANSWER" = "Türkçe" ]
    then lang="1055"
elif [ "$APP_ANSWER" = "Portugués" ]
    then lang="1046"
fi

echo 'Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]
"InstallLanguage"="'$lang'"' > lang.reg
POL_Wine regedit "lang.reg"

# Cleanup
POL_System_TmpDelete

POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
 
POL_SetupWindow_Close
exit 0

Replies

Monday 10 June 2019 at 16:14
May 21st Cryptic announced they will no longer support 32 bit OS. "As of July 18th, 2019, Neverwinter will no longer support any 32-Bit Microsoft Windows Operating System."
https://www.arcgames.com/en/forums/neverwinter/#/discussion/1248785/32-bit-windows-os-support

Edited by Dadu042

Yaotl Monday 8 April 2019 at 15:02
Yaotl Anonymous

Warning

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

Message

Differences

@@ -1,25 +1,22 @@
 #!/bin/bash
 # Date : (2015-04-21)
-# Last revision : (2019-06-27 21-41)
+# Last revision : (2019-04-10 13-25)
 # Distribution used to test : Linux Mint 19.1 Cinnamon - 64-bit
-# Game Version tested : NW.110.20190519a.28
-# Author : Ronin Dusette, Yaotl, Dadu042
+# Game Version : NW.105.20181121b.38
+# Author : Ronin Dusette
 # Licence : GPLv3
 # PlayOnLinux : 4.3.4
-#
-# Changelog:
-# 2019-05-20 Dadu042: Add suppport for dual GPU. Upgrade wine 4.5-staging to 4.8. Add warning POL version required.
 
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+
 PREFIX="NeverwinterOnline"
-WINEVERSION="4.0.1"
+WINEVERSION="4.5-staging"
 TITLE="Neverwinter Online"
-DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2019_05_03_13_48/Neverwinter.exe"
-MD5_CHECKSUM="56d9dc0c62c874699b3ad0afef99d98c"
- 
+DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2019_02_01_16_47/Neverwinter.exe"
+MD5_CHECKSUM="d071e2874dd430f6b645774a95a727de"
+
 #Initialization
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE"
 POL_SetupWindow_Init
@@ -29,41 +26,42 @@
 # Presentation
 POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"
 
-# Because POL v4.2.12 only support Wine 4.0 maximum as of 2019-05-20.
-POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
+POL_SetupWindow_menu "" "$TITLE" "64-bit installation|32-bit installation" "|"
+if [ "$APP_ANSWER" = "64-bit installation" ]
+    then SetArch="x64"
+elif [ "$APP_ANSWER" = "32-bit installation" ]
+    then SetArch="x86"
+fi
 
 # Create Prefix
-POL_System_SetArch "x64"
+POL_System_SetArch "$SetArch"
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
- 
+
 # Dependencies
 POL_Call POL_Install_corefonts
 POL_Call POL_Install_d3dx9
 POL_Call POL_Install_d3dx10
 POL_Call POL_Install_d3dx11
 
-# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
-POL_Call POL_Install_VideoDriver
-
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS ${GAME_VMS}
- 
+
 # Configuration
 Set_OS "win10"
- 
+
 # Installation
 mkdir "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
 cd "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
 POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
- 
+
 # Create Shortcut
-POL_Shortcut "Neverwinter.exe" "$TITLE" "" "" "Game;AdventureGame;"
- 
+POL_Shortcut "Neverwinter.exe" "$TITLE"
+
 # Game Configuration
 POL_System_TmpCreate "$PREFIX"
 cd $POL_System_TmpDir
- 
+
 POL_SetupWindow_menu "Select a language:" "$TITLE" "English|Deutsch|Français|Italiano|Russian|Polski|Türkçe|Portugués" "|"
 if [ "$APP_ANSWER" = "English" ]
     then lang="1033"
@@ -93,6 +91,7 @@
 POL_System_TmpDelete
 
 POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
- 
+
 POL_SetupWindow_Close
+
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-04-21)
# Last revision : (2019-04-10 13-25)
# Distribution used to test : Linux Mint 19.1 Cinnamon - 64-bit
# Game Version : NW.105.20181121b.38
# Author : Ronin Dusette
# Licence : GPLv3
# PlayOnLinux : 4.3.4


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

PREFIX="NeverwinterOnline"
WINEVERSION="4.5-staging"
TITLE="Neverwinter Online"
DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2019_02_01_16_47/Neverwinter.exe"
MD5_CHECKSUM="d071e2874dd430f6b645774a95a727de"

#Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2505
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"

POL_SetupWindow_menu "" "$TITLE" "64-bit installation|32-bit installation" "|"
if [ "$APP_ANSWER" = "64-bit installation" ]
    then SetArch="x64"
elif [ "$APP_ANSWER" = "32-bit installation" ]
    then SetArch="x86"
fi

# Create Prefix
POL_System_SetArch "$SetArch"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Dependencies
POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dx10
POL_Call POL_Install_d3dx11

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}

# Configuration
Set_OS "win10"

# Installation
mkdir "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
cd "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"

# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE"

# Game Configuration
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir

POL_SetupWindow_menu "Select a language:" "$TITLE" "English|Deutsch|Français|Italiano|Russian|Polski|Türkçe|Portugués" "|"
if [ "$APP_ANSWER" = "English" ]
    then lang="1033"
elif [ "$APP_ANSWER" = "Deutsch" ]
    then lang="1031"
elif [ "$APP_ANSWER" = "Français" ]
    then lang="1036"
elif [ "$APP_ANSWER" = "Italiano" ]
    then lang="1040"
elif [ "$APP_ANSWER" = "Russian" ]
    then lang="1049"
elif [ "$APP_ANSWER" = "Polski" ]
    then lang="1045"
elif [ "$APP_ANSWER" = "Türkçe" ]
    then lang="1055"
elif [ "$APP_ANSWER" = "Portugués" ]
    then lang="1046"
fi

echo 'Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]
"InstallLanguage"="'$lang'"' > lang.reg
POL_Wine regedit "lang.reg"

# Cleanup
POL_System_TmpDelete

POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"

POL_SetupWindow_Close

exit 0

Replies

Anonymous
Friday 10 May 2019 at 4:13
This seemed to work for me with a fresh install of Never Winter Online on a MacBook Pro 15" Mid 2015 running OS X Mojave (10.14.4). Thanks for the update! :)
Saturday 18 May 2019 at 16:08
Yaotl, I approve your script. Please avoid to use staging Wine version. Note: Wine v4.1 would be better than 4.5 in my opinion (ie: reports to winehq.org).

Edited by Yaotl

Yaotl Monday 11 February 2019 at 5:35
Yaotl Anonymous

Warning

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

Differences

@@ -1,21 +1,21 @@
 #!/bin/bash
 # Date : (2018-06-14)
-# Distribution used to test : Linux Mint 19 Cinnamon 64-bit
-# Game Version : NW.105.20181022a.10
+# Distribution used to test : Linux Mint 19.1 Cinnamon 64-bit
+# Game Version : NW.105.20181121b.11
 # Author : Ronin Dusette
-# Update (2018-11-06) by: Yaotl
+# Update (2019-02-11) by: Yaotl
 # Licence : GPLv3
-# PlayOnLinux : 4.2.12
+# PlayOnLinux : 4.3.4
 
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 PREFIX="NeverwinterOnline"
-WINEVERSION="3.19"
+WINEVERSION="4.1"
 TITLE="Neverwinter Online"
-DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2018_10_01_17_58/Neverwinter.exe"
-MD5_CHECKSUM="e74b23798eb597ce3da68632113cf816"
+DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2019_02_01_16_47/Neverwinter.exe"
+MD5_CHECKSUM="d071e2874dd430f6b645774a95a727de"
 
 #Initialization
 POL_GetSetupImages "http://0815.bplaced.net/resources/setups/$PREFIX/top.ico" "" "$TITLE"
@@ -24,7 +24,7 @@
 POL_Debug_Init
 
 # Presentation
-POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/en/games/neverwinter" "RoninDusette" "$PREFIX"
+POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"
 
 POL_SetupWindow_menu "" "$TITLE" "64-bit installation|32-bit installation" "|"
 if [ "$APP_ANSWER" = "64-bit installation" ]
@@ -48,10 +48,10 @@
 POL_SetupWindow_VMS ${GAME_VMS}
 
 # Configuration
-Set_OS "win7"
+Set_OS "win10"
 
 # Installation
-POL_SetupWindow_menu "Select a language:" "$TITLE" "English|Deutsch|Français|Italiano|??????? ????|Polski|Türkçe|Portugués" "|"
+POL_SetupWindow_menu "Select a language:" "$TITLE" "English|Deutsch|Français|Italiano|Russian|Polski|Türkçe|Portugués" "|"
 if [ "$APP_ANSWER" = "English" ]
     then lang="1033"
 elif [ "$APP_ANSWER" = "Deutsch" ]
@@ -60,7 +60,7 @@
     then lang="1036"
 elif [ "$APP_ANSWER" = "Italiano" ]
     then lang="1040"
-elif [ "$APP_ANSWER" = "??????? ????" ]
+elif [ "$APP_ANSWER" = "Russian" ]
     then lang="1049"
 elif [ "$APP_ANSWER" = "Polski" ]
     then lang="1045"

New source code

#!/bin/bash
# Date : (2018-06-14)
# Distribution used to test : Linux Mint 19.1 Cinnamon 64-bit
# Game Version : NW.105.20181121b.11
# Author : Ronin Dusette
# Update (2019-02-11) by: Yaotl
# Licence : GPLv3
# PlayOnLinux : 4.3.4


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

PREFIX="NeverwinterOnline"
WINEVERSION="4.1"
TITLE="Neverwinter Online"
DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2019_02_01_16_47/Neverwinter.exe"
MD5_CHECKSUM="d071e2874dd430f6b645774a95a727de"

#Initialization
POL_GetSetupImages "http://0815.bplaced.net/resources/setups/$PREFIX/top.ico" "" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2505
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"

POL_SetupWindow_menu "" "$TITLE" "64-bit installation|32-bit installation" "|"
if [ "$APP_ANSWER" = "64-bit installation" ]
    then SetArch="x64"
elif [ "$APP_ANSWER" = "32-bit installation" ]
    then SetArch="x86"
fi

# Create Prefix
POL_System_SetArch "$SetArch"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Dependencies
POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dx10
POL_Call POL_Install_d3dx11

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}

# Configuration
Set_OS "win10"

# Installation
POL_SetupWindow_menu "Select a language:" "$TITLE" "English|Deutsch|Français|Italiano|Russian|Polski|Türkçe|Portugués" "|"
if [ "$APP_ANSWER" = "English" ]
    then lang="1033"
elif [ "$APP_ANSWER" = "Deutsch" ]
    then lang="1031"
elif [ "$APP_ANSWER" = "Français" ]
    then lang="1036"
elif [ "$APP_ANSWER" = "Italiano" ]
    then lang="1040"
elif [ "$APP_ANSWER" = "Russian" ]
    then lang="1049"
elif [ "$APP_ANSWER" = "Polski" ]
    then lang="1045"
elif [ "$APP_ANSWER" = "Türkçe" ]
    then lang="1055"
elif [ "$APP_ANSWER" = "Portugués" ]
    then lang="1046"
fi

POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir

echo 'Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]
"InstallLanguage"="'$lang'"' > lang.reg
POL_Wine regedit "lang.reg"

mkdir "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
cd "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"

# Cleanup
POL_System_TmpDelete

# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE"

POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"

POL_SetupWindow_Close

exit 0

Replies

Anonymous
Wednesday 27 February 2019 at 20:14
I'm able to run the game, but I get an odd graphical error that looks like green, black and yellow splotches overlaid on top of all the textures. Everything else works fine, just this issue with the textures.
Wednesday 27 February 2019 at 22:32
System specs and debug logs please. Likely the graphics card and/or driver.
Anonymous
Friday 1 March 2019 at 18:20
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Juniper XT [Radeon HD 6770]
    Subsystem: XFX Pine Group Inc. Juniper XT [Radeon HD 6770]
    Kernel driver in use: radeon
    Kernel modules: radeon

Intel(R) Core(TM)2 Quad  CPU   Q8200  @ 2.33GHz

The debug log is pretty long, so I'll put it here: https://pastebin.com/Zri9bz83
Monday 20 May 2019 at 18:40
Perhaps the issue is that this GPU has a low 3D support on Linux.  (Wine 4.1).
Yaotl Wednesday 23 January 2019 at 10:31
Yaotl Anonymous

Warning

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

Differences

@@ -1,21 +1,21 @@
 #!/bin/bash
 # Date : (2018-06-14)
-# Distribution used to test : Linux Mint 19 Cinnamon 64-bit
-# Game Version : NW.105.20181022a.10
+# Distribution used to test : Linux Mint 19.1 Cinnamon 64-bit
+# Game Version : NW.105.20181121b.11
 # Author : Ronin Dusette
-# Update (2018-11-06) by: Yaotl
+# Update (2019-01-23) by: Yaotl
 # Licence : GPLv3
-# PlayOnLinux : 4.2.12
+# PlayOnLinux : 4.3.4
 
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 PREFIX="NeverwinterOnline"
-WINEVERSION="3.19"
+#WINEVERSION="4.0-rc7"
 TITLE="Neverwinter Online"
-DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2018_10_01_17_58/Neverwinter.exe"
-MD5_CHECKSUM="e74b23798eb597ce3da68632113cf816"
+DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2018_12_21_17_06/Neverwinter.exe"
+MD5_CHECKSUM="b4ccf2087da42b9e46c4485b2605033d"
 
 #Initialization
 POL_GetSetupImages "http://0815.bplaced.net/resources/setups/$PREFIX/top.ico" "" "$TITLE"
@@ -24,7 +24,7 @@
 POL_Debug_Init
 
 # Presentation
-POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/en/games/neverwinter" "RoninDusette" "$PREFIX"
+POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"
 
 POL_SetupWindow_menu "" "$TITLE" "64-bit installation|32-bit installation" "|"
 if [ "$APP_ANSWER" = "64-bit installation" ]
@@ -33,6 +33,13 @@
     then SetArch="x86"
 fi
 
+POL_SetupWindow_menu "" "$TITLE" "Wine_3.19|Wine_4.0-rc7_non_PlayOnLinux/Mac_4.2.12_compatible" "|"
+if [ "$APP_ANSWER" = "Wine_3.19" ]
+    then WINEVERSION="3.19"
+elif [ "$APP_ANSWER" = "Wine_4.0-rc7_non_PlayOnLinux/Mac_4.2.12_compatible" ]
+    then WINEVERSION="4.0-rc7"
+fi
+
 # Create Prefix
 POL_System_SetArch "$SetArch"
 POL_Wine_SelectPrefix "$PREFIX"
@@ -48,10 +55,10 @@
 POL_SetupWindow_VMS ${GAME_VMS}
 
 # Configuration
-Set_OS "win7"
+Set_OS "win10"
 
 # Installation
-POL_SetupWindow_menu "Select a language:" "$TITLE" "English|Deutsch|Français|Italiano|??????? ????|Polski|Türkçe|Portugués" "|"
+POL_SetupWindow_menu "Select a language:" "$TITLE" "English|Deutsch|Français|Italiano|Russian|Polski|Türkçe|Portugués" "|"
 if [ "$APP_ANSWER" = "English" ]
     then lang="1033"
 elif [ "$APP_ANSWER" = "Deutsch" ]
@@ -60,7 +67,7 @@
     then lang="1036"
 elif [ "$APP_ANSWER" = "Italiano" ]
     then lang="1040"
-elif [ "$APP_ANSWER" = "??????? ????" ]
+elif [ "$APP_ANSWER" = "Russian" ] #elif [ "$APP_ANSWER" = "??????? ????" ]
     then lang="1049"
 elif [ "$APP_ANSWER" = "Polski" ]
     then lang="1045"

New source code

#!/bin/bash
# Date : (2018-06-14)
# Distribution used to test : Linux Mint 19.1 Cinnamon 64-bit
# Game Version : NW.105.20181121b.11
# Author : Ronin Dusette
# Update (2019-01-23) by: Yaotl
# Licence : GPLv3
# PlayOnLinux : 4.3.4


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

PREFIX="NeverwinterOnline"
#WINEVERSION="4.0-rc7"
TITLE="Neverwinter Online"
DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2018_12_21_17_06/Neverwinter.exe"
MD5_CHECKSUM="b4ccf2087da42b9e46c4485b2605033d"

#Initialization
POL_GetSetupImages "http://0815.bplaced.net/resources/setups/$PREFIX/top.ico" "" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2505
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/games/neverwinter" "RoninDusette" "$PREFIX"

POL_SetupWindow_menu "" "$TITLE" "64-bit installation|32-bit installation" "|"
if [ "$APP_ANSWER" = "64-bit installation" ]
    then SetArch="x64"
elif [ "$APP_ANSWER" = "32-bit installation" ]
    then SetArch="x86"
fi

POL_SetupWindow_menu "" "$TITLE" "Wine_3.19|Wine_4.0-rc7_non_PlayOnLinux/Mac_4.2.12_compatible" "|"
if [ "$APP_ANSWER" = "Wine_3.19" ]
    then WINEVERSION="3.19"
elif [ "$APP_ANSWER" = "Wine_4.0-rc7_non_PlayOnLinux/Mac_4.2.12_compatible" ]
    then WINEVERSION="4.0-rc7"
fi

# Create Prefix
POL_System_SetArch "$SetArch"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Dependencies
POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dx10
POL_Call POL_Install_d3dx11

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}

# Configuration
Set_OS "win10"

# Installation
POL_SetupWindow_menu "Select a language:" "$TITLE" "English|Deutsch|Français|Italiano|Russian|Polski|Türkçe|Portugués" "|"
if [ "$APP_ANSWER" = "English" ]
    then lang="1033"
elif [ "$APP_ANSWER" = "Deutsch" ]
    then lang="1031"
elif [ "$APP_ANSWER" = "Français" ]
    then lang="1036"
elif [ "$APP_ANSWER" = "Italiano" ]
    then lang="1040"
elif [ "$APP_ANSWER" = "Russian" ] #elif [ "$APP_ANSWER" = "??????? ????" ]
    then lang="1049"
elif [ "$APP_ANSWER" = "Polski" ]
    then lang="1045"
elif [ "$APP_ANSWER" = "Türkçe" ]
    then lang="1055"
elif [ "$APP_ANSWER" = "Portugués" ]
    then lang="1046"
fi

POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir

echo 'Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]
"InstallLanguage"="'$lang'"' > lang.reg
POL_Wine regedit "lang.reg"

mkdir "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
cd "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"

# Cleanup
POL_System_TmpDelete

# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE"

POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"

POL_SetupWindow_Close

exit 0

Replies

Anonymous
Wednesday 23 January 2019 at 22:10
What is the right wineversion ?
Sunday 26 January 2020 at 23:44
@Quentin, Currently I am using 4.0, it ran perfectly for mod 17. But there is a chat issue on mod 18. However this chat bug seems to only effect Wine users. I don't know if a higher version will be the "right" version. I have found that it greatly varies upon your hardware.
Yaotl Wednesday 7 November 2018 at 9:52
Yaotl Anonymous

Warning

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

Differences

@@ -1,9 +1,9 @@
 #!/bin/bash
 # Date : (2018-06-14)
-# Distribution used to test : Linux Mint 18.3 Cinnamon 64-bit
-# Game Version : NW.95.201880306e.24
+# Distribution used to test : Linux Mint 19 Cinnamon 64-bit
+# Game Version : NW.105.20181022a.10
 # Author : Ronin Dusette
-# Update (2018-06-14) by: Yaotl
+# Update (2018-11-06) by: Yaotl
 # Licence : GPLv3
 # PlayOnLinux : 4.2.12
 
@@ -12,64 +12,83 @@
 source "$PLAYONLINUX/lib/sources"
 
 PREFIX="NeverwinterOnline"
-WINEVERSION="3.10"
+WINEVERSION="3.19"
 TITLE="Neverwinter Online"
-EDITOR="Perfect World Entertainment Inc."
-GAME_URL="http://www.arcgames.com/en/games/neverwinter"
-AUTHOR="Ronin Dusette"
-SetupFileName="NeverwinterOnline-Setup.exe"
-DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/$SetupFileName"
-MD5_CHECKSUM="233912fa1ab9840e82d6dd66463b60c2"
+DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2018_10_01_17_58/Neverwinter.exe"
+MD5_CHECKSUM="e74b23798eb597ce3da68632113cf816"
 
 #Initialization
-POL_GetSetupImages "http://0815.bplaced.net/resources/setups/$PREFIX/top.ico" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE" # Original Images 404!
-
+POL_GetSetupImages "http://0815.bplaced.net/resources/setups/$PREFIX/top.ico" "" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2505
 POL_Debug_Init
 
 # Presentation
-POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/en/games/neverwinter" "RoninDusette" "$PREFIX"
+
+POL_SetupWindow_menu "" "$TITLE" "64-bit installation|32-bit installation" "|"
+if [ "$APP_ANSWER" = "64-bit installation" ]
+    then SetArch="x64"
+elif [ "$APP_ANSWER" = "32-bit installation" ]
+    then SetArch="x86"
+fi
 
 # Create Prefix
-POL_System_SetArch "x64"
+POL_System_SetArch "$SetArch"
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
 
 # Dependencies
 POL_Call POL_Install_corefonts
-POL_Call POL_Install_tahoma
 POL_Call POL_Install_d3dx9
 POL_Call POL_Install_d3dx10
 POL_Call POL_Install_d3dx11
-POL_Call POL_Install_msxml3
-POL_Call POL_Install_msvc100
-POL_Call POL_Install_vcrun2012
-POL_Call POL_Install_vcrun2013
-POL_Call POL_Install_physx
 
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS ${GAME_VMS}
 
 # Configuration
-Set_OS "win10"
+Set_OS "win7"
 
 # Installation
+POL_SetupWindow_menu "Select a language:" "$TITLE" "English|Deutsch|Français|Italiano|??????? ????|Polski|Türkçe|Portugués" "|"
+if [ "$APP_ANSWER" = "English" ]
+    then lang="1033"
+elif [ "$APP_ANSWER" = "Deutsch" ]
+    then lang="1031"
+elif [ "$APP_ANSWER" = "Français" ]
+    then lang="1036"
+elif [ "$APP_ANSWER" = "Italiano" ]
+    then lang="1040"
+elif [ "$APP_ANSWER" = "??????? ????" ]
+    then lang="1049"
+elif [ "$APP_ANSWER" = "Polski" ]
+    then lang="1045"
+elif [ "$APP_ANSWER" = "Türkçe" ]
+    then lang="1055"
+elif [ "$APP_ANSWER" = "Portugués" ]
+    then lang="1046"
+fi
+
 POL_System_TmpCreate "$PREFIX"
 cd $POL_System_TmpDir
-POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
 
-POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not run $TITLE or log in after installation. Close any open windows so that PlayOnLinux can finish the install. ')" "$TITLE"
+echo 'Windows Registry Editor Version 5.00
 
-POL_Wine "$SetupFileName"
-POL_Wine_WaitExit "$TITLE"
+[HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]
+"InstallLanguage"="'$lang'"' > lang.reg
+POL_Wine regedit "lang.reg"
 
-# Create Shortcut
-POL_Shortcut "Neverwinter.exe" "$TITLE"
+mkdir "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
+cd "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
+POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
 
 # Cleanup
 POL_System_TmpDelete
 
+# Create Shortcut
+POL_Shortcut "Neverwinter.exe" "$TITLE"
+
 POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
 
 POL_SetupWindow_Close

New source code

#!/bin/bash
# Date : (2018-06-14)
# Distribution used to test : Linux Mint 19 Cinnamon 64-bit
# Game Version : NW.105.20181022a.10
# Author : Ronin Dusette
# Update (2018-11-06) by: Yaotl
# Licence : GPLv3
# PlayOnLinux : 4.2.12


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

PREFIX="NeverwinterOnline"
WINEVERSION="3.19"
TITLE="Neverwinter Online"
DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/CL_2018_10_01_17_58/Neverwinter.exe"
MD5_CHECKSUM="e74b23798eb597ce3da68632113cf816"

#Initialization
POL_GetSetupImages "http://0815.bplaced.net/resources/setups/$PREFIX/top.ico" "" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2505
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Perfect World Entertainment Inc." "https://www.arcgames.com/en/games/neverwinter" "RoninDusette" "$PREFIX"

POL_SetupWindow_menu "" "$TITLE" "64-bit installation|32-bit installation" "|"
if [ "$APP_ANSWER" = "64-bit installation" ]
    then SetArch="x64"
elif [ "$APP_ANSWER" = "32-bit installation" ]
    then SetArch="x86"
fi

# Create Prefix
POL_System_SetArch "$SetArch"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Dependencies
POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dx10
POL_Call POL_Install_d3dx11

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}

# Configuration
Set_OS "win7"

# Installation
POL_SetupWindow_menu "Select a language:" "$TITLE" "English|Deutsch|Français|Italiano|??????? ????|Polski|Türkçe|Portugués" "|"
if [ "$APP_ANSWER" = "English" ]
    then lang="1033"
elif [ "$APP_ANSWER" = "Deutsch" ]
    then lang="1031"
elif [ "$APP_ANSWER" = "Français" ]
    then lang="1036"
elif [ "$APP_ANSWER" = "Italiano" ]
    then lang="1040"
elif [ "$APP_ANSWER" = "??????? ????" ]
    then lang="1049"
elif [ "$APP_ANSWER" = "Polski" ]
    then lang="1045"
elif [ "$APP_ANSWER" = "Türkçe" ]
    then lang="1055"
elif [ "$APP_ANSWER" = "Portugués" ]
    then lang="1046"
fi

POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir

echo 'Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Cryptic\Neverwinter]
"InstallLanguage"="'$lang'"' > lang.reg
POL_Wine regedit "lang.reg"

mkdir "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
cd "$WINEPREFIX/drive_c/Program Files/Neverwinter Online"
POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"

# Cleanup
POL_System_TmpDelete

# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE"

POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"

POL_SetupWindow_Close

exit 0

Replies

Anonymous
Monday 12 November 2018 at 5:01
Hi, I was able to run this successfully and download the game, but when i click play the launcher freezes. here are the last few lines in the log file:
ERROR: Failed to detect DirectX Feature Level

Line: c:\src\core\crypticlauncher\ui.c(670)

Details: HResult (error): 4294967292 FeatureLevel: 0.000000
Anonymous
Sunday 6 January 2019 at 10:58
While install - stuck on language select screen.Fix that running script local, hardcroded english language. When launcher started - choose my language in settings.

ERROR: Failed to detect DirectX Feature Level
Fix that changing wine version to 4.0-rc4

Mac OS High Sierra (10.13.6), iMac (21.5-inch, Late 2009), Nvidia 9400m 256mb
Yaotl Thursday 14 June 2018 at 8:30
Yaotl Anonymous

Warning

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

Message

Update to WINE 3.10, top icon and custom installer

Differences

@@ -1,39 +1,41 @@
 #!/bin/bash
-# Date : (2018-03-21)
-# Distribution used to test : Linux Mint 18.1 Cinnamon 64-bit
-# Graphics Card: NVIDIA GK106 [GeForce GTX 1050 Ti]; GLX Version: 4.5.0 NVIDIA 378.13
-# Game Version 7.20170206a.7
-# Author : RoninDusette
+# Date : (2018-06-14)
+# Distribution used to test : Linux Mint 18.3 Cinnamon 64-bit
+# Game Version : NW.95.201880306e.24
+# Author : Ronin Dusette
+# Update (2018-06-14) by: Yaotl
 # Licence : GPLv3
-# PlayOnLinux: 4.2.10
-  
-  
+# PlayOnLinux : 4.2.12
+
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-  
+
 PREFIX="NeverwinterOnline"
-WINEVERSION="3.4"
+WINEVERSION="3.10"
 TITLE="Neverwinter Online"
 EDITOR="Perfect World Entertainment Inc."
 GAME_URL="http://www.arcgames.com/en/games/neverwinter"
-AUTHOR="RoninDusette"
-DOWNLOAD_URL="http://einsofgaming.com/downloads/Neverwinter.exe"
-MD5_CHECKSUM="f1d3597232525b3bc463257471fddaec"
-  
+AUTHOR="Ronin Dusette"
+SetupFileName="NeverwinterOnline-Setup.exe"
+DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/$SetupFileName"
+MD5_CHECKSUM="233912fa1ab9840e82d6dd66463b60c2"
+
 #Initialization
-POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+POL_GetSetupImages "http://0815.bplaced.net/resources/setups/$PREFIX/top.ico" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE" # Original Images 404!
+
 POL_SetupWindow_Init
-  
+POL_SetupWindow_SetID 2505
 POL_Debug_Init
-  
+
 # Presentation
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-  
+
 # Create Prefix
 POL_System_SetArch "x64"
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
- 
+
 # Dependencies
 POL_Call POL_Install_corefonts
 POL_Call POL_Install_tahoma
@@ -45,33 +47,31 @@
 POL_Call POL_Install_vcrun2012
 POL_Call POL_Install_vcrun2013
 POL_Call POL_Install_physx
- 
- 
-  
+
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS ${GAME_VMS}
-  
+
 # Configuration
 Set_OS "win10"
-  
+
 # Installation
 POL_System_TmpCreate "$PREFIX"
 cd $POL_System_TmpDir
 POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
-  
+
 POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not run $TITLE or log in after installation. Close any open windows so that PlayOnLinux can finish the install. ')" "$TITLE"
-  
-POL_Wine "Neverwinter.exe"
+
+POL_Wine "$SetupFileName"
 POL_Wine_WaitExit "$TITLE"
-  
+
 # Create Shortcut
 POL_Shortcut "Neverwinter.exe" "$TITLE"
-  
+
 # Cleanup
 POL_System_TmpDelete
-  
+
 POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
-  
+
 POL_SetupWindow_Close
- 
+
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2018-06-14)
# Distribution used to test : Linux Mint 18.3 Cinnamon 64-bit
# Game Version : NW.95.201880306e.24
# Author : Ronin Dusette
# Update (2018-06-14) by: Yaotl
# Licence : GPLv3
# PlayOnLinux : 4.2.12


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

PREFIX="NeverwinterOnline"
WINEVERSION="3.10"
TITLE="Neverwinter Online"
EDITOR="Perfect World Entertainment Inc."
GAME_URL="http://www.arcgames.com/en/games/neverwinter"
AUTHOR="Ronin Dusette"
SetupFileName="NeverwinterOnline-Setup.exe"
DOWNLOAD_URL="http://0815.bplaced.net/resources/setups/$PREFIX/$SetupFileName"
MD5_CHECKSUM="233912fa1ab9840e82d6dd66463b60c2"

#Initialization
POL_GetSetupImages "http://0815.bplaced.net/resources/setups/$PREFIX/top.ico" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE" # Original Images 404!

POL_SetupWindow_Init
POL_SetupWindow_SetID 2505
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Create Prefix
POL_System_SetArch "x64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Dependencies
POL_Call POL_Install_corefonts
POL_Call POL_Install_tahoma
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dx10
POL_Call POL_Install_d3dx11
POL_Call POL_Install_msxml3
POL_Call POL_Install_msvc100
POL_Call POL_Install_vcrun2012
POL_Call POL_Install_vcrun2013
POL_Call POL_Install_physx

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}

# Configuration
Set_OS "win10"

# Installation
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"

POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not run $TITLE or log in after installation. Close any open windows so that PlayOnLinux can finish the install. ')" "$TITLE"

POL_Wine "$SetupFileName"
POL_Wine_WaitExit "$TITLE"

# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE"

# Cleanup
POL_System_TmpDelete

POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"

POL_SetupWindow_Close

exit 0

Replies

Sunday 22 July 2018 at 19:28
I approved the script, but please do not change the names of the original author's of the script. Especially if you aren't completely re-writing it, as I am still the author. Nonetheless, it's updated. I assume that you tested this to be properly working, right? That is one of the rules for getting a script approved.
Anonymous
Monday 23 July 2018 at 3:24
Seems to have the same problem as Star Trek Online in showing only hair, eyes, and teeth for the character
Monday 23 July 2018 at 4:27
What's type of graphics card and driver are you using? I believe that is an issue with Intel. I can actually try on my hackintosh tonight because I have an Nvidia card in it as well as intel graphics.
Anonymous
Thursday 26 July 2018 at 3:13
Intel Iris Pro 6200
Thursday 26 July 2018 at 7:17
Yeah. I thought that may be it. I noticed that pretty much anyone trying to run it on Intel graphics has that issue. I assume it's something caused by a newer version of directx that the intel chips don't support, but I just haven't had time lately to do any research.

Edited by RoninDusette

lolmer Wednesday 21 March 2018 at 21:13
lolmer Anonymous

Warning

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

Message

Testing update to WINE 3.4 + Windows 10.

Differences

@@ -1,5 +1,5 @@
 #!/bin/bash
-# Date : (2017-03-14)
+# Date : (2018-03-21)
 # Distribution used to test : Linux Mint 18.1 Cinnamon 64-bit
 # Graphics Card: NVIDIA GK106 [GeForce GTX 1050 Ti]; GLX Version: 4.5.0 NVIDIA 378.13
 # Game Version 7.20170206a.7
@@ -12,7 +12,7 @@
 source "$PLAYONLINUX/lib/sources"
   
 PREFIX="NeverwinterOnline"
-WINEVERSION="2.22"
+WINEVERSION="3.4"
 TITLE="Neverwinter Online"
 EDITOR="Perfect World Entertainment Inc."
 GAME_URL="http://www.arcgames.com/en/games/neverwinter"
@@ -52,7 +52,7 @@
 POL_SetupWindow_VMS ${GAME_VMS}
   
 # Configuration
-Set_OS "win7"
+Set_OS "win10"
   
 # Installation
 POL_System_TmpCreate "$PREFIX"

New source code

#!/bin/bash
# Date : (2018-03-21)
# Distribution used to test : Linux Mint 18.1 Cinnamon 64-bit
# Graphics Card: NVIDIA GK106 [GeForce GTX 1050 Ti]; GLX Version: 4.5.0 NVIDIA 378.13
# Game Version 7.20170206a.7
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.10
  
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
PREFIX="NeverwinterOnline"
WINEVERSION="3.4"
TITLE="Neverwinter Online"
EDITOR="Perfect World Entertainment Inc."
GAME_URL="http://www.arcgames.com/en/games/neverwinter"
AUTHOR="RoninDusette"
DOWNLOAD_URL="http://einsofgaming.com/downloads/Neverwinter.exe"
MD5_CHECKSUM="f1d3597232525b3bc463257471fddaec"
  
#Initialization
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_Debug_Init
  
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
  
# Create Prefix
POL_System_SetArch "x64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
# Dependencies
POL_Call POL_Install_corefonts
POL_Call POL_Install_tahoma
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dx10
POL_Call POL_Install_d3dx11
POL_Call POL_Install_msxml3
POL_Call POL_Install_msvc100
POL_Call POL_Install_vcrun2012
POL_Call POL_Install_vcrun2013
POL_Call POL_Install_physx
 
 
  
# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}
  
# Configuration
Set_OS "win10"
  
# Installation
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
  
POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not run $TITLE or log in after installation. Close any open windows so that PlayOnLinux can finish the install. ')" "$TITLE"
  
POL_Wine "Neverwinter.exe"
POL_Wine_WaitExit "$TITLE"
  
# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE"
  
# Cleanup
POL_System_TmpDelete
  
POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
  
POL_SetupWindow_Close
 
exit 0

Replies

Anonymous
Monday 2 April 2018 at 19:52
So I got it to load and all but I have missing textures.... Any ideas?
Haros Tuesday 20 March 2018 at 0:39
Haros Anonymous

Message

I also have a problem with the installation.

I get a "please wait while Neverwinter Online is installed" and the game's login screen pops up. No matter how much I wait the installation doesn't finish.

If I close the game's screen the installation breaks and I get:

"Error in POL_Shortcut
Binary not found: Neverwinter.exe
Have you installed the program to the default location?"

I've also openned a thread withe the logs in the Forum.

Replies

Anonymous
Sunday 22 July 2018 at 8:29
Same problem, I think I found a workaround.

POL, or the install binary was installing in a temp directory and erasing itself. I couldn't find any details on why it would do that, but the POL directory that was made was still there.

I dropped an install binary into that directory from http://einsofgaming.com/downloads/Neverwinter.exe . Then I got to some config screen on POL that would run an executable in that directory. The game installed, but it put the game in the same directory as the installer (root of the virtual c:). I did a little searching and found the game binary and made a link in POL.

I am testing it now...
Anonymous
Sunday 22 July 2018 at 23:01
Okay, my method allows me to play, but the moment I shut it down, the downloaded game data disappears.

Well, it works... sort of.
Demenchylde Monday 19 February 2018 at 6:14
Demenchylde

Message

I see there is still life here for this game but for the life of me I can't get it to install. Admittedly I am new to Linux much less POL. The POL installer hangs when trying to download. I have tried to use the links provided on this thread but they tell me I need to open the link using POL. Alas I have not found that option in amy of the menus either. Could the address be part of the issue? 

 

playonlinux://www.playonlinux.com/repository/download.php?id=2505

 

Please help, and thank you for your time. This is the last thing holding me hostageto the dreaded Winedoze.

Replies

Monday 19 February 2018 at 13:32
The Foundry Authors host the non-arc setup file on Facebook. There is no need to join the group only a Facebook account is required: https://www.facebook.com/groups/CrypticFoundry/files/
Monday 19 February 2018 at 16:37
The script automatically grabs those files. Without your debug logs we have no idea what happened. Please read the wiki for info on what to post so we have that information to troubleshoot.
Monday 19 February 2018 at 20:41
I'll take a look and if I have any troubles I'll grab the log. Thanks!
DroidXE Friday 12 January 2018 at 14:53
DroidXE Anonymous

Message

With Wine 3.0 RC5 the rendering issues are gone. Couldn't find problems so far.

mfg

Replies

Anonymous
Friday 12 January 2018 at 20:41
no more issues either for me
Friday 12 January 2018 at 20:52
Ok. I'll make that change. Thanks for the feedback.
Monday 15 January 2018 at 5:33
Unfortunately I cannot say the same. My husband is working on this and we still have invisible costumes, mounts and structures. Also with 3.0-rc5 we have big black boxes rotating around the campfires. Game is visually unplayable on my end.
Anonymous
Saturday 20 January 2018 at 12:10
Are you sure POL has downloaded last rc and runs it ?
Sunday 21 January 2018 at 0:43
Apparently my husband has figured this much out (working from the WineHQ end of it) The 32 bit WINE 3.0 stable works only in 64 bit Linux OS, while the same WINE build on the same machine fails to render all the images. Both have black or red boxes rotating at the fire pits. At this point it is his opinion you are all operating this on 64 bit OS. If anyone here is testing for 32 bit OS with better results, we would like to know. We can never expect people just to toss out their functional 32 bit machines over night.
Sunday 21 January 2018 at 1:01
Maybe helps when with Wine 3.0 Stable graphic isseu Test Wine 3.0-rc6 you can it add in playonlinux tab tools mange wine
Anonymous
Monday 22 January 2018 at 0:06
uh I run a 32bit arch...
Anonymous
Monday 22 January 2018 at 0:10
oh sorry I misunderstood...
My Linux is a 64bits but I run the Wine rc06 in 32 bits...
Maybe you should try same architecture for wine :)
Tuesday 23 January 2018 at 0:47
@pilak you can also test Wine Stagging 2.12 ist 64bits
Tuesday 23 January 2018 at 6:38
To clarify this; my husband has it working on a 64 bit linux machine using 32 bit WINE 3.0. The 32 bit machine with 32 bit linux OS is the issue. So people stuck with 32 bit OS are just out of luck at present. We are looking at possible hardware as well. However my husband created a dualboot Linux on a 64 bit machine and when in the 32 bit OS it looks like mine as well. So this eliminated the hardware. He assumes the developers are working in 64 bit OS and not seeing the issue.
Anonymous
Thursday 1 February 2018 at 18:22
I have dl-ed and installed the game this afternoon before I had to go to work. But there was maintenance going on so I haven't been able yet to try it out (at work at the moment). My question is, since the 3.xx version of Wine doesn't seem to have a staging version yet, will it still work? I am using Wine 3.0-rc06 now. I probably will answer my own question, cuz chances are that I can test it out sooner than someone giving an answer before my shift is over. :)
Anonymous
Thursday 1 February 2018 at 18:22
I have dl-ed and installed the game this afternoon before I had to go to work. But there was maintenance going on so I haven't been able yet to try it out (at work at the moment). My question is, since the 3.xx version of Wine doesn't seem to have a staging version yet, will it still work? I am using Wine 3.0-rc06 now. I probably will answer my own question, cuz chances are that I can test it out sooner than someone giving an answer before my shift is over. :)
Anonymous
Thursday 1 February 2018 at 18:22
I have dl-ed and installed the game this afternoon before I had to go to work. But there was maintenance going on so I haven't been able yet to try it out (at work at the moment). My question is, since the 3.xx version of Wine doesn't seem to have a staging version yet, will it still work? I am using Wine 3.0-rc06 now. I probably will answer my own question, cuz chances are that I can test it out sooner than someone giving an answer before my shift is over. :)
Anonymous
Thursday 1 February 2018 at 18:22
I have dl-ed and installed the game this afternoon before I had to go to work. But there was maintenance going on so I haven't been able yet to try it out (at work at the moment). My question is, since the 3.xx version of Wine doesn't seem to have a staging version yet, will it still work? I am using Wine 3.0-rc06 now. I probably will answer my own question, cuz chances are that I can test it out sooner than someone giving an answer before my shift is over. :)
Anonymous
Thursday 1 February 2018 at 18:22
I have dl-ed and installed the game this afternoon before I had to go to work. But there was maintenance going on so I haven't been able yet to try it out (at work at the moment). My question is, since the 3.xx version of Wine doesn't seem to have a staging version yet, will it still work? I am using Wine 3.0-rc06 now. I probably will answer my own question, cuz chances are that I can test it out sooner than someone giving an answer before my shift is over. :)
Anonymous
Thursday 1 February 2018 at 18:22
I have dl-ed and installed the game this afternoon before I had to go to work. But there was maintenance going on so I haven't been able yet to try it out (at work at the moment). My question is, since the 3.xx version of Wine doesn't seem to have a staging version yet, will it still work? I am using Wine 3.0-rc06 now. I probably will answer my own question, cuz chances are that I can test it out sooner than someone giving an answer before my shift is over. :)
Anonymous
Thursday 1 February 2018 at 18:22
I have dl-ed and installed the game this afternoon before I had to go to work. But there was maintenance going on so I haven't been able yet to try it out (at work at the moment). My question is, since the 3.xx version of Wine doesn't seem to have a staging version yet, will it still work? I am using Wine 3.0-rc06 now. I probably will answer my own question, cuz chances are that I can test it out sooner than someone giving an answer before my shift is over. :)
Anonymous
Thursday 1 February 2018 at 18:24
Oops, sorry for the septruble (is that how you say it?) post, but it took quite long before the comment went through and I thought it wasn't working. :P
Anonymous
Thursday 1 February 2018 at 20:07
It seems with the new stable Wine 3.0 release a staging candidate is no longer required for extra DX10 or DX11 functionality
Wine 3.0 Released

January 18, 2018

The Wine team is proud to announce that the stable release Wine 3.0 is now available.

This release represents a year of development effort and over 6,000 individual changes. It contains a large number of improvements that are listed in the release notes. The main highlights are:

Direct3D 10 and 11 support.
The Direct3D command stream.
The Android graphics driver.
Improved DirectWrite and Direct2D support.
Once again, because of the annual release schedule, a number of features that are being worked on have been deferred to the next development cycle. This includes in particular Direct3D 12 and Vulkan support, as well as OpenGL ES support to enable Direct3D on Android.

Ronin DUSETTE Saturday 6 January 2018 at 17:49
Ronin DUSETTE

Warning

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

Differences

@@ -12,7 +12,7 @@
 source "$PLAYONLINUX/lib/sources"
   
 PREFIX="NeverwinterOnline"
-WINEVERSION="2.3-staging"
+WINEVERSION="2.22"
 TITLE="Neverwinter Online"
 EDITOR="Perfect World Entertainment Inc."
 GAME_URL="http://www.arcgames.com/en/games/neverwinter"

New source code

#!/bin/bash
# Date : (2017-03-14)
# Distribution used to test : Linux Mint 18.1 Cinnamon 64-bit
# Graphics Card: NVIDIA GK106 [GeForce GTX 1050 Ti]; GLX Version: 4.5.0 NVIDIA 378.13
# Game Version 7.20170206a.7
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.10
  
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
PREFIX="NeverwinterOnline"
WINEVERSION="2.22"
TITLE="Neverwinter Online"
EDITOR="Perfect World Entertainment Inc."
GAME_URL="http://www.arcgames.com/en/games/neverwinter"
AUTHOR="RoninDusette"
DOWNLOAD_URL="http://einsofgaming.com/downloads/Neverwinter.exe"
MD5_CHECKSUM="f1d3597232525b3bc463257471fddaec"
  
#Initialization
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_Debug_Init
  
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
  
# Create Prefix
POL_System_SetArch "x64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
# Dependencies
POL_Call POL_Install_corefonts
POL_Call POL_Install_tahoma
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dx10
POL_Call POL_Install_d3dx11
POL_Call POL_Install_msxml3
POL_Call POL_Install_msvc100
POL_Call POL_Install_vcrun2012
POL_Call POL_Install_vcrun2013
POL_Call POL_Install_physx
 
 
  
# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}
  
# Configuration
Set_OS "win7"
  
# Installation
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
  
POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not run $TITLE or log in after installation. Close any open windows so that PlayOnLinux can finish the install. ')" "$TITLE"
  
POL_Wine "Neverwinter.exe"
POL_Wine_WaitExit "$TITLE"
  
# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE"
  
# Cleanup
POL_System_TmpDelete
  
POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
  
POL_SetupWindow_Close
 
exit 0

Replies

Edited by RoninDusette

pilak Saturday 6 January 2018 at 15:50
pilak Anonymous

Message

Hi,

I rewrite my last comment response here adding some precisions :

I followed this procedure below :

http://www.gamersonlinux.com/forum/threads/neverwinter-free-mmo-guide.170/

adding vcrun2005, vcrun2008, vcrun2010 , vcsrun2012 and vcsrun2013 with no idea of what it's doing, but also d3dx9, d3dx10 and d3dx11, and Physx

Also choose wine 2,22 and had an error when selecting program neverwinter_setup.exe (which I replaced with the executable of that link : http://einsofgaming.com/nw/downloads).

Meanwhile, you just need to place that executable in the wineprefix (for instance Program Files/Cryptic Studio/) and at next step of the installation wizard, select the shortcut of that executable you just pasted, and finish the installation wizard.

Don't forget to configure GC memory just before you launch the game, in POL interface

It just works fine currently : actually not, there are still graphical poblems but the game is playable, well installed and it patches correctly.

Hope it would help.

Best regards,

Replies

Saturday 6 January 2018 at 17:34
Ok. I will update the script. I doubt anything else is needed besides updating the client. Just waking up, but I will update the script shortly. Also, when having issues, it's useful to follow the wiki and post computer specs, distro, debug log, etc, otherwise it's all just guessing and it takes longer to get things fixed. That's not the case here, be sure to check it out.
Saturday 6 January 2018 at 17:50
OK. Delete or move the current virtual drive and give it a shot using POL's installer. I just updated the script with the file you gave me, as well as changed the md5 and went over the deps for it, and it should be working now.
Saturday 6 January 2018 at 18:04
Yeah. It's working now. I haven't waited for the game to download, so if you run into issues then, let me know. So far it's working fine and was downloading the client from the login screen. Thanks for your help. Enjoy the game! :)
Anonymous
Friday 12 January 2018 at 20:39
And it works better with wine 3.0-rc5 ;)
pilak Monday 1 January 2018 at 17:13
pilak Anonymous

Message

The neverwinter_setup.exe is no more available...

I've tried with that file and it seems ok http://einsofgaming.com/nw/downloads

Maybe it's possible to supply the file directly in POL ? 

Replies

Anonymous
Monday 1 January 2018 at 22:48
Actually it's not working at all...
Anonymous
Monday 1 January 2018 at 22:50
The game launcher start well but when patching, it always copy files into tmp folder of POL... so when POL is shutdown we need to download again the 11Gb data.. :/
Anonymous
Monday 1 January 2018 at 22:51
Currently I 've never get to play the game ;.. sry
Tuesday 2 January 2018 at 13:19
No. We can't serve the file directly. Something has changed on their end. I will check it out tomorrow and I'll see we I can do to remedy this situation.
Anonymous
Wednesday 3 January 2018 at 20:45
ok thank you Ronin
Anonymous
Wednesday 3 January 2018 at 20:48
I also tried with -USEALLAVAILABLECORES -sm4 -force-d3d10
And it worked... but with bad graphics
I still need to recopy patch files to the tmp folder of POL
I proceed like this : I have saved the content of the NeverwinterOnline folder in tmp, and each time I restart POL, before starting N.Online I recopy this content in /tmp/NeverwinterOnline/...
Thank you very much
Anonymous
Saturday 6 January 2018 at 15:04
I followed this procedure adding vcsrun2010 , vcsrun2012 and vcsrun2013 with no idea of what it means.
Also choose wine 2.22 and had an error when selecting program neverwinter_setup.exe (which I replaced with the one of link I gave in comment above). Meanwhile, you just need to place it in the wineprefix (for instance Program Files/Cryptic Studio/) and at next step, select the shortcut of the executable you just pasted... configure GC memory just before you launch the game... thats it :)

It just works fine currently.
Anonymous
Saturday 6 January 2018 at 15:05
The procedure I'm talking about is :
http://www.gamersonlinux.com/forum/threads/neverwinter-free-mmo-guide.170/

... just forgot to paste it sorry :)
Monday 15 January 2018 at 5:38
The non Arc Game setup can be found on the Facebook Group "Cryptic Foundry Authors" in their files area. www.facebook.com/groups/CrypticFoundry you only need a Facebook account, as the group is public.
Wendy Black Wednesday 9 August 2017 at 8:47
Wendy Black

Message

This program will do the following. It will install 20GB of game data. It opens the launcher and tells you XP is no longer supported.  So you switch your WINE to Windows 7 and run it again. It will tell you that you graphics card is out dated.  You tweak the registry files and get online and it will CRASH...

[0808/152919:INFO:CONSOLE(0)] "Select shard: 1," source: http://launcher.playneverwinter.com/static/all/js/api.js(117)
[0808/191858:ERROR:network_change_notifier_win.cc(143)] WSALookupServiceBegin failed with: 0
[0808/191914:INFO:CONSOLE(0)] "Select shard: 1," source: http://launcher.playneverwinter.com/static/all/js/api.js(117)
[0808/232034:ERROR:network_change_notifier_win.cc(143)] WSALookupServiceBegin failed with: 0

This program works on my HP laptop with Windows 10 and no fancy graphics adapter. But we tested on a Linux box 4GB RAM, 1 GB Video Radeon HD 5000 series iCore3 CPU @3.1 Ghz and no luck. We tried both 32 and 64 bit arch and still no good.

The program ran on a Windows 7 Machine only 2 GB of RAM, Duo 2.1 Ghz CPU and mobo GPU.  

The webpage still says these system requirements:

Operating System Windows® Vista, 7, 8 or 10 CPU
Core 2 Duo 2.8Ghz (or equivalent AMD CPU)
RAM 2GB
Hard Disk 23GB Free HD Space
Graphic Display NVidia GeForce 8000, ATI/AMD Radeon HD 2000, Intel G965M Express, Intel HD Graphics 2000 or better (Supports Direct3D Hardware Feature Level 10 or higher)
Sound Drivers DirectX 10 Compatible Soundcard
Network Broadband Internet Connection Required

Out of all the machines tested on our BB network the game lagged badly. The network tested at 60 up and 7 down. The game was giving poor frame rates most under 20 FPS.

Replies

Anonymous
Monday 21 August 2017 at 17:58
Funny thing is, it used to run perfectly through POL and Wine when it first was released. I still have screenshots of that. We are talking 5 or 6 years ago. I dunno what they changed so much it won't run through Wine (or POL) anymore :-/
Saturday 23 September 2017 at 17:00
Back in January of this year, Cryptic went Win 7 or higher NO XP, and DX 11. They only did this on Star Trek Online and Neverwinter Online. The old Champions Online is still allowing XP and DX 9. We got the game somewhat functional with Wine version 2.15 but it looks real sad. There are costume pieces and objects with see though textures. My horse is invisible and so are my feet.
Wasper Friday 23 June 2017 at 9:16
Wasper Anonymous

Message

During installation, after PhysX install, there is a window about "Do not run Neverwinter online or log in after installation.. etc". Then I have an error. I think its about installer.. but question is how to download installer, what is correct url now? And what then?

Replies

koniuszko Thursday 22 June 2017 at 13:25
koniuszko Anonymous

Message

Any news is Neverwinter will work on Playonlinux ?

Replies

Saturday 23 September 2017 at 17:05
Yes. But the graphics look horrible now. Try using wine version 2.15 That seems to be working on all the rigs we tested.
ericjbohm Saturday 10 June 2017 at 17:15
ericjbohm Anonymous

Message

I tried  this update and it failed here.

 

06/10/17 10:14:20 - [POL_Wine] Message: Running wine-2.3-staging neverwinter_setup.exe (Working directory : /home/bohm/.PlayOnLinux/tmp/NeverwinterOnline)
fixme:winediag:start_process Wine Staging 2.3 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
wine: Bad EXE format for Z:\home\bohm\.PlayOnLinux\tmp\NeverwinterOnline\neverwinter_setup.exe.

Replies

Anonymous
Wednesday 21 June 2017 at 21:45
I have the same error. Also try to install with wine and steam but no success.
Anonymous
Friday 23 June 2017 at 13:55
Yup, that's what I stated as well on Sunday 28 May 2017 at 12:49
Ronin DUSETTE Sunday 28 May 2017 at 16:14
Ronin DUSETTE

Warning

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

Differences

@@ -29,7 +29,7 @@
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
   
 # Create Prefix
-POL_System_SetArch "x86"
+POL_System_SetArch "x64"
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
  

New source code

#!/bin/bash
# Date : (2017-03-14)
# Distribution used to test : Linux Mint 18.1 Cinnamon 64-bit
# Graphics Card: NVIDIA GK106 [GeForce GTX 1050 Ti]; GLX Version: 4.5.0 NVIDIA 378.13
# Game Version 7.20170206a.7
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.10
  
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
PREFIX="NeverwinterOnline"
WINEVERSION="2.3-staging"
TITLE="Neverwinter Online"
EDITOR="Perfect World Entertainment Inc."
GAME_URL="http://www.arcgames.com/en/games/neverwinter"
AUTHOR="RoninDusette"
DOWNLOAD_URL="http://download.perfectworld.com/nw/neverwinter_setup.exe"
  
#Initialization
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_Debug_Init
  
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
  
# Create Prefix
POL_System_SetArch "x64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
# Dependencies
POL_Call POL_Install_corefonts
POL_Call POL_Install_tahoma
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dx10
POL_Call POL_Install_d3dx11
POL_Call POL_Install_msxml3
POL_Call POL_Install_msvc100
POL_Call POL_Install_vcrun2012
POL_Call POL_Install_vcrun2013
POL_Call POL_Install_physx
 
 
  
# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}
  
# Configuration
Set_OS "win7"
  
# Installation
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
POL_Download "$DOWNLOAD_URL" "d41d8cd98f00b204e9800998ecf8427e"
  
POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not run $TITLE or log in after installation. Close any open windows so that PlayOnLinux can finish the install. ')" "$TITLE"
  
POL_Wine "neverwinter_setup.exe"
POL_Wine_WaitExit "$TITLE"
  
# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE"
  
# Cleanup
POL_System_TmpDelete
  
POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
  
POL_SetupWindow_Close
 
exit 0

Replies

Sunday 28 May 2017 at 16:14
Updated md5 for download of installer.
Sunday 28 May 2017 at 16:14
Updated md5 for download of installer.
Sunday 28 May 2017 at 16:51
Changed arch to 32 bit.

Edited by RoninDusette

Metalfyre Sunday 28 May 2017 at 12:49
Metalfyre Anonymous

Message

I tried this, but I got the same message as someone has posted before, and I quote:

"http://download.perfectworld.com/nw/neverwinter_setup.exe

 

Error ! Files mismatch

 

Local : 1fa1de40bf9231215f2c563c08837f20 ( <<< these might differ, but the result is the same, a mismatch)

Server: 9fa8430da0f8aa5c3cfc87d0e26c2d9f

 

Do you want to retry?

 

click yes and it flashes like it is going to download, showing the download progress bar, then displays the above error again.

 

Clicking yes repeatedly results in a fatal error.

 

Error in POL_Download

Unable to download http://download.perfectworld.com/nw/neverwinter_setup.exe after 5 attempts"

I am running this game now with heavily decreased video settings in a Virtual Machine on Windows 7. But I get a lot of stutter and static in crowded areas, like Protector's Enclave. Screen freezes sometimes and then the data tries to catch up resulting in a short but very fast post-processing of sound and video. I can't install a dual boot as everything was formatted as GPT, and Windows7 needs MBR to install. I could convert MBR to GPT, but I have overlapping sectrors in my partitions (dunno how that happened, prolly by a partitioning gone wrong) and I m afraid of losing 7 Gig worth of important data. So, I either play it in a VM or through Wine.

Replies

Anonymous
Sunday 28 May 2017 at 12:51
I meant "convert GPT to MBR" .. just saw the error. :)
Sunday 28 May 2017 at 16:11
I just need to get the md5 of the new file and change that. It should be a quick fix. As for the game stuttering, which graphics card and drivers are you using?
Anonymous
Wednesday 31 May 2017 at 22:42
Nvidia GTX 750 Ti, I guess the VM drivers aren;'t up to par with the actual nividia drivers I guess. I can play okay if I lower te vid settings quite low. Funny thing is, I can play Wildstar perfectly on Linux through Wine, but on my VM it hardly runs, even with low vid settings.
I tried the update for NW, no more md5 mismatch, but the POL installer seems to crash right after te md5 check when the game starts installing. I have to cancel the installer.
Anonymous
Wednesday 31 May 2017 at 22:51
copy of the log:

05/31/17 22:47:30 - [POL_Download] Message: Download MD5 matches
05/31/17 22:48:14 - [POL_System_CheckFS] Message: Checking filesystem for neverwinter_setup.exe
05/31/17 22:48:14 - [POL_Wine] Message: Running wine-2.3-staging neverwinter_setup.exe (Working directory : /home/davidian/.PlayOnLinux/tmp/NeverwinterOnline)
fixme:winediag:start_process Wine Staging 2.3 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
wine: Slecht EXE-formaat voor F:\davidian\.PlayOnLinux\tmp\NeverwinterOnline\neverwinter_setup.exe.
05/31/17 22:48:14 - [POL_Wine] Error: Wine lijkt vastgelopen te zijn\n\nWanneer uw programma gewoon werkt, dan kunt u dit bericht negeren

The last remark is in Dutch but it just says it crashed, and that I can ignore the message if it works.

wine: Slecht EXE-formaat voor <<< means bad .EXE format for directory.... etc etc.
Anonymous
Wednesday 31 May 2017 at 22:54
I checked the .exe file in the mentioned dir, it is a 0 byte file. Odd, since the md5 matched.
duckie68 Tuesday 9 May 2017 at 0:06
duckie68 Anonymous

Message

Having the usual install programs - got an issue about freetype and used the solution here.  I have to do that with any install though.

After that I can make it to the download and install phase.

Installer gives me a message about the key being different.  I checked the actual download at perfect world, and it wouldn't connect at all.  Nonexistant or just a lousy server?  Not sure.

So, it seems as if everything is going fine, but the error is in getting the actual running software.

Sorry, but I don't know enough about how to work all this, but is there any other download option (and method of just applying it to this attempted install?).

Replies

arcticfox4 Tuesday 28 March 2017 at 20:35
arcticfox4 Anonymous

Message

Didn't work with 2.3-staging, my gpu is intel HD520, the game launcher says it doesn't support dx11 even though it actually does

Replies

DroidXE Tuesday 14 March 2017 at 21:54
DroidXE Anonymous

Warning

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

Message

Updated Installer to Wine 2.3.

Game is playable, but has some graphical bugs.

 

mfg

Differences

@@ -1,55 +1,76 @@
 #!/bin/bash
-# Date : (2015-04-21)
-# Distribution used to test : Kubuntu 14.04 LTS 64-bit
-# Author : RoninDusette
+# Date : (2017-03-14)
+# Distribution used to test : Linux Mint 18.1 Cinnamon 64-bit
+# Graphics Card: NVIDIA GK106 [GeForce GTX 1050 Ti]; GLX Version: 4.5.0 NVIDIA 378.13
+# Game Version 7.20170206a.7
+# Author : DroidXE
 # Licence : GPLv3
-# PlayOnLinux: 4.2.7
-
-
+# PlayOnLinux: 4.2.10
+  
+  
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
-PREFIX="NeverwinterOnline"
-WINEVERSION="1.7.40"
-TITLE="Neverwinter Online"
+  
+PREFIX="NeverwinterOnlineTest"
+WINEVERSION="2.3-staging"
+TITLE="Neverwinter Online Test"
 EDITOR="Perfect World Entertainment Inc."
 GAME_URL="http://www.arcgames.com/en/games/neverwinter"
-AUTHOR="RoninDusette"
+AUTHOR="DroidXE"
 DOWNLOAD_URL="http://download.perfectworld.com/nw/neverwinter_setup.exe"
-
+  
 #Initialization
 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_Debug_Init
-
+  
 # Presentation
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-
+  
 # Create Prefix
+POL_System_SetArch "x64"
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
-
+ 
+# Dependencies
+POL_Call POL_Install_corefonts
+POL_Call POL_Install_tahoma
+POL_Call POL_Install_d3dx9
+POL_Call POL_Install_d3dx10
+POL_Call POL_Install_d3dx11
+POL_Call POL_Install_msxml3
+POL_Call POL_Install_msvc100
+POL_Call POL_Install_vcrun2012
+POL_Call POL_Install_vcrun2013
+POL_Call POL_Install_physx
+ 
+ 
+  
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS ${GAME_VMS}
+  
 # Configuration
-Set_OS "winxp"
-
+Set_OS "win7"
+  
 # Installation
 POL_System_TmpCreate "$PREFIX"
 cd $POL_System_TmpDir
 POL_Download "$DOWNLOAD_URL" "9fa8430da0f8aa5c3cfc87d0e26c2d9f"
-
+  
 POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not run $TITLE or log in after installation. Close any open windows so that PlayOnLinux can finish the install. ')" "$TITLE"
-
+  
 POL_Wine "neverwinter_setup.exe"
 POL_Wine_WaitExit "$TITLE"
-
+  
 # Create Shortcut
 POL_Shortcut "Neverwinter.exe" "$TITLE"
-
+  
 # Cleanup
 POL_System_TmpDelete
-
+  
 POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
-
+  
 POL_SetupWindow_Close
+ 
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2017-03-14)
# Distribution used to test : Linux Mint 18.1 Cinnamon 64-bit
# Graphics Card: NVIDIA GK106 [GeForce GTX 1050 Ti]; GLX Version: 4.5.0 NVIDIA 378.13
# Game Version 7.20170206a.7
# Author : DroidXE
# Licence : GPLv3
# PlayOnLinux: 4.2.10
  
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
PREFIX="NeverwinterOnlineTest"
WINEVERSION="2.3-staging"
TITLE="Neverwinter Online Test"
EDITOR="Perfect World Entertainment Inc."
GAME_URL="http://www.arcgames.com/en/games/neverwinter"
AUTHOR="DroidXE"
DOWNLOAD_URL="http://download.perfectworld.com/nw/neverwinter_setup.exe"
  
#Initialization
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_Debug_Init
  
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
  
# Create Prefix
POL_System_SetArch "x64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
# Dependencies
POL_Call POL_Install_corefonts
POL_Call POL_Install_tahoma
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dx10
POL_Call POL_Install_d3dx11
POL_Call POL_Install_msxml3
POL_Call POL_Install_msvc100
POL_Call POL_Install_vcrun2012
POL_Call POL_Install_vcrun2013
POL_Call POL_Install_physx
 
 
  
# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}
  
# Configuration
Set_OS "win7"
  
# Installation
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
POL_Download "$DOWNLOAD_URL" "9fa8430da0f8aa5c3cfc87d0e26c2d9f"
  
POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not run $TITLE or log in after installation. Close any open windows so that PlayOnLinux can finish the install. ')" "$TITLE"
  
POL_Wine "neverwinter_setup.exe"
POL_Wine_WaitExit "$TITLE"
  
# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE"
  
# Cleanup
POL_System_TmpDelete
  
POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
  
POL_SetupWindow_Close
 
exit 0

Replies

Anonymous
Monday 20 March 2017 at 15:05
Confirmed: Working. Costumes and mount not rendered properly. Also didn't bother downloading the whole game again. Copied the files to the new virtual drive.
Piperina Sunday 22 January 2017 at 9:30
Piperina Anonymous

Message

I've tried to install the program on my mac but it doesn' work. The wine requested is the 1.70.40 but in this version of Playonmac this wine is not present.

Can you help me?

 

Replies

DroidXE Wednesday 18 January 2017 at 22:17
DroidXE Anonymous

Warning

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

Message

I modified the installer. The current release runs well on my PC.

 

mfg

Differences

@@ -1,55 +1,75 @@
 #!/bin/bash
-# Date : (2015-04-21)
-# Distribution used to test : Kubuntu 14.04 LTS 64-bit
-# Author : RoninDusette
+# Date : (2017-01-18)
+# Distribution used to test : Linux Mint 18.1 Cinnamon 64-bit
+# Graphics Card: NVIDIA GK106 [GeForce GTX 650 Ti]; GLX Version: 4.5.0 NVIDIA 375.26
+# Game Version 70.20161205a.9
+# Author : DroidXE
 # Licence : GPLv3
-# PlayOnLinux: 4.2.7
-
-
+# PlayOnLinux: 4.2.10
+ 
+ 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 PREFIX="NeverwinterOnline"
 WINEVERSION="1.7.40"
 TITLE="Neverwinter Online"
 EDITOR="Perfect World Entertainment Inc."
 GAME_URL="http://www.arcgames.com/en/games/neverwinter"
-AUTHOR="RoninDusette"
+AUTHOR="DroidXE"
 DOWNLOAD_URL="http://download.perfectworld.com/nw/neverwinter_setup.exe"
-
+ 
 #Initialization
 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_Debug_Init
-
+ 
 # Presentation
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-
+ 
 # Create Prefix
+POL_System_SetArch "x64"
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
 
+# Dependencies
+POL_Call POL_Install_corefonts
+POL_Call POL_Install_tahoma
+POL_Call POL_Install_d3dx9
+POL_Call POL_Install_d3dx11
+POL_Call POL_Install_msxml3
+POL_Call POL_Install_msvc100
+POL_Call POL_Install_vcrun2012
+POL_Call POL_Install_vcrun2013
+POL_Call POL_Install_physx
+
+
+ 
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS ${GAME_VMS}
+ 
 # Configuration
-Set_OS "winxp"
-
+Set_OS "win7"
+ 
 # Installation
 POL_System_TmpCreate "$PREFIX"
 cd $POL_System_TmpDir
 POL_Download "$DOWNLOAD_URL" "9fa8430da0f8aa5c3cfc87d0e26c2d9f"
-
+ 
 POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not run $TITLE or log in after installation. Close any open windows so that PlayOnLinux can finish the install. ')" "$TITLE"
-
+ 
 POL_Wine "neverwinter_setup.exe"
 POL_Wine_WaitExit "$TITLE"
-
+ 
 # Create Shortcut
 POL_Shortcut "Neverwinter.exe" "$TITLE"
-
+ 
 # Cleanup
 POL_System_TmpDelete
-
+ 
 POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
-
+ 
 POL_SetupWindow_Close
+
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2017-01-18)
# Distribution used to test : Linux Mint 18.1 Cinnamon 64-bit
# Graphics Card: NVIDIA GK106 [GeForce GTX 650 Ti]; GLX Version: 4.5.0 NVIDIA 375.26
# Game Version 70.20161205a.9
# Author : DroidXE
# Licence : GPLv3
# PlayOnLinux: 4.2.10
 
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="NeverwinterOnline"
WINEVERSION="1.7.40"
TITLE="Neverwinter Online"
EDITOR="Perfect World Entertainment Inc."
GAME_URL="http://www.arcgames.com/en/games/neverwinter"
AUTHOR="DroidXE"
DOWNLOAD_URL="http://download.perfectworld.com/nw/neverwinter_setup.exe"
 
#Initialization
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_Debug_Init
 
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Create Prefix
POL_System_SetArch "x64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Dependencies
POL_Call POL_Install_corefonts
POL_Call POL_Install_tahoma
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dx11
POL_Call POL_Install_msxml3
POL_Call POL_Install_msvc100
POL_Call POL_Install_vcrun2012
POL_Call POL_Install_vcrun2013
POL_Call POL_Install_physx


 
# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}
 
# Configuration
Set_OS "win7"
 
# Installation
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
POL_Download "$DOWNLOAD_URL" "9fa8430da0f8aa5c3cfc87d0e26c2d9f"
 
POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not run $TITLE or log in after installation. Close any open windows so that PlayOnLinux can finish the install. ')" "$TITLE"
 
POL_Wine "neverwinter_setup.exe"
POL_Wine_WaitExit "$TITLE"
 
# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE"
 
# Cleanup
POL_System_TmpDelete
 
POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
 
POL_SetupWindow_Close

exit 0

Replies

anong Thursday 17 November 2016 at 12:11
anong Anonymous

Message

[11/17/16 16:02:47] - Running wine-1.7.40 Neverwinter.exe (Working directory : /home/produser/.PlayOnLinux/wineprefix/NeverwinterOnline/drive_c/Program Files/Cryptic Studios)
p11-kit: couldn't load module: /usr/lib/pkcs11/p11-kit-trust.so: /usr/lib/pkcs11/p11-kit-trust.so: cannot open shared object file: Not a directory
p11-kit: couldn't load module: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: Not a directory
[1117/160254:ERROR:network_change_notifier_win.cc(143)] WSALookupServiceBegin failed with: 0
[1117/160331:INFO:CONSOLE(0)] "Select shard: 1," source: http://launcher.playneverwinter.com/static/all/js/api.js(117)
Connecting to patchserver.crypticstudios.com:7255
PatchClientLib: connecting to patchserver.crypticstudios.com:7255
PatchClientLib: redirecting to 208.95.184.4:7255
PatchClientLib: skipping unneeded autoupdate CrypticLauncher3NW
PatchClientLib: successfully connected
AutopatchDialog thread shutting down
GamePrefsInit: giGamePrefSet now 0
Displaying status message: ??????????? ? ??????? ??????? ???????
While finding unique IPs, converted controllertracker.crypticstudios.com to 208.95.186.113
While finding unique IPs, converted controllertracker0.crypticstudios.com to 208.95.186.141
While finding unique IPs, converted controllertracker1.crypticstudios.com to 208.95.186.113
While finding unique IPs, converted controllertracker2.crypticstudios.com to 208.95.186.141
While finding unique IPs, converted controllertracker3.crypticstudios.com to 208.95.186.113
While finding unique IPs, converted controllertracker4.crypticstudios.com to 208.95.186.141
While finding unique IPs, converted controllertracker5.crypticstudios.com to 208.95.186.113
While finding unique IPs, converted controllertracker6.crypticstudios.com to 208.95.186.141
While finding unique IPs, converted controllertracker7.crypticstudios.com to 208.95.186.113
While finding unique IPs, converted controllertracker8.crypticstudios.com to 208.95.186.141
While finding unique IPs, converted controllertracker9.crypticstudios.com to 208.95.186.113
Displaying status message: ??????? ??????????? ? ??????? ???????????? ????????? ??????????..
requested language id 1 (ChineseTraditional) resources not available!
Displaying status message: ???????? ????????? ???????
startPatch, new Night:NeverwinterRU
Connecting with root C:/Program Files/Cryptic Studios/Neverwinter/Eecalive
PatchClientLib: connecting to patchserver.crypticstudios.com:7255
PatchClientLib: redirecting to 208.95.184.166:7255
PatchClientLib: successfully connected
Setting view by name (attempt 1): NightClientRussian
PatchClientLib: Using HTTP patching: server level3ru.nwhttppatch.crypticstudios.com port 80 prefix Night
Loading manifest: C:/Program Files/Cryptic Studios/Neverwinter/Eecalive/.patch/NightClientRussian.manifest...done
Loading hoggs...
done.                                                                 (0.50)
Deleting files...done (0 deleted).                                                     (0.00)
Deleting rogue files...done (0 deleted).                                                     (0.00)
Examining hoggs...
done.                                                                 (1.53)
Total transfer: 2375074
Displaying status message: ??????????? ? ??????? ??????? ???????
successfulPatchRootFolder = C:/Program Files/Cryptic Studios/Neverwinter/Eecalive

HELP ME PLEASE

Replies

tkvasager Monday 27 July 2015 at 15:46
tkvasager Anonymous

Message

I am having an issue running the install using the vanilla script that is default for Neverwinter Online.  It appears to have difficulty downloading the setup.exe.  It goes directly to a failed CRC check.

 

http://download.perfectworld.com/nw/neverwinter_setup.exe

 

Error ! Files mismatch

 

Local : 1fa1de40bf9231215f2c563c08837f20

Server: 9fa8430da0f8aa5c3cfc87d0e26c2d9f

 

Do you want to retry?

 

click yes and it flashes like it is going to download, showing the download progress bar, then displays the above error again.

 

Clicking yes repeatedly results in a fatal error.

 

Error in POL_Download

Unable to download http://download.perfectworld.com/nw/neverwinter_setup.exe after 5 attempts

I have reported as a bug, and put in a suggestion for what needs to be changed, I was wondering if you have experienced this recently?   I loaded with out a problem using Xubuntu about a month ago, I reloaded to Fedora, tried to install yesterday, 27-07-2015 and received this error.

 

DE: xfce

Distro: Fedora 22

Replies

Monday 27 July 2015 at 16:42
That URL gives me a 404, I guess it's no longer valid?
Monday 27 July 2015 at 17:11
Yup. That sucks. :( That was pretty much the key to having this work without Arc or Steam. I wonder if this script is why they changed it? lol. I will see if I can find an alternate URL. I have imagine that STO is like this, as well.
Anonymous
Wednesday 5 August 2015 at 23:57
The url is back up.
Thursday 6 August 2015 at 0:06
Ok. I am enabling the script again. Thanks for letting us know. :)
AMEER157 Sunday 31 May 2015 at 17:46
AMEER157

Message

Worked great on my Ubuntu 14.04.2 LTS 64 Bit

Just click the "Install this program button" and PlayOnLinux will take care of the dependencies and all the required files.

NOTE: After you log into the game using your credentials. The splash screen "Cyrptic" will take about 10-15 mins to disappear. This happens only at the initial login and the game will load normaly next time.

Replies

Monday 1 June 2015 at 3:33
It says that right in the installer. ;)
Monday 1 June 2015 at 3:34
UPDATE: Game will freeze if "Alt" is pressed for "Cursor Mode Toggle"
Monday 1 June 2015 at 3:38
Doesn't do it on mine, and so far no one else has reported this. Can you please post up your computer specs and Linux distro and DE? Have ran it on 2 different systems with 3 different OSs so far, but have not yet come across it, so I wonder if it specific to your distro or DE...
Monday 1 June 2015 at 15:28
Ubuntu 14.04.2 LTS (Trusty Tahr)
Monday 1 June 2015 at 15:31
DE: Unity
Intel® Core™ i7-4510U CPU @ 2.00GHz × 4
GPU: Nvidia GeForce 840M (DriverVersion: 346.72)

I'm runing a 64Bit system
Monday 1 June 2015 at 18:28
I don't know, then. I think maybe ALT is a hockey in Unity, so perhaps that is causing the problem. I have not been able to reproduce it on my biggest computer and my laptop on Arch, Mint, and Kubuntu. I will see what I can figure out.
Tuesday 2 June 2015 at 3:01
Hey Ronin, I managed to fix it by changing the screen settings from "Full Screen" to "Windowed Maximized" somehow this solved the problem and prevented the crash.
Tuesday 2 June 2015 at 3:02
Hmm. Not sure why that is, but glad it works. At least we have a workaround now. Thanks. :)
backad Sunday 24 May 2015 at 19:25
backad

Message

#!/bin/bash
# Date : (2015-04-21)
# Distribution used to test : Kubuntu 14.04 LTS 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.7
 
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="NeverwinterOnline"
WINEVERSION="1.7.40"
TITLE="Neverwinter Online"
EDITOR="Perfect World Entertainment Inc."
AUTHOR="RoninDusette"
 
#Initialization
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_Debug_Init
 
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
# Configuration
Set_OS "winxp"
 
#Resolve bug of sources
POL_Install_corefonts
POL_Install_dxfullsetup
POL_Install_d3dcompiler_43
POL_Install_tahoma
 
# Installation
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
POL_Download "$DOWNLOAD_URL" "9fa8430da0f8aa5c3cfc87d0e26c2d9f"
 
POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not run $TITLE or log in after installation. Close any open windows so that PlayOnLinux can finish the install. ')" "$TITLE"
 
POL_Wine "neverwinter_setup.exe"
POL_Wine_WaitExit "$TITLE"
 
# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE"
 
# Cleanup
POL_System_TmpDelete
 
POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
 
POL_SetupWindow_Close
exit 0

Replies

Sunday 24 May 2015 at 19:26
http://wiki.playonlinux.com/index.php/How_to_Contribute_a_Script
Sunday 24 May 2015 at 21:26
Also, why are the changes needed? The script has tested fine on many systems.
Wednesday 8 July 2015 at 1:59
Correction: On YOUR sistem. ;)
Wednesday 8 July 2015 at 2:50
Yup. 3 different ones, all with different hardware, first tested with Kubuntu, then with Arch. ;)

So, what bug does adding those dependencies fix?
Ronin DUSETTE Thursday 7 May 2015 at 4:00
Ronin DUSETTE

Warning

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

Message

Adding message not to log in after initial installation.

Differences

@@ -37,6 +37,9 @@
 POL_System_TmpCreate "$PREFIX"
 cd $POL_System_TmpDir
 POL_Download "$DOWNLOAD_URL" "9fa8430da0f8aa5c3cfc87d0e26c2d9f"
+
+POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not run $TITLE or log in after installation. Close any open windows so that PlayOnLinux can finish the install. ')" "$TITLE"
+
 POL_Wine "neverwinter_setup.exe"
 POL_Wine_WaitExit "$TITLE"
 

New source code

#!/bin/bash
# Date : (2015-04-21)
# Distribution used to test : Kubuntu 14.04 LTS 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.7


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

PREFIX="NeverwinterOnline"
WINEVERSION="1.7.40"
TITLE="Neverwinter Online"
EDITOR="Perfect World Entertainment Inc."
GAME_URL="http://www.arcgames.com/en/games/neverwinter"
AUTHOR="RoninDusette"
DOWNLOAD_URL="http://download.perfectworld.com/nw/neverwinter_setup.exe"

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

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Configuration
Set_OS "winxp"

# Installation
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
POL_Download "$DOWNLOAD_URL" "9fa8430da0f8aa5c3cfc87d0e26c2d9f"

POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not run $TITLE or log in after installation. Close any open windows so that PlayOnLinux can finish the install. ')" "$TITLE"

POL_Wine "neverwinter_setup.exe"
POL_Wine_WaitExit "$TITLE"

# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE"

# Cleanup
POL_System_TmpDelete

POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"

POL_SetupWindow_Close
exit 0

Replies

Sunday 24 May 2015 at 19:26
Please add:
Sunday 24 May 2015 at 19:27
POL_Install_corefonts
POL_Install_dxfullsetup
POL_Install_d3dcompiler_43
POL_Install_tahoma
Ronin DUSETTE Wednesday 22 April 2015 at 8:31
Ronin DUSETTE

Warning

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

Message

Using tmp folders. Totally forgot to do that. :)

Differences

@@ -34,6 +34,8 @@
 Set_OS "winxp"
 
 # Installation
+POL_System_TmpCreate "$PREFIX"
+cd $POL_System_TmpDir
 POL_Download "$DOWNLOAD_URL" "9fa8430da0f8aa5c3cfc87d0e26c2d9f"
 POL_Wine "neverwinter_setup.exe"
 POL_Wine_WaitExit "$TITLE"
@@ -41,6 +43,9 @@
 # Create Shortcut
 POL_Shortcut "Neverwinter.exe" "$TITLE"
 
+# Cleanup
+POL_System_TmpDelete
+
 POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
 
 POL_SetupWindow_Close

New source code

#!/bin/bash
# Date : (2015-04-21)
# Distribution used to test : Kubuntu 14.04 LTS 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.7


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

PREFIX="NeverwinterOnline"
WINEVERSION="1.7.40"
TITLE="Neverwinter Online"
EDITOR="Perfect World Entertainment Inc."
GAME_URL="http://www.arcgames.com/en/games/neverwinter"
AUTHOR="RoninDusette"
DOWNLOAD_URL="http://download.perfectworld.com/nw/neverwinter_setup.exe"

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

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Configuration
Set_OS "winxp"

# Installation
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
POL_Download "$DOWNLOAD_URL" "9fa8430da0f8aa5c3cfc87d0e26c2d9f"
POL_Wine "neverwinter_setup.exe"
POL_Wine_WaitExit "$TITLE"

# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE"

# Cleanup
POL_System_TmpDelete

POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"

POL_SetupWindow_Close
exit 0

Replies

Ronin DUSETTE Wednesday 22 April 2015 at 8:08
Ronin DUSETTE

Warning

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

Message

Initial commit

Differences

@@ -0,0 +1,47 @@
+#!/bin/bash
+# Date : (2015-04-21)
+# Distribution used to test : Kubuntu 14.04 LTS 64-bit
+# Author : RoninDusette
+# Licence : GPLv3
+# PlayOnLinux: 4.2.7
+
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+PREFIX="NeverwinterOnline"
+WINEVERSION="1.7.40"
+TITLE="Neverwinter Online"
+EDITOR="Perfect World Entertainment Inc."
+GAME_URL="http://www.arcgames.com/en/games/neverwinter"
+AUTHOR="RoninDusette"
+DOWNLOAD_URL="http://download.perfectworld.com/nw/neverwinter_setup.exe"
+
+#Initialization
+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_Debug_Init
+
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+
+# Configuration
+Set_OS "winxp"
+
+# Installation
+POL_Download "$DOWNLOAD_URL" "9fa8430da0f8aa5c3cfc87d0e26c2d9f"
+POL_Wine "neverwinter_setup.exe"
+POL_Wine_WaitExit "$TITLE"
+
+# Create Shortcut
+POL_Shortcut "Neverwinter.exe" "$TITLE"
+
+POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"
+
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-04-21)
# Distribution used to test : Kubuntu 14.04 LTS 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.7


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

PREFIX="NeverwinterOnline"
WINEVERSION="1.7.40"
TITLE="Neverwinter Online"
EDITOR="Perfect World Entertainment Inc."
GAME_URL="http://www.arcgames.com/en/games/neverwinter"
AUTHOR="RoninDusette"
DOWNLOAD_URL="http://download.perfectworld.com/nw/neverwinter_setup.exe"

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

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Configuration
Set_OS "winxp"

# Installation
POL_Download "$DOWNLOAD_URL" "9fa8430da0f8aa5c3cfc87d0e26c2d9f"
POL_Wine "neverwinter_setup.exe"
POL_Wine_WaitExit "$TITLE"

# Create Shortcut
POL_Shortcut "Neverwinter.exe" "$TITLE"

POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE can take up to 15 minutes or longer to start for the first time. It only does this the first time the game has be ran.')" "$TITLE"

POL_SetupWindow_Close
exit 0

Replies

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