3 Screenshots

About This File

About Kotor Scripting Tool

 

Kotor Scripting Tool is my attempt at a scripting interface for nwnnsscomp.exe.

I originally designed this tool to aid me in my scripting efforts back in the day. My desire was to create a scripting tool with some of the creature comforts that today's coders have come to expect. The core features that were important for me were the ability to have NWScript function name Auto Completion and Syntax Highlighting. If anyone is interested in helping to extend its functionality be sure to check out the link to the GItHub repo below.

Anyways that's enough rambling for now!

Happy Modding!

 

Features include:
Compile .nss Scripts
Syntax highlighting
AutoComplete Suggestions (Beta)
Tabbed Text Editor
Advanced Find & Replace
Browsable nwscript function list
Browsable nwscript constants list

 

Zip Archive
Download and extract the zip file. Once extracted navigate to the directory and run Kotor Scripting Tool.exe

 

This program was compiled in C# with version 4.0 of the .NET Framework if you do not already have it downloaded you will need to download it [here].

 

The source code has been released on my GitHub account https://github.com/KobaltBlu/KotOR-Scripting-Tool.

 


What's New in Version v0.1.5.0   See changelog

Released

  • v0.1.5.0
  • * Changed to a different version of nwnnsscomp.exe.
  • * You no longer need either game installed to compile scripts.
  • * You can now change the tab spacing from 2 spaces to 4 spaces.
  •  
  • v0.1.4.0
  • * Fixed a bug that was causing the program to crash on Windows XP.
  •  
  • v0.1.3.1
  • * Fixed a bug where functions with lower case names like the math functions "acos" and "sin" were not displayed correctly in the functions list (Total functions affected 11)
  • * The Functions and Constants lists are now automatically sorted alphabetically by name.
  •  
  • v0.1.3.0
  • *Added preliminary AutoComplete capability for function suggestions as you type.
  • *As AutoComplete is still kind of buggy I added a button in the Options menu to turn off AutoComplete functionality.
  • *Added the ability to set KotOR Scripting Tool as the default application for .nss & .ncs files
  • *Added more documentation.
  • *If you choose Find or Find and Replace the "Find What" field will now be populated with your current selection.

Release 0.1.5.zip

  • Like 5



User Feedback

You may only provide a review once you have downloaded the file.


YourSoul1sMine

  

Greetings Blue. This scripting program is pretty neat. However, I've been having issues when it comes to decompile .ncs scripts. Is there a way to bypass this error?811828156_Screenshot(1).thumb.png.495c85eb14461e52fbbedef58c21e82a.png

 

 

Share this review


Link to review
Neville

  

This worked, but now keeps checking for the CD version of the game to compile script. I use the Steam version.

Response from the author:

I have uploaded v0.1.5 which uses a better version of nwnnsscomp.exe. This new version should no longer require you to have either game installed to compile scripts.

  • Thanks 1

Share this review


Link to review
DarthValeria

· Edited by DarthValeria

  

This program is amazing but

 

I get this error

 

Lookup path root set to: C:/NeverwinterNights/Nwn/
Error: Couldn't initialize the NwnStdLoader

 

Can anyone help me to solve this problem?

Response from the author:

I have uploaded v0.1.5 which uses a better version of nwnnsscomp.exe. This new version should no longer require you to have either game installed to compile scripts.

It sounds like it can't find the nwscript.nss for the game. The program uses nwnnsscomp.exe to compile game scripts. nwnnsscomp.exe is actually pretty smart finding nwscript.nss on it's own from looking in the game archives to looking in the override folder. If it can't find it it will fall back to the scripting tool program folder. There are already nwscript.nss files included in the scripting tool directory just rename either nwscript-kotor.nss or nwscript-tsl.nss to nwscript.nss and then try to compile.

I believe the reason it mentions NWN in the error message is because the original source code for nwnnsscomp.exe was written for NWN, and then source was tweaked to work with KotOR. I'm guessing error messages and fallback lookups still include some of the NWN stuff that is not needed for KotOR.

  • Thanks 1

Share this review


Link to review
ebmar

  

Apparently something borked my K-Tool's "Text Editor" which makes it cannot compile a script. Having breakdown for a long-while... then I found a light at the end of a Kinrath cave which is this awesome - lite - and user friendly tool that works like a charm! Though if possible - an export compile directory feature could be added in the next update by the author.

Many thanks for creating this! :cheers:

  • Thanks 1

Share this review


Link to review
Darth Jack

  
  • Thanks 1

Share this review


Link to review