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 Script Compiler (download)

Page: 1 of 1
 HazardX
01-01-2004, 1:55 PM
#1
Hi all!

I've ported Torlack's (www.torlack.com) NWN Script Compiler to KotOR.

You can download it HERE (http://www.hazardx.com/details.php?file=37)!)

Greetings
Hazard
 eidospsogos
01-01-2004, 4:08 PM
#2
oh wow. this is great. nice to see so many people diving into this thing. i knew it wouldn't be long before everyone got into figuring this stuff out. this game is too good, to not mod.
 Den Baster
01-01-2004, 4:47 PM
#3
And this compiler also decompiler
 eidospsogos
01-01-2004, 6:13 PM
#4
ah, well that's good to know. boy alot more's getting done than i thought would. everyone at the bioware forums was acting like the law would be coming down on anyone who even discussed modding. like you'd make your post and all of a sudden the police would be at your door.
 tk102
10-14-2004, 3:47 PM
#5
Wow, this is going to come in handy! Thanks HazardX!
 Darth333
10-14-2004, 4:10 PM
#6
Erm...tk102...my friend :D...did you spent the entire day looking for this thread?:roleyess: what is this with all those old threads popping up since the search function has been disabled? :confused: or is this some sort of programmers' revenge?

http://img.photobucket.com/albums/v144/Darth333/lock.jpg)
:rolleyes:
 tk102
10-14-2004, 5:34 PM
#7
It is both Darth333. But how many people ever said thank you to HazardX for what is undoubtedly one of the top 2 tools ever built for modding KotOR?
 Darth333
10-14-2004, 5:44 PM
#8
This is too true. That was the good old times when everything had to be done...without you, Fred, HazardX, Eiz and cchargin, this community would not exist :) Thanks!
 T7nowhere
10-14-2004, 6:01 PM
#9
Originally posted by Darth333
This is too true. That was the good old times when everything had to be done...without you, Fred, HazardX, Eiz and cchargin, this community would not exist :) Thanks!

Agreed.

And even though HazardX may never see this thanks just the same.
 RedHawke
10-14-2004, 6:37 PM
#10
^^^^
This is so true, I don't think any modder would be able to do 1/4 of what they can do without this tool!

Thanks as well HazardX! :D
 Fred Tetra
10-22-2004, 5:37 AM
#11
I am currently re-writing nwnnsscomp to make up for some shortcomings in it's command-line parser that make it difficult (or messy) to call from another program.

Back when I got the source, which was before I started on Kotor Tool, I didn't realize that only a simple un-checked option in my Visual Studio .NET installation was all that kept me from compiling it. Last night I managed to build the original source and get it to compile the nwscript.nss for Neverwinter Nights. I also did not realize that all it took was 4 lines of code had to be added or changed to make it work with KotOR to the point that I can build my KotOR scripts :D :D

This may be an ambitious effort, but if there are feature requests that anyone has, make them, and I'll see what I can do. Don't bother asking for a GUI, I have already addressed that in the version of Kotor Tool currently in development.
 RedHawke
10-22-2004, 7:10 PM
#12
^^^^
That sounds very, very cool Fred! :D
 HazardX
10-24-2004, 12:17 PM
#13
Originally posted by Darth333
This is too true. That was the good old times when everything had to be done...without you, Fred, HazardX, Eiz and cchargin, this community would not exist :) Thanks!

Wow, i've never noticed that my Tool (well... my portation of Torlack's tool) is still important for the modding community.

Originally posted by T7nowhere
And even though HazardX may never see this thanks just the same.

*wipes tears out of his eyes* Thanks to everyone for all this appreciation. :D

@Fred Tetra: Good Luck with your Tool. :)
 Thraxwhirl
07-19-2008, 3:48 PM
#14
Hello.

Could you please explain how you get this to work? I read on a modding forum on Filefront that this tool is essential for compiling .nss files into .ncs ones so that dialogue(.dlk) files can execute them, yes?

Well, according to the compiler's readme, the compiler files(.exe and .bat) go in the Kotor II maiin folder, and will compile all .nss files present in the Override folder. I've got that right, yes?

Well, I double-clicked the compiler's .exe file, but that did nothing at all. So I did the same to the .bat file. It threw up a window saying that it's unable to find Neverwinter Nights(I know, it uses the same sourcecode as the NW compiler, but I'm assuming I don't need to own that game as well to use this), and it said "press any key to continue..."

...So I did, and the window closed. It hasn't done anytthing to the .nss file, and no new .ncs file has been created.

Can you help please?

Thanks.
 HazardX
07-19-2008, 4:34 PM
#15
...according to the compiler's readme, the compiler files(.exe and .bat) go in the Kotor II maiin folder...

This tools was made for Kotor1. I can't tell if it works for Kotor2.
 Thraxwhirl
07-19-2008, 4:52 PM
#16
Hi, HazardX.

Thanks for replying.

Hmmm. Not sure if it works for KotoR II you say. Well, I followed a link from a TSL modding forum to this very thread. The link said that this tool of yours is what one has to use in order to compile scripts... so it led me to conjecture that KotoR II scripters have been using it. :(

I guess if not, it begs the question, what tool DO KotoR II scripters use for compiling their .nss files into .ncs ones?

In the sticky of THIS forum, there's a link to a tool by Fred Tatra. I found it AFTER trying with your tool, which is why I haven't yet posted in his thread, as I was waiting for a reply in here. In any case, I know that his tool IS designed for KotoR II... but using his program I still had no success. It seems to do nothing at all. I followed his instructions to the best of my ability - though I must confess I found a great deal of what's written in that thread fairly incomprehensible - but once again, running the .exe did nothing, and the running the .bat just says it can't find any files, not even the game. :(
 noname35
02-24-2012, 11:00 PM
#17
Do you need nwnexplorer? This dosent seem to compile scripts for me so I was just wondering.
 Sithspecter
02-24-2012, 11:02 PM
#18
You should be able to compile scripts using the KotOR Tool.
 noname35
02-24-2012, 11:06 PM
#19
Sithspecter, I cant thank you enough. Your always there for my modding needs. :)
 Sithspecter
02-24-2012, 11:08 PM
#20
No problem, stick with it man!
 noname35
02-24-2012, 11:12 PM
#21
Yeah, I wont go down easy. But, a ? about the Kotor tool. What exactly do I use in the kotor tool (sorry)
 Sithspecter
02-24-2012, 11:19 PM
#22
Hit the "TXT" icon when it opens. Under "Scripts", you can compile for Kotor 1 or 2.
 noname35
02-24-2012, 11:26 PM
#23
Keep getting an error message. Geez, recruitmend mods are frustrating! What would you suggest now?(sorry, again)
 Fallen Guardian
03-01-2012, 8:55 PM
#24
Hey everyone. I've been attempting to compile using this tool and it was working fine up until a few minutes ago, now it says: Unable to locate or open Never Winter Night.

EDIT: Alright, I got it to work again. But it was by restoring a copy of the KotOR directory I had made to test out a TC mod. Is there a better solution, that doesn't involve me keeping that folder there forever?
Page: 1 of 1