Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Kotor Scripting Tool (New Application)

Page: 1 of 1
 jamezy91
07-06-2012, 1:30 AM
#1
Well I decided to throw my hat into the ring amidst the slew of Scripting tools for the Kotor games. It was never really my intent to make an app this big but as I started coding I just couldn't stop lol. I started mostly out of my frustration with the other script compilers either not working on my windows 7 machine or lacking features I have become accustomed to in other text processors I use.

Anyways feel free to use and or test it out. Overall I would love to hear feedback from you guys :D.


About Kotor Scripting Tool


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

The tool has many useful features to try and make the scripting process a lot easier.

Features include:
Compile & Decompile Scripts
Syntax highlighting
Tabbed Text Editor
Advanced Find & Replace
Browsable nwscript function list
Browsable nwscript constants list


Future things I would like to include are full decompile capability, and Autocomplete for functions and constants.

I am using Fred Tetra's version of nwnnsscomp.exe (http://www.lucasforums.com/showthread.php?t=145516) therefor it should be compatible with both kotor & tsl. Just a note I have only tried Kotor atm. If you have tsl installed it shoould work though.


Screenshot
http://i70.photobucket.com/albums/i95/jamezy91/KotOR%20Scripting%20Tool/th_theeditor.jpg) (http://s70.photobucket.com/albums/i95/jamezy91/KotOR%20Scripting%20Tool/?action=view&current=theeditor.jpg)http://i70.photobucket.com/albums/i95/jamezy91/KotOR%20Scripting%20Tool/th_findandreplace.jpg) (http://s70.photobucket.com/albums/i95/jamezy91/KotOR%20Scripting%20Tool/?action=view&current=findandreplace.jpg)http://i70.photobucket.com/albums/i95/jamezy91/KotOR%20Scripting%20Tool/th_find.jpg) (http://s70.photobucket.com/albums/i95/jamezy91/KotOR%20Scripting%20Tool/?action=view&current=find.jpg)

Change Log
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.


Installation
Exe Installer
If you download the installer just browse to your download folder and run the setup file. *Note* The installer will also associate .nss & .ncs files with Kotor Scripting Tool.

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

BTW to uncompress the files you will need an application that can uncompress 7-Zip files.

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. (http://www.microsoft.com/en-us/download/details.aspx?id=17851)

Current Release
Kotor Scripting Tool v0.1.3.1 Automatic Installer [Download Here] (http://www.4shared.com/file/PZ8LVJvK/Kotor_Scripting_Tool_v0131_-_I.html)
Kotor Scripting Tool v0.1.3.1 7-Zip [Download Here] (http://www.4shared.com/archive/_R6LqJLC/Kotor_Scripting_Tool_v0131.html)

Previous Versions
Kotor Scripting Tool v0.1.3.0 Automatic Installer [Download Here] (http://www.4shared.com/file/wcfxbs1i/Kotor_Scripting_Tool_v0013_-_I.html)
Kotor Scripting Tool v0.1.3.0 7-Zip [Download Here] (http://www.4shared.com/archive/bYGkujI9/Kotor_Scripting_Tool_v0013.html)
Kotor Scripting Tool v0.1.2.0 7-Zip [Download Here] (http://www.4shared.com/archive/xJr-NBKI/Kotor_Scripting_Tool_v0012.html)
Kotor Scripting Tool v0.1.1.0 7-Zip [Download Here] (http://www.4shared.com/archive/YOCHM4EY/Kotor_Scripting_Tool.html)


If there are any bugs I do apologize I have tried to make sure I got them all... but there always seems to be one or two that slip out.
 bunjeeman
11-17-2012, 10:32 PM
#2
How much better and easier to understand/use is this compared to KotOr Tool? Does it lessen the chance of syntax errors and other general problems?
 supreme kotor
04-14-2013, 5:32 PM
#3
I just love the fact that it has a built in decompiler thats great. :)
 Fair Strides 2
04-15-2013, 10:05 AM
#4
How much better and easier to understand/use is this compared to KotOr Tool? Does it lessen the chance of syntax errors and other general problems?

It's not easier or harder. He's made it possible to script without the games installed, and a few other features.
 Vindikorr
04-16-2013, 5:26 PM
#5
Um, maybe I'm being stupid here but where is the decompiler. Also does it have any added functionality, or does it work any better than, DeNCS?
Page: 1 of 1