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

Runtime errors after applying patch

The game works just fine in Crossover Games Mac 7.2. I installed all the way to Storm of Zehir, applied the crack, added the registry keys and the dll overrides, and the game works great. However, after applying the nwn2_pcx2_english_from1211549_to1221586.rtp patch using NWNpatcher, now I get a runtime error on running the .exe.

"Runtime Error! R6034 An application made an attempt to load the C Runtime Library incorrectly."

This happens with or without the cracked .exe, so it has something to do with the patch and not the crack. Any ideas?

Clocknova wrote:

The game works just fine in Crossover Games Mac 7.2. I installed
all the way to Storm of Zehir, applied the crack, added the registry
keys and the dll overrides, and the game works great. However,
after applying the nwn2_pcx2_english_from1211549_to1221586.rtp patch
using NWNpatcher, now I get a runtime error on running the .exe.

"Runtime Error! R6034 An application made an attempt to load the C
Runtime Library incorrectly."

This happens with or without the cracked .exe, so it has something
to do with the patch and not the crack. Any ideas?

Quick reaction (don't know if it will fix it or not), you can try installing the Microsoft Visual C++ Redistributable package (it's one of the packages that's available if you have unchecked 'Hide service packs and dependencies'.

Good luck!

Nope. I already tried that.

This is definitely related to the Visual C++ 2005 (or 2008) Redistributable Package. I've had problems with this before on both Linux and Mac. Reinstalling either the 2005 or 2008 package isn't guaranteed to work, but for some reason it sometimes does. I believe the error output is moaning about not being able to parse Microsoft.VC80.CRT.manifest.

Tried installing both. No change. After installing Storm of Zehir, I applied the patches in the following order:

nwn2_pcx2_englishvofix_from1201541_to1201541.zip
nwn2_pcx2_scriptfix_from1201541_to1201541.zip
nwn2_pcx2_english_from1201541_to1211549.zip
nwn2_pcx2_english_from1211549_to1221586.zip
nwn2_pcx2_english_from1221586_to1221587.zip
nwn2_pcx2_english_from1221587_to1221588.zip
nwn2_pcx2_modfix_nx1_from1211549_to1221587.zip

This was the order I saw listed several times on line. The game works up to the 1211549 patch. It's the 1221586 patch that seems to kill it.

This is the end of the log file for this error:

fixme:actctx:parse_assembly_elem wrong version for assembly manifest: 8.0.50727.762 / 8.0.50608.0
fixme:actctx:parse_manifest_buffer failed to parse manifest L"C:\Program Files\Atari\Neverwinter Nights 2\Microsoft.VC80.CRT.manifest"
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT"
fixme:advapi:SetEntriesInAclA 1 0x33f7ec 0x0 0x33f824
fixme:advapi:SetSecurityInfo stub
fixme:advapi:SetEntriesInAclA 1 0x33f7d8 0x0 0x33f820
fixme:advapi:SetSecurityInfo stub
fixme:advapi:SetEntriesInAclA 1 0x33f7f8 0x0 0x33f840
fixme:advapi:SetSecurityInfo stub
err:module:attach_process_dlls "MSVCR80.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\Program Files\Atari\Neverwinter Nights 2\nwn2.exe" failed, status c0000142

MSVCR80.dll seems to be the culprit but, so far, no solutions.

Well, I somehow got it to work. I was pretty sure I had tried this once before, but what I did this time was to redownload the MS Visual C ++ 2005 runtime and install that, rather than the cached version. Now all of the proper files and folders are present in the winsxs folder and the game starts and plays just fine. I also figured out how to get the game's built-in updater to work, but I'll post that in the Tips section as soon as my advocate status is approved.

So there it is; one mystery solved, and another is born.

The game crashes as soon as I leave the house at the start of the game, so it's not really working yet, but it's a start.

I've gotten through the install and complete set of patches. Now, I get the same runtime errors as everyone else. I've trying copying the dlls from sxs folder to the nwn2 directory and also have successfully installed the visual basic c++ 2005 re-distributable, but the loading still hangs up on mxvcr80.dll. Anyone having any additional progress?

Running MacBook Pro, OS X 10.5, nVidia GeForce 8600M 256...

Same error here. I've got the Direct2Drive version of NWN2 & SoZ expansion. I've applied all the recommended patches and reinstalled MS Visual C++ 2005 from the website. I still get the same R6034 error. I'm going to apply the last available NWN2 patch as the D2D version doesn't require No-CD cracks.

Update: as expected, no change with applying the 1.22.1588 patch. Still have the R6034 error. Has anybody had any success with using the 2008 C++ package?

SMDGomez wrote:

Update: as expected, no change with applying the 1.22.1588 patch.
Still have the R6034 error. Has anybody had any success with using
the 2008 C++ package?

Checking the microsoft website, the msvc++ 2008 package does not provide the required
dll file (msvcr80.dll) => it provides msvcr90.dll instead...this actually infers that
the msvc++ 2005 is a required dependency here...

That said, I wouldn't install it via a website download --> in cxinstallwizard, tick
'Show all service packs and dependencies' -> Microsoft Visual C++ 2005 Redistributable
is in the list....install it that way.

...somehow, 'R6034' rings a bell in my head....hmm....has anyone tried installing =both=
Microsoft Visual C++ 2005 Redistributable and Microsoft Visual C++ 6.0 Redistributable
into the same bottle by using cxinstallwizard's 'Show all service packs and dependencies'
feature? I don't know if it'll help, but I certainly (and recently) had one title that
required both these packages to be preinstalled into the bottle before the game would work.

1 to 11 of 11

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...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzM4NzIzMjIwLCJjc3JmX3Rva2VuIjoiNHB1OFd1eEhnTXA2c2RVTCIsImdkcHIiOjB9