Sign in to follow this  
RLG

Problem With Compiling a Script

Recommended Posts

I feel like such a massive noob, but I keep getting the following error when trying to compile a script:

"Lookup path root set to: \

Error: couldn't initialize  the NwnStdLoader"

I tried running it as an administrator, but the error keeps coming up 

Share this post


Link to post
Share on other sites

It's not able to find nwscript.nss, which contains the declarations of functions needed to compile scripts. NWNNSSComp attempts to read its location from the registry, but later releases of the game don't write to the same location in the registry. If you have it in the same folder as NWNNSSComp, it might be able to read from there, but I'd suggest fixing the registry anyway as other tools have the same problem.

Share this post


Link to post
Share on other sites

Thank you

 

How do I fix the registry?

Share this post


Link to post
Share on other sites
Guest Qui-Gon Glenn

https://steamcommunity.com/sharedfiles/filedetails/?id=779622644

This was written by effixian, a member here.

In short, you need to create keys for the game in registry that contain the path for the game, and then TSLPatcher and KotORTool should work better.

In that post, this local thread is linked, if you need more info -

This should help. For me, KotORTool could not see TSL without adding this key. I then uninstalled and reinstalled KTool, and had success. Was able to compile a script for either game as well.

Share this post


Link to post
Share on other sites
Guest Qui-Gon Glenn

So... did you get your script compiled?

Can we finally play the Leather Goddesses of Deralia?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this