The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results (selected in 'Test Results' table below)
What works
-installing
-patching (with NWN2Patcher)
-playing sigle campaign or module (tested on The Otherside Chronicles - Introduction Act v1.2)
-ALSA/OSS with full hardware acceleration
-toolset
-nwn2launcher.exe
-fast levels loading
What does not
-changing resolution inside the game in fullscreen
-antialiasing
-starting without NODVD
-nwupdate
What was not tested
-multiplayer
-main story
-eax
-spells
Additional Comments
The NWN2Patcher didn't worked for me when I selected temp folder on ntfs partition but it worked well when i selected temp on ext2 partition.The game runs not so good. At lowest setting and using 1280x800 resolution I get 25-30 fps (30-38 fps in MS Windows) at the start of the game in outdoor. Maximum settings gives me no more than 6 fps (10-14 fps in MS Windows) and errors in rendering when zooming too close. Moreover with this settings the game crashes if the "speak trigger" encountered or sooner. If I turn off shadows I get a little bit above 10 fps.
You may also put in whatever amount of memory your video card uses instead of 256.
To get the autoupdater to run, right click anywhere on the autoupdate window (except the status text part), and then click "dedicated internet connection". It should now work.
If you are unable to change resolution while using fullscreen mode, emulating a virtual desktop may be useful for getting the game to allow other resolutions.
Recommended graphic settings
In the options menu, go into the graphics tab and make these changes:
Make sure Shadow options are off or you will not have a playable game due to lag.
In quality options turn on bloom effects. And make sure the following are turned off:
softer shadows
point light shadows
normal mapped terrain
The water reflection and refraction can help eliminate / enhace the visual quality, but they're also a performance drain.
If you haven't already, add the following keys to wines registery:
You can change VideoMemorySize to the amount of RAM you have in your graphic card.
HOWTO getting the game running
Thanks to Rottgrub for writing the original post. His post has been altered and new things added due to the recent wine versions and software avaible.
Please not that currently the best wine version to play NWN2 is 0.9.56. If you've tried NWN2 with older versions, go ahead and update!
1: Backup and delete your old .wine directory.
2: Run winecfg to set up the settings above and
create a new fresh ~/.wine dir.
3: run "regedit" and add the following keys:
[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"OffscreenRenderingMode"="fbo"
"UseGLSL"="enabled"
"VideoMemorySize"="256"
You can change the VideoMemorySize to match the amount of RAM you have in your video card.
4: Copy d3dx9_30.dll, devenum.dll, dxdiagn.dll, to your wines system32 directory.
5: Make overrides in winecfg in the library tab for devenum.dll and dxdiagn.dll - set them both to "native then built-in"
6: Install NWN2. (I copied all CDs to a directory first)
7: Copy the contents of microsoft.vc80.crt.zip (Microsoft.VC80.CRT.manifest, msvcm80.dll, msvcp80.dll and msvcr80.dll) to your NWN2 install directory.
8: Patch the game using the unofficial offline patcher. Patches can be manually downloaded from here - note the diffrent languages!
You can't patch the game instantly to the latest patch, you will have to patch it step-by-step from its current version to the latest with the avaible patches. Be warned, it's a bit flaky running under wine and the queue dosen't seem to work. you'll have to apply each patch once at a time
9: Once the patching is done, grab the appropiate no-cd executable and replace nwn2main.exe with it (It is a good idea to make a back up of the original).
10: cd to NWN2s install directory and run it with 'WINEDEBUG=-all wine nwn2main.exe'
11: Follow the recommendations in the note posted above this regarding graphical settings.
The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.
d3d error
by jason on Monday April 6th 2009, 22:26
I've followed the above install guide, tried re-intsalling with a clean winedir 3 times. Also tried installing with playonlinux.
I get 'could not initialize direct3d...' error on start up. with:
err:d3d:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat
err:d3d:InitAdapters Failed to get a gl context for default adapter
err:d3d:WineDirect3DCreate Direct3D9 is not available without opengl
I've tried this with/without installing directx through winetricks. makes no difference. and then the third time i skipped copying the dx3 dlls over and let the installer install directx. that didnt help either.
any ideas?
I'm using wine 1.1.18, with nwn2 v 1.22.1587 (patched via the official patcher, which works fine after applying the registry fixes posted on this site.), using nocd exe as well..
Mask of the Betrayer
by John on Friday February 22nd 2008, 0:47
When attempting to install MotB the installation crashed midway, now when i try to install it, the setup program thinks that nwn2 is not installed on my system, in addition to this nwn2 is not working.
when i try to run nwn2main.exe i get the message
[code] n.exe
fixme:spoolsv:serv_main (0 (nil))
err:advapi:service_get_status service protocol error - failed to read pipe r = 0 count = 0!
err:module:import_dll Library NWN2_MemoryMgr.dll (which is needed by L"C:\\Program Files\\Atari\\Neverwinter Nights 2\\nwn2main.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Atari\\Neverwinter Nights 2\\nwn2main.exe" failed, status c0000135
[/code]
i think that I could fix this if I had the original NWN2 setup disk, or its contents, however I cannot find my disk. Does anyone know where to get setup programs for nwn2 I have the cd key and MotB all i need to do is erase the wine directory and reinstall both of them... i think. Of cource better ideas are welcome.
possible workaround for waiting until night
by Richie on Sunday February 17th 2008, 12:48
pasting a comment that I made in bug 11583, hopefully it helps:
as a test (while its happening), you could go into NWN2 console mode, enable debugmode 1 and run gfxoptions which pulls up a menu with a bunch of special (granular) gfx settings. You can toggle rain as well as night/day.
screen resolution / full screen mode
by Richie on Monday February 11th 2008, 11:27
Is the "emulate a virtual desktop" setting required?
--
I noticed if wine is not set to emulate a desktop then the game only lists one viable screen resolution of 1400x1050 (at least for me). It is possible to leave the virtual setting off and get the game to run in full screen mode for this particular resolution.
--
When I set wine to emulate a virtual desktop of 1680x1050, I was able to select this same resolution from the game however it is obviously now running in window which doesn't fit on the screen (X is set to same resolution).
page fault
by Richie on Sunday February 10th 2008, 1:04
I wanted to make a note on here for those trying to run NWN2, that with a patched up the game, wine could crash with a pretty ugly error if you aren't using the nocd executable. This threw me off a bit, because 1.0 worked with game cd in the drive and also I didn't expect a page fault crash as a result of securom attempting to validate the cd. I thought there was something else wrong.
--
Of course after using a nocd executable this problem subsided. Yes, it is in the instructions, but this note is for those who like to see possible reasons why you could get the error below. An more importantly to keep you from going off on some tangent like I did. I've seen several different things cause this type of error, not specific to NWN2. This is simply another reason to add to the list.
--
In short, the error:
Unhandled exception: page fault on execute access to 0x???????? in 32-bit code (0x????????).
this was followed by a stack dump
Modified
[HKLM\Software\Microsoft\.NetFramework\Policy\AppPatch\v[SOMETHING].00000]
to
[HKLM\Software\Microsoft\.NetFramework\Policy\AppPatch\v2.0.50727.00000]
start it up :
.wine/drive_c/Program Files/Atari/Neverwinter Nights 2/wine NWN2ToolsetLauncher.exe
.wine/drive_c/windows/system32/
fixme:process:IsWow64Process (0xffffffff 0x34f8dc) stub!
fixme:virtual:NtAllocateVirtualMemory MEM_WRITE_WATCH type not supported
err:ole:CoGetObjectContext apartment not initialised
fixme:shell:URL_ParseUrl failed to parse L"msvcm80"
fixme:shell:URL_ParseUrl failed to parse L"System.Windows.Forms"
fixme:shell:URL_ParseUrl failed to parse L"System"
fixme:shell:URL_ParseUrl failed to parse L"NWN2Toolset"
fixme:shell:URL_ParseUrl failed to parse L"System.Drawing"
fixme:shell:URL_ParseUrl failed to parse L"OEIShared"
fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE
fixme:shell:URL_ParseUrl failed to parse L"Accessibility"
fixme:shell:URL_ParseUrl failed to parse L"DotNetMagic2005"
fixme:win:EnumDisplayDevicesW ((null),0,0x7cf07fcc,0x00000000), stub!
Segmentation fault (core dumped)
BUT if I remove fonts, e.g.
cd .wine/drive_c/windows
mv fonts fontsorig
Toolkit Window rises up nicely, albeit with garbage instead of text on the file. And after a while it starts to complain about pasrseURL : fixme:shell:URL_ParseUrl failed to parse L"NWN2Toolset.resources"
Load times
by Torbjørn Mæhle on Saturday January 26th 2008, 19:25
I'm trying to get this game to run reasonably well, but have some issues:
The load times between areas are slooow, to load Mulsantir city (MotB) takes several minutes. Annoying.
The outdoor framerate is equally slooow. Like 0,2 fps.
I've been fiddling with Direct3D registry entries to try and get better results for the graphic, but with no luck so far.
Do anyone have a detailed recipie for installing and running this game? I've tried to follow one given in the NWN2 v. 1.06.973 thread, but it doesn't seem to help out with theese two problems.