Help - Search - Members - Calendar
Full Version: Kotor 2: Script Compiling
Scenyx Entertainment Community > Xbox1 Forums > Xbox Game Forums > Game Hacking > KOTOR - Knights of the old Republic
NevRExcptDef34t
Hello x-scene community, I need some help on compiling the scripts for KoTOR 2: TSL. I've downloaded the tools but it keeps on going on about C:/NeverwinterNights/Nwm/ can't blah blah blah NwmStdLoader. I have no idea what that means but due to that I cannot compile the scripts. It's driving me mad, and it'll be 10 years most likely before someone will see my post sleep.gif.. If you do happen to read it, please leave a comment.

-- NevRExcptDef34t

((No, don't go blah blah get PC version, if I could I would, my PC sucks.))
VoxAngel
It would help to know how you have things set up. Ideally, you should have nwnnsscomp.exe, a compile.bat, and nwscript.nss in a working folder where you compile the scripts.

You can get away with not using a bat file (if you're more comfortable with a command prompt), but the nwscript.nss file is MANDATORY.
NevRExcptDef34t
Um, I did that. It doesn't work it sets root directory to C:/Program files/NeverwinterNights/Nwn and expects some NwnStdLoader.

-- NevRExcptDef34t
NevRExcptDef34t
C:\Compiler>_CompileAll.bat

C:\Compiler>NWNNSSCOMP -co Override\* Override\
'Star Wars: Knights of the Old Republic' Script Compiler/Decompiler
based on 'NeverWinter Nights' Script Compiler/Decompiler
Copyright 2002-2003, Edward T. Smith
Modified by Hazard (hazard_x@gmx.net)

Unable to locate or open Neverwinter Night

C:\Compiler>pause
Press any key to continue . . .

Now the message is different, it can't make its mind up.

-- NevRExcptDef34t
VoxAngel
For K2, my bat file looks like this:

@echo off
nwnnsscomp -c -g 2 *.nss
pause

That's it.

Change yours to look the same (if it doesn't). Put everything in the same folder, don't run it from the root directory. Make a proper SEPERATE working folder. Make sure you have all the files you need (those 3 I mentioned above) and your source files. There's a difference between K1 and K2 and the compiler needs to be correct in each case or you'll get errors.
NevRExcptDef34t
My compiler doesn't have the -g feature. So can you contact me on AIM or MSN and we can talk there?

AIM - MenaceSx7
MSN - lucifer155@live.com
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.