Jump to content

Home

NCSRip


tk102

Recommended Posts

Originally posted by tk102

NCSRip

Small utility now available that extracts all *.ncs files from all *_s.rim files. You can then use nwnnsscomp to decompile all *.ncs files, which you can then search using a command line such as

find /i /c "SetDialogPlaceableCamera" *.pcode | find /v ": 0" | find "-" > out.txt

 

Available at my website.

 

 

Nice and efficient little utility, TK102...

 

You mentioned that "nwnnsscomp" could be used to decompile the scripts. I tried torlack's version and the hotu-beta version.

 

EX. D:\decompile>nwnnsscomp -d k_ptar_exitapt

 

 

Both versions stated the following error message "Unable to locate or open Neverwinter Night".

 

any help, suggestions would be appreciated(I hope it doesn't require nwn).

Link to comment
Share on other sites

I may be wrong with this but i think

nwnnsscomp -d your_script

, can only decompile a script located in the current directory. I am using this without any problem.

 

Originally posted by messkell

Nice and efficient little utility, TK102...

 

You mentioned that "nwnnsscomp" could be used to decompile the scripts. I tried torlack's version and the hotu-beta version.

 

EX. D:\decompile>nwnnsscomp -d k_ptar_exitapt

 

 

Both versions stated the following error message "Unable to locate or open Neverwinter Night".

 

any help, suggestions would be appreciated(I hope it doesn't require nwn).

Link to comment
Share on other sites

Darth333, thanks for the response.

 

the script was in the same directory with nwnnsscomp.

I tried several other scripts as well..with no luck.

 

furthermore, I tried decompiling them from the root of the drive.

ex. D:\>nwnnsscomp -d k_pend_traskdl29

Link to comment
Share on other sites

I wanted to make the entire contents of decompiled .ncs files available for download, but it's 11 Meg. (Decompressed is 233 Meg.) Freewebs.com doesn't let you upload a file that big for at least a week.

Link to comment
Share on other sites

After a bit of fiddiling I figured out how to use these things :)

 

ok so IS this what a decompiled script is supoosed to look like.

00000008 42 00000065              T 00000065
0000000D 1E 00 00000008           JSR fn_00000015
00000013 20 00                    RETN
00000015 05 00 00CD 00            ACTION ActionPauseConversation(00CD), 00
0000001A 04 03 00000000           CONSTI 00000000
00000020 04 03 00000000           CONSTI 00000000
00000026 04 05 0008 str           CONSTS "trand205"
00000032 05 00 00C8 02            ACTION GetObjectByTag(00C8), 02
00000037 05 00 00D5 01            ACTION GetLocation(00D5), 01
0000003C 04 05 000D str           CONSTS "yav47_trand03"
0000004D 04 03 00000001           CONSTI 00000001
00000053 05 00 00F3 04            ACTION CreateObject(00F3), 04
00000058 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000005E 05 00 00CE 00            ACTION ActionResumeConversation(00CE), 00
00000063 20 00                    RETN

 

also how do you extract all ncs at once.

Link to comment
Share on other sites

Originally posted by tk102

Make sure you are using HazardX's port of Torlack's nwnnsscomp which has been modified for KotOR!

 

That's the link that Darth333 gave--

http://www.megamods.de/_data/parts/dl.php?file=37

 

I didn't have the ported version, that was the problem.

 

Darth333 and TK102, many,many,etc, thanks for all the replies

and assistance. I sincerely appreciate it.

 

You have saved my "saber wielding bacon" :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...