Neverwinter Nights 2 Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Installation from hell: GOG's NWN 2 Complete; can't get it working

I've tried so many different ways to get this to install, but keep hitting a wall. Hoping someone can help me.

Crossover 12.2.0; Mac OSX 10.8.3. Just finished playing Icewind Dale Complete, and before that NWN 1 Complete, Icewind Dale 2 Complete, and PS: Torment. All from GOG.

Anyway, I see there's a Community Supported Application for NWN 2, as well as a Crosstie, so I try that. Initial problem is the same as w/ my last game. Error message about "gdiplus.dll". Thanks to another poster, I know what to do here. I create a NWN2 bottle and install "Platform SDK Redistributable: GDI+".

Using the NWN2 app, it tells me it will install the following 5 software packages (in addition to the game):
1) DirectX End-User Runtime Web Installer (shows in the bottle as Microsoft DirectX Runtime - Modern)
2) M.S. .NET Framework 2.0
3) M.S. HTML Rendering Engine 7
4) M.S. Visual C++ 2005 Redistributable
5) M.S. XML Parser (MSXML) 3.0

When I look into the bottle later, it's also added:
6) IE 7
7) M.S. XMLLite for Windows XP

The problem? After installing those software packages, and moving through the game installation itself, I get about 80% of the way through the GOG installation/progress bar when it stops moving through the preview pictures of other games. Uh oh. The 1st few times I tried to install, I then get a Setup for MS .NET Framework 3.5 SP1. Waste a long time agreeing to download that, only to end up w/ an error message ("...has encountered a problem and needs to close...An error occurred during setup...removing all installed files"). It gets worse. The next time I'm at the point where I see that installation, I try to cancel it. At that point, after confirming I don't want it, I get a new window w/ 4 icons: Ok/Cancel/Abort/Retry. Not only do none of those 4 options do anything, I can't even x out of the window! At this point, the further installation of the game just hangs interminably. So I cancel out and start a new approach. But I have to Force-Quit Crossover to get rid of that weird window.

After removing the game itself from the bottle, leaving the software packages that installed correctly, I try next installing:
M.S. .NET Framework 2.0 Service Pack 2 (this from Crossover's Svc Packs & Upgrades). Would you believe I end up still getting the 3.5 SP1 setup issue? Sigh. Remove 2.0 and try installing (from same area):
M.S. .NET Framework 4.0; thinking now I won't get prompted for a 3.5 update!

More failure, and then salt on the wound. At the end, I get an error message: "msiexec - .NET Framework Initialization Error: To run this application, you first must install one of the following versions of the .NET Framework: v.4.0.30319. Contact your application publisher for instructions about obtaining the appropriate version of the .NET Framework." Then after ridding myself of that, guess what comes back? Yes, the infamous 3.5 SP1 setup!

That's when I stop and come here. Hope I was clear enough to get some quality suggestions.

Thanks in advance!

Hello,

Sorry that you had so much trouble with it. My advice is to erase the old bottle and create a new one with these components:

  • MS VC++ 2005 runtime
  • DirectX Modern

Then, open Crossover, select the newly created bottle and click on the "Run Command" bottle. Find the installer and ad this to the end of it " /nogui" <- this is space followed by the /nogui command line option. It should start a version of the installer that will not create issues with wine.

After installation you may want to add a registry key to explicitly tell wine how much video memory to report back to the game:

Setting registry keys for a bottle

The key you want to set is called VideoMemorySize and should optimally be set to the correct amount for your system but you can also set lower values which should work well with older titles like 256 or 512 (these sizes are in MegaBytes)

Depending on how things go, you may also want to take a look at the winehq AppDB page for this game:

http://appdb.winehq.org/objectManager.php?sClass=version&iId=17426

Good luck.

Silviu, thanks for your help. I was able to get the game actually installed (good news), but now I have a different problem (bad news)--I can't play it. When I attempt to start a game, I get a succession of 3 related error messages about my video card, which it doesn't seem to locate: (a) "Your video card has less than 128 MB of video memory..." [not true; it has 1024 MB]; (b) "Unable to detect a video card w/ hardware 3D acceleration..."; and (c) "Hardware 3D acceleration appears to be disabled..." and then it quits out.

After looking at the Wine page you linked to, I made a new Key [HKCU\Software\Wine] in regedit called "Direct3D", w/ the following strings:
OffscreenRenderingMode = fbo
UseGLSL = enabled
VideoMemorySize = 1024

Same 3 error messages. On that same Wine page, I saw there was a reported bug about these video card messages, but as far as I can tell, the subpage about the bug was for the Linux version playing the game. There were about 5 reviewers, 1 on a Mac and 4 using Linux. Someone--I can't tell if it was the Mac reviewer or not--added a comment about having to use "wine tricks directx9 vcrun 2005" to get the GOG version to run, which it did.

I have no idea what "wine tricks" is or how it may or may not help me. But for now I'm stuck w/ this new problem.

What's puzzling me is that here on Crossover, using 12.0, this game got a Gold Medal. How on earth did they get it to run, I wonder...

Heya,

Yeah, I actually tried the game myself and it exhibited the exact same issues. I fixed them however and here's how. The HOWTO on winehq also mentions that a few dll overrides may be necessary and turns out they were. So:

  • open crossover, select the NWN2 bottle and go to the Control Panel tab
  • select Wine Configuration and launch it
  • once launched, go to the Libraries tab

image

Here you will add devenum.dll and dxdiagn.dll and set them both to native by selecting them in the list (after they were added) and clicking the Edit button

This should make the game start but the resolution is still low and you may have issues selecting the various buttons in the menu. No problem. In the same Wine Configuration menu but on the Graphics tab, check Emulate Virtual Desktop and set it to something like 1280 x 720. Don't forget to apply and then close the window. This is temporary and should allow you to launch the game and set the correct resolution in its settings. After that, you may go back to the same place and un-check the virtual desktop option.

You may also try to enable the Experimental Mac driver option in the Advanced tab of your version of Crossover and see how that works for you.

Hope this helps you get the game running.

One thing. Here's a shot of my regedit settings. I'm missing the UseGLSL option because I have an nvidia card and do not need it. Make sure the other keys are set like mine but with your values in the case of the amount of video ram:

image

I can't thank you enough, my friend! Game appears to be working; full-screen (1680 x 1050); etc.

You should consider posting something in the Tips & Tricks section 😉

Thanks again!

Cool! Glad you've managed to make it run.

Edit: I've added a post in the Tips & Tricks section which hopefully will help other users which have issues running their copy of NWN2 from GoG.com

If my wine folder doesn't have a Direct 3D folder where should I add the threads? I have a 2011 Mac Mini with AMD Radeon HD 6630 256mb. Thanks

After following the instructions in this thread, everything was running smoothly-that is, until the latest CrossOver update (March 19, 2014 or around there). Now, whenever I try to run the game, I receive the error message "This game requires a graphics card capable of 3d acceleration" and freezes. This is while running on a "Legacy Windows X System" enabled bottle. On a non-legacy bottle, it simply freezes with no error.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzM2MzczNjgxLCJjc3JmX3Rva2VuIjoiTkJVcHRSR0FVN2t6ZUNudyIsImdkcHIiOjB9