GOG.com - Neverwinter Nights 2: Complete

Informations

Creator Message
petch
Developer

Warning

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

Informations

Platforms:
Downloads: 18988
Wine: 3.0.3

Feedbacks

Source code

#!/bin/bash
# Date : (2013-04-07 16-50)
# Last revision : see changelog
# Wine version used : 3.0.3
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2013-04-07 16-50)
#   Initial script, for the GOG release.
# [Pierre Etchemaite] (2013-07-10 13-36)
#   ?
# [Dadu042] (2020-01-25 11:10)
#   Wine 1.5.27 -> 3.0.3
#   Force Arch x86.

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

GOGID="neverwinter_nights_2_complete"
PREFIX="NeverwinterNights2_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - Neverwinter Nights 2: Complete"
SHORTCUT_NAME="Neverwinter Nights 2 Complete"

#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1647
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Studio / Publisher" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "6f64b0b2401564c4cde3ffbfa1bf1022" "7f0c309d426605ef12d6b650c1583b41" "5741d78d70a275b61ae5c6b46e0e5030" "922ed380f399e7c4da4b00a29c154593" "83294db2aee174c05dc436b39e2c00d1" "eb66b074d1b14946511eed344abc4bec"

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

POL_Call POL_GoG_install "/nogui"


POL_Call POL_Install_d3dx9
POL_Call POL_Install_dxdiag

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "256"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "nwn2.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Neverwinter Nights 2 Complete/Documentation/Neverwinter Nights 2 - Manual.pdf"
# C:\GOG Games\Neverwinter Nights 2 Complete\Documentation\Neverwinter Nights 2 Mask of the Betrayer - Manual.pdf
# C:\GOG Games\Neverwinter Nights 2 Complete\Documentation\Neverwinter Nights 2 Mysteries of Westgate - Walkthrough.pdf
# C:\GOG Games\Neverwinter Nights 2 Complete\Documentation\Neverwinter Nights 2 Storm of Zehir - Manual.pdf

POL_SetupWindow_Close

exit 0

cat <<_EOF_ > "$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"
#!/bin/bash
[ -z "\$PLAYONLINUX" ] && exit 0
source "\$PLAYONLINUX/lib/sources"
export WINEPREFIX="\$POL_USER_ROOT/wineprefix/$PREFIX"
export WINEDEBUG="-all"

POL_LoadVar_PROGRAMFILES
cd "\$WINEPREFIX/drive_c/GOG Games/Neverwinter Nights 2 Complete/" || exit 1
TITLE="$TITLE"

POL_Wine SerialTool.exe
exit 0
_EOF_

exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Saturday 25 January 2020 at 12:58
Dadu042
Moderator

Information

This update has been approved by the team.

Differences

@@ -1,19 +1,28 @@
 #!/bin/bash
 # Date : (2013-04-07 16-50)
-# Last revision : (2013-07-10 13-36)
-# Wine version used : 1.5.27
+# Last revision : see changelog
+# Wine version used : 3.0.3
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
 # Script licence : GPL v.2
 # Program licence : Retail
 # Depend :
+#
+# CHANGELOG
+# [Pierre Etchemaite] (2013-04-07 16-50)
+#   Initial script, for the GOG release.
+# [Pierre Etchemaite] (2013-07-10 13-36)
+#   ?
+# [Dadu042] (2020-01-25 11:10)
+#   Wine 1.5.27 -> 3.0.3
+#   Force Arch x86.
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="neverwinter_nights_2_complete"
 PREFIX="NeverwinterNights2_gog"
-WORKING_WINE_VERSION="1.5.27"
+WORKING_WINE_VERSION="3.0.3"
 
 TITLE="GOG.com - Neverwinter Nights 2: Complete"
 SHORTCUT_NAME="Neverwinter Nights 2 Complete"
@@ -29,6 +38,7 @@
 POL_Call POL_GoG_setup "$GOGID" "6f64b0b2401564c4cde3ffbfa1bf1022" "7f0c309d426605ef12d6b650c1583b41" "5741d78d70a275b61ae5c6b46e0e5030" "922ed380f399e7c4da4b00a29c154593" "83294db2aee174c05dc436b39e2c00d1" "eb66b074d1b14946511eed344abc4bec"
 
 POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
 POL_Call POL_GoG_install "/nogui"

New source code

#!/bin/bash
# Date : (2013-04-07 16-50)
# Last revision : see changelog
# Wine version used : 3.0.3
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2013-04-07 16-50)
#   Initial script, for the GOG release.
# [Pierre Etchemaite] (2013-07-10 13-36)
#   ?
# [Dadu042] (2020-01-25 11:10)
#   Wine 1.5.27 -> 3.0.3
#   Force Arch x86.

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

GOGID="neverwinter_nights_2_complete"
PREFIX="NeverwinterNights2_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - Neverwinter Nights 2: Complete"
SHORTCUT_NAME="Neverwinter Nights 2 Complete"

#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1647
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Studio / Publisher" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "6f64b0b2401564c4cde3ffbfa1bf1022" "7f0c309d426605ef12d6b650c1583b41" "5741d78d70a275b61ae5c6b46e0e5030" "922ed380f399e7c4da4b00a29c154593" "83294db2aee174c05dc436b39e2c00d1" "eb66b074d1b14946511eed344abc4bec"

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

POL_Call POL_GoG_install "/nogui"


POL_Call POL_Install_d3dx9
POL_Call POL_Install_dxdiag

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "256"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "nwn2.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Neverwinter Nights 2 Complete/Documentation/Neverwinter Nights 2 - Manual.pdf"
# C:\GOG Games\Neverwinter Nights 2 Complete\Documentation\Neverwinter Nights 2 Mask of the Betrayer - Manual.pdf
# C:\GOG Games\Neverwinter Nights 2 Complete\Documentation\Neverwinter Nights 2 Mysteries of Westgate - Walkthrough.pdf
# C:\GOG Games\Neverwinter Nights 2 Complete\Documentation\Neverwinter Nights 2 Storm of Zehir - Manual.pdf

POL_SetupWindow_Close

exit 0

cat <<_EOF_ > "$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"
#!/bin/bash
[ -z "\$PLAYONLINUX" ] && exit 0
source "\$PLAYONLINUX/lib/sources"
export WINEPREFIX="\$POL_USER_ROOT/wineprefix/$PREFIX"
export WINEDEBUG="-all"

POL_LoadVar_PROGRAMFILES
cd "\$WINEPREFIX/drive_c/GOG Games/Neverwinter Nights 2 Complete/" || exit 1
TITLE="$TITLE"

POL_Wine SerialTool.exe
exit 0
_EOF_

exit 0

Replies

Anonymous
Wednesday 25 March 2020 at 6:59
I'm getting an error that says unable to connect to gog com please check your internet connection

EDIT: Am I supposed to run the script using the 

setup_nwn2_complete_2.2.0.10.exe

(having downloaded the other two binaries from GOG)

or am I supposed to run the script using the 

GOG_Galaxy_Neverwinter_Nights_2_Complete.exe

file?
Nozlug Monday 5 March 2018 at 0:59
Nozlug Anonymous

Message

I can't connect to gog.com (msg: Gog.com login failed, try again ?)  with functionnal login/passwd ,

OS: GNU/Linux Gentoo

Playonlinux Installed versions:  4.2.12(22:22:38 04/03/2018)(-winbind PYTHON_TARGETS="python2_7")

tell me if you need more logs ;)

Replies

Anonymous
Monday 5 March 2018 at 1:23
i just tried with lgogdownloader,

$ lgogdownloader
Email: kaslantien@free.fr
Password:
Login form contains reCAPTCHA (https://www.google.com/recaptcha/)
Try to login later
HTTP: Login failed

perhaps the captcha is the trouble to login via playonlinux to gog.com ?

could someone help me please ?
scuda Friday 5 January 2018 at 13:01
scuda Anonymous

Message

The installer hangs up for Mac during the Wine 1.5.7 install.  This installer should be updated ot the Wine 2.16 engine.

Replies

Joergy73 Friday 18 December 2015 at 19:50
Joergy73 Anonymous

Message

After a few seconds the installation aborts. I get the following error message (german, sorry):

"...
Datei kann nicht ausgeführt werden:
C:\users\username\Temp\is-BC39R.tmp\MSVC2005\vcredist_x86.exe

ShellExecuteEx schlug fehl; Code 2
File not found.
..."

After this another one:

"...
Runtime Error (at 69:445)
..."

 

Ubuntu Mate 15.10 64bit
Ram: 6GB
GPU: NVidia GT240

CPU: 4 core Inter CPU

 

And i must select manually the first BIN file. Hope this helps. smiley

Replies

Anonymous
Monday 12 June 2017 at 16:18
I had the same problem following this guide https://ubuntuforums.org/showthread.php?t=2195996
Anonymous
Monday 12 June 2017 at 16:24
Game was installed somehow, but did not start. There was another error instead. Then I tried installing a second time. The same error at begnning of installation like Joergy73 again. i ignored it again and let the installation run through again. But after that procedure the game startet running. I do not why. Perhaps because of one of that steps of my link above, who knows.
Anonymous
Monday 12 June 2017 at 16:27
Xubuntu 14.04 32bit, Radeon HD 6670
WoodVTier Tuesday 1 December 2015 at 22:50
WoodVTier Anonymous

Message

For me, the installer worked well, but there is a confusing trick to get it to work.

When the "Finish Installation" dialog pops up, the installation is NOT done. If you click "Finish" too early, it won't complete successfully. 

You need to wait until it finishes copying files or whatever it's doing. I just watch the light on my hard-disk until it stops flashing before I click "Finish".

Replies

tydevers Wednesday 24 September 2014 at 1:15
tydevers Anonymous

Message

I just installed NWN 2 comeplete via this script on PlayOnLinux. The only glitch that I came across was that the installer crashed after defining the amount of RAM on my video card (1024). However, the installation did complete just fine regardless of the crash. I reopened POL, the game was there, and it loaded, full screen, just fine. All controls seem to work thus far, though I havent made it through the tutorial section yet.

I'll report back after I put in some good play time.

 

Linux mint 64 bit

Nvidia gtx 550 ti card

amd phenom 2 x4

4 g ram

Replies