tk102 Posted May 2, 2004 Share Posted May 2, 2004 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 http://www.pcgamemods.com/5278/ Link to comment Share on other sites More sharing options...
Darth333 Posted May 2, 2004 Share Posted May 2, 2004 Good work! Just extracted the files. That will save a lot of time(and questions i hope)! Link to comment Share on other sites More sharing options...
messkell Posted May 2, 2004 Share Posted May 2, 2004 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 More sharing options...
Darth333 Posted May 3, 2004 Share Posted May 3, 2004 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 More sharing options...
messkell Posted May 3, 2004 Share Posted May 3, 2004 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 More sharing options...
Darth333 Posted May 3, 2004 Share Posted May 3, 2004 This is the script compiler/decompiler i am using: http://www.megamods.de/_data/parts/dl.php?file=37 Sorry I cannot help much more with this. Link to comment Share on other sites More sharing options...
tk102 Posted May 3, 2004 Author Share Posted May 3, 2004 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 Link to comment Share on other sites More sharing options...
tk102 Posted May 3, 2004 Author Share Posted May 3, 2004 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 More sharing options...
T7nowhere Posted May 3, 2004 Share Posted May 3, 2004 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 More sharing options...
tk102 Posted May 3, 2004 Author Share Posted May 3, 2004 NCSRip will extract all the .ncs at once. You can decompile all the .ncs files by issuing the following command: nwnnsscomp -d *.ncs Link to comment Share on other sites More sharing options...
T7nowhere Posted May 3, 2004 Share Posted May 3, 2004 HA! that is so cool. great work tk102 Link to comment Share on other sites More sharing options...
messkell Posted May 3, 2004 Share Posted May 3, 2004 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 More sharing options...
tk102 Posted May 3, 2004 Author Share Posted May 3, 2004 And I thought I was the only one who wanted something like this... I'll be here all week folks, and I take requests. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.