RLG Posted February 11, 2023 Posted February 11, 2023 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 Quote
JCarter426 Posted February 11, 2023 Posted February 11, 2023 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. Quote
RLG Posted February 12, 2023 Author Posted February 12, 2023 Thank you How do I fix the registry? Quote
Guest Qui-Gon Glenn Posted February 15, 2023 Posted February 15, 2023 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. Quote
DarthParametric Posted February 16, 2023 Posted February 16, 2023 I created a batch script that can automate the registry key setting process - https://github.com/DarthParametric/KOTOR_Registry_Install_Path_Editor Quote
Guest Qui-Gon Glenn Posted February 18, 2023 Posted February 18, 2023 So... did you get your script compiled? Can we finally play the Leather Goddesses of Deralia? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.