Jump to content


Photo

Kotor 2: Script Compiling


  • Please log in to reply
5 replies to this topic

#1 NevRExcptDef34t

NevRExcptDef34t

    X-S Enthusiast

  • Members
  • 17 posts

Posted 03 March 2008 - 01:48 AM

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.))

#2 VoxAngel

VoxAngel

    X-S Senior Member

  • Moderator
  • PipPip
  • 206 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 03 March 2008 - 11: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.


#3 NevRExcptDef34t

NevRExcptDef34t

    X-S Enthusiast

  • Members
  • 17 posts

Posted 04 March 2008 - 06:54 AM

Um, I did that. It doesn't work it sets root directory to C:/Program files/NeverwinterNights/Nwn and expects some NwnStdLoader.

-- NevRExcptDef34t

#4 NevRExcptDef34t

NevRExcptDef34t

    X-S Enthusiast

  • Members
  • 17 posts

Posted 04 March 2008 - 07:05 AM

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

#5 VoxAngel

VoxAngel

    X-S Senior Member

  • Moderator
  • PipPip
  • 206 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 04 March 2008 - 10:52 AM

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.

Edited by VoxAngel, 04 March 2008 - 10:56 AM.


#6 NevRExcptDef34t

NevRExcptDef34t

    X-S Enthusiast

  • Members
  • 17 posts

Posted 04 March 2008 - 09:39 PM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users