v0.1

=================================================

The knsscomp application is intended to be a cross-platform alternative to the various versions of nwnnsscomp that support compiling scripts for KotOR.

If you are using Windows, I would recommend sticking with nwnnsscomp as that is the far more tested and stable solution for compiling script files. That is unless you wish to aid in the development, then continually using knsscomp will help find out bugs and make it stabler program overall.

If you do encounter an issue with a compiled (such as the script not working the way intended in-game) and you have access to nwnnsscomp, then it is recommended to see if it works correctly if compiled with that program instead. If you believe the issue is with knsscomp itself, send the script file to Cortisol on Deadlystream or Discord and he will investigate.

This compiler has the include scripts and nwscript data embedded within the program and so it is not necessary to bundle them in the app folder. You can, however, include nwscript with the knsscomp as a way of the program automatically determining what game version.

=================================================

View help info:
knsscomp -h

Compile a script file:
knsscomp -c [script.nss] -o [script.ncs] -g [1 | 2] --optimize

   -c script.nss       Target script file. Required.
   -o script.ncs       Output filename. Will base name off source file if unspecified.
   -g 1 | 2            Game version. If none is specified will determine from local nwscript.nss file.
   --optimize          Optimize filesize.





