*Atris* Posted March 15, 2005 Share Posted March 15, 2005 Hi im having problems compilling scripts, i heard it's possible to compile scripts using kotor tool so can some help me WHat do i need to do? What do i need to download? and where do i need to put it? Thanx in advance THis is the Chatracter im hoping to recruit http://img14.exs.cx/img14/2387/649717tu.jpg Link to comment Share on other sites More sharing options...
tk102 Posted March 15, 2005 Share Posted March 15, 2005 First thing to do is see if this tutorial helps you. http://www.lucasforums.com/showthread.php?s=&threadid=143681 For KotOR Tool compiling, you'll also need Fred Tetra's nwnnsscomp.exe (available at the KotOR Tool website) Described here: http://www.lucasforums.com/showthread.php?s=&threadid=145516 Link to comment Share on other sites More sharing options...
*Atris* Posted March 15, 2005 Author Share Posted March 15, 2005 i followed instructions and got this message http://img80.exs.cx/img80/7453/image27qq.jpg Link to comment Share on other sites More sharing options...
Darth333 Posted March 15, 2005 Share Posted March 15, 2005 Originally posted by *Atris* i followed instructions and got this message http://img80.exs.cx/img80/7453/image27qq.jpg I see you are from UK. Did you fix nwscript.nss as indicated in the second warning in this thread? http://www.lucasforums.com/showthread.php?s=&threadid=143681 Link to comment Share on other sites More sharing options...
Xcom Posted March 15, 2005 Share Posted March 15, 2005 Atris, I think you should use Fred's compiler executable, but don't actually use KT to compile (via Project Builder). It's as effecient as cleaning bathroom with a toothbrush. (erm, sorry.. but in time I kind of started to hate that KT feature...). Extract all scripts sources (nss) to a separate directory, copy Fred's nnwnsscomp.exe to that directory too, and use some kind of batch file. Link to comment Share on other sites More sharing options...
*Atris* Posted March 15, 2005 Author Share Posted March 15, 2005 @Darth333 i downloaded the nwnscript from the thread @Xcom what batch file do you use? Link to comment Share on other sites More sharing options...
Xcom Posted March 15, 2005 Share Posted March 15, 2005 Well, in a practical scenario, I always need to compile one or two scripts at a time, therefore my batch looks like this: @echo off nwnnsscomp -c somescript Mind, that I am using previous version of Fred's compiler. If you have the latest version, it would probably look like this: @echo off nwnnsscomp -c g 2 somescript g switch is for game version (2 means TSL). Link to comment Share on other sites More sharing options...
*Atris* Posted March 15, 2005 Author Share Posted March 15, 2005 well i cant even load up nwnnsscomp, right sorri but treat me as if im an idiot (which i am but...) ive downloaded the nwnnsscomp and nwsript where do i put them? Link to comment Share on other sites More sharing options...
Darth333 Posted March 15, 2005 Share Posted March 15, 2005 Read the tutorial pointed out by tk102 very carefully: everything you are asking is explained there. You can't open nwnsscomp.exe by double clicking on it. You have to use either a batch file or run it from a command prompt. Link to comment Share on other sites More sharing options...
Xcom Posted March 15, 2005 Share Posted March 15, 2005 Originally posted by *Atris* well i cant even load up nwnnsscomp, right sorri but treat me as if im an idiot (which i am but...) ive downloaded the nwnnsscomp and nwsript where do i put them? Just anywhere you want. Create some custom directory where you will store all your scripting stuff. Keeps things organized. Files in your directory: nwnnsscomp.exe nwscript.nss somescript.nss compile.bat compile.bat is a batch file containing the lines I posted above. somescript.nss is the script you actually want to compile. Then you just double-click on compile.bat and off it goes. If everything goes well, you should find somescript.ncs in that same directory. Link to comment Share on other sites More sharing options...
*Atris* Posted March 15, 2005 Author Share Posted March 15, 2005 im sorri to be annoying but i cnt get it too work. i created a folder put this in http://img203.exs.cx/img203/6801/image27xs.jpg click on compil it pops up for 1/2 a second and goes Link to comment Share on other sites More sharing options...
Xcom Posted March 15, 2005 Share Posted March 15, 2005 Ok, change your bat file to look like this (basically add "pause" at the end) and check what it says in the dos window. (or better, post a screenshot of that) @echo off nwnnsscomp -c g 2 somescript pause Link to comment Share on other sites More sharing options...
*Atris* Posted March 15, 2005 Author Share Posted March 15, 2005 http://img229.exs.cx/img229/5016/image7927rc.jpg Link to comment Share on other sites More sharing options...
Fred Tetra Posted March 15, 2005 Share Posted March 15, 2005 I have a new version of Kotor Tool (which will be posted tonight) that knows how to compile Kotor II:TSL projects. You just need to have created an override folder in your Kotor II:TSL game directory and placed the "fixed" version of nwscript.nss in it to prepare for using the updated Project Manager. The instructions for using the Project Manager feature are here (Bear in mind these apply to Kotor Tool version 1.0.1900.26653 or later, which is due to be released later today {2005-3-15}) Link to comment Share on other sites More sharing options...
Xcom Posted March 15, 2005 Share Posted March 15, 2005 Originally posted by *Atris* http://img229.exs.cx/img229/5016/image7927rc.jpg What is that? Are you sure you are using Fred's compiler? I've never seen such message. You obviously have Kotor Tool. Go to c:\program files\fred tetra\kotor tool and find nwnnsscomp.exe there. Copy it to your custom Scripts directory which you created (and obviously overwrite the other executable you have there). And try again. Also post the script you are trying to compile. Just to make sure. Link to comment Share on other sites More sharing options...
mortis42 Posted March 16, 2005 Share Posted March 16, 2005 Originally posted by *Atris* http://img229.exs.cx/img229/5016/image7927rc.jpg In my limited experience, I have noticed that the nwnnsscomp.exe from the kotor tool site is fickle. I haven't been able to make it compile without giving --outputdir and -g switches. I put all my scripts in a Source sub-folder, and then create an Override sub-folder. So I have nwnnsscomp.exe, nwscript.nss, compile.bat files and Override and Source sub-folders in one directory. D:. ¦ compile.bat ¦ nwnnsscomp.exe ¦ nwscript.nss ¦ +---Override ¦ script1.ncs ¦ script2.ncs ¦ +---Source script1.nss script2.nss Then I run the batch file: cls @echo off echo. echo Compiling scripts from Source to Ovveride nwnnsscomp.exe -c -g 2 --outputdir "Override" "source\42_eb_cargo.nss" "source\k_003ebo_enter.nss" tree /f pause I have never been able to get the Project Manager in kotor tool to work (same error that you showed). I'm looking forward to the new version tonight to try again. I had assumed that it was because I was running .NET 2.0 instead of 1.1. Link to comment Share on other sites More sharing options...
Fred Tetra Posted March 16, 2005 Share Posted March 16, 2005 Kotor Tool hasn't supported TSL script compilation via the Project Manager prior to the upcoming release, so if you were getting errors, this is most likely the reason. Edit: The version posted 2005-3-15 (v1.0.1900.40262 (2005-3-15 23:27)) has the support built in. See here Link to comment Share on other sites More sharing options...
mortis42 Posted March 16, 2005 Share Posted March 16, 2005 Originally posted by Fred Tetra Kotor Tool hasn't supported TSL script compilation via the Project Manager prior to the upcoming release, so if you were getting errors, this is most likely the reason. Edit: The version posted 2005-3-15 (v1.0.1900.40262 (2005-3-15 23:27)) has the support built in. See here If anyone cares, the new version of kotor tool compiled fine for me. 8) Link to comment Share on other sites More sharing options...
*Atris* Posted March 16, 2005 Author Share Posted March 16, 2005 Yep just tried it Thanx Fred the new tool works More great work from Fred Link to comment Share on other sites More sharing options...
Fred Tetra Posted March 16, 2005 Share Posted March 16, 2005 Good to hear that it works for you. Some people like command line tools, others feel more comfortable with GUIs. Now you can use either one! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.