ModderEarthHAHA Posted October 2, 2005 Share Posted October 2, 2005 I'm using Fred Tetra's nwnnsscomp to compile a nss-file using these parameters: nwnnsscomp -c -g 2 myfile.nss I get the usual message that you get after a successful compilation (checked a few guides to see if they would mention this), but when I check the dir, there was no ncs-file created. I even tried searching my comp, but no file. I also tried giving nwnnsscomp a output, but nothing. Thanks for any help. Link to comment Share on other sites More sharing options...
LSaberDuelist Posted October 2, 2005 Share Posted October 2, 2005 "nwnnsscomp -c yourScript.nss" produces a ncs in the same directory as the nwnnsscomp.exe Link to comment Share on other sites More sharing options...
ModderEarthHAHA Posted October 2, 2005 Author Share Posted October 2, 2005 "nwnnsscomp -c yourScript.nss" produces a ncs in the same directory as the nwnnsscomp.exe First of all I have to type the "-g 2" for the app to find my nwnscript.nss file for kotor2. But the thing is that it doesn't produce the file. "Compiling: myscript.nss" "Total Execution time = 31ms" *checking the dir where nwnnsscomp.exe is* No .ncs file at all! Link to comment Share on other sites More sharing options...
LSaberDuelist Posted October 3, 2005 Share Posted October 3, 2005 odd, you can also try Kotor tool's project manager to compile scripts, maybe that works for you. Link to comment Share on other sites More sharing options...
ModderEarthHAHA Posted October 3, 2005 Author Share Posted October 3, 2005 odd, you can also try Kotor tool's project manager to compile scripts, maybe that works for you. haven't gotten that one working either actually. I also tried Hazard's compiler just now, but it complains that I don't have NeverWinter Nights. I got those errors in Tetra's as well before I installed the PC-version of the game. Link to comment Share on other sites More sharing options...
Det. Bart Lasiter Posted October 3, 2005 Share Posted October 3, 2005 I got those errors in Tetra's as well before I installed the PC-version of the game. First, copy HazardX's nwnnsscomp (in the KT directory) and cmd.exe (in .\WINDOWS\system32), into an empty folder. Then put any *.nss file into the folder, from there, open cmd from the folder you created, and type the followng into the command line: "nwnnsscomp -v1.00 *.nss". If it doesn't compile you probably have syntax errors in your script. Also, if it's for K2, place the K2 version of nwscript.nss (in scripts.bif), in the folder. Link to comment Share on other sites More sharing options...
stoffe Posted October 3, 2005 Share Posted October 3, 2005 Make sure you have either a main() function or a StartingConditional() function (depending on what type of script it is) in your script. The compiler won't say anything if it's missing, but no NCS script will be created since the script has no starting point. Link to comment Share on other sites More sharing options...
ModderEarthHAHA Posted October 3, 2005 Author Share Posted October 3, 2005 First, copy HazardX's nwnnsscomp (in the KT directory) and cmd.exe (in .\WINDOWS\system32), into an empty folder. Then put any *.nss file into the folder, from there, open cmd from the folder you created, and type the followng into the command line: "nwnnsscomp -v1.00 *.nss". If it doesn't compile you probably have syntax errors in your script. Also, if it's for K2, place the K2 version of nwscript.nss (in scripts.bif), in the folder. Tried it and the results are: *hazards still says it needs NeverWinter Nights. *Tried the same with tetra's, it still acts as if everything is fine, but does not generate the compiled file. Link to comment Share on other sites More sharing options...
ModderEarthHAHA Posted October 3, 2005 Author Share Posted October 3, 2005 Make sure you have either a main() function or a StartingConditional() function (depending on what type of script it is) in your script. The compiler won't say anything if it's missing, but no NCS script will be created since the script has no starting point. THANK YOU! YOU ARE MY GOD!! I would kiss your feet and lick your boots if you were here. I've been sitting with this for almost 9 hours. Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.