xboxscene.org forums
OG Xbox Forums => Game Hacking => Xbox Game Forums => KOTOR - Knights of the old Republic => Topic started by: VoxAngel on March 03, 2008, 03:00:00 AM
-
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.
-
Um, I did that. It doesn't work it sets root directory to C:/Program files/NeverwinterNights/Nwn and expects some NwnStdLoader.
-- 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 ([email protected])
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
-
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.
-
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 - [email protected]