lfnetwork.com mark read register faq members calendar

Thread: NCSRip
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 05-02-2004, 01:43 PM   #1
tk102
Well past expiration date
 
tk102's Avatar
 
Join Date: Jan 2004
Posts: 5,765
Current Game: Assassin's Creed 4
Forum Veteran Helpful! Notable contributor 
NCSRip

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
Code:
find /i /c "SetDialogPlaceableCamera" *.pcode | find /v ": 0" | find "-" > out.txt
Available at http://www.pcgamemods.com/5278/



Last edited by tk102; 08-20-2004 at 02:01 PM.
tk102 is offline   you may: quote & reply,
Old 05-02-2004, 02:09 PM   #2
Darth333
Administraterror
 
Darth333's Avatar
 
Status: Administrator
Join Date: Feb 2004
Location: In my secret dungeon...
Posts: 8,292

Good work! Just extracted the files. That will save a lot of time(and questions i hope)!
Darth333 is offline   you may: quote & reply,
Old 05-02-2004, 07:54 PM   #3
messkell
 
messkell's Avatar
 
Join Date: May 2002
Posts: 149
Re: NCSRip

Quote:
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
Code:
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).
messkell is offline   you may: quote & reply,
Old 05-02-2004, 08:01 PM   #4
Darth333
Administraterror
 
Darth333's Avatar
 
Status: Administrator
Join Date: Feb 2004
Location: In my secret dungeon...
Posts: 8,292
Re: Re: NCSRip

I may be wrong with this but i think
Code:
nwnnsscomp -d your_script
, can only decompile a script located in the current directory. I am using this without any problem.

Quote:
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).
Darth333 is offline   you may: quote & reply,
Old 05-02-2004, 08:14 PM   #5
messkell
 
messkell's Avatar
 
Join Date: May 2002
Posts: 149
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
messkell is offline   you may: quote & reply,
Old 05-02-2004, 09:16 PM   #6
Darth333
Administraterror
 
Darth333's Avatar
 
Status: Administrator
Join Date: Feb 2004
Location: In my secret dungeon...
Posts: 8,292
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.
Darth333 is offline   you may: quote & reply,
Old 05-02-2004, 09:44 PM   #7
tk102
Well past expiration date
 
tk102's Avatar
 
Join Date: Jan 2004
Posts: 5,765
Current Game: Assassin's Creed 4
Forum Veteran Helpful! Notable contributor 
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


tk102 is offline   you may: quote & reply,
Old 05-02-2004, 09:51 PM   #8
tk102
Well past expiration date
 
tk102's Avatar
 
Join Date: Jan 2004
Posts: 5,765
Current Game: Assassin's Creed 4
Forum Veteran Helpful! Notable contributor 
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.


tk102 is offline   you may: quote & reply,
Old 05-02-2004, 09:51 PM   #9
T7nowhere
Did you reset?
 
T7nowhere's Avatar
 
Join Date: Jan 2004
Location: Vancouver, BC
Posts: 2,972
Veteran Modder Forum Veteran Helpful! Notable contributor 
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.
Code:
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.
T7nowhere is offline   you may: quote & reply,
Old 05-02-2004, 09:53 PM   #10
tk102
Well past expiration date
 
tk102's Avatar
 
Join Date: Jan 2004
Posts: 5,765
Current Game: Assassin's Creed 4
Forum Veteran Helpful! Notable contributor 
NCSRip will extract all the .ncs at once. You can decompile all the .ncs files by issuing the following command:
Code:
nwnnsscomp -d *.ncs


tk102 is offline   you may: quote & reply,
Old 05-02-2004, 09:58 PM   #11
T7nowhere
Did you reset?
 
T7nowhere's Avatar
 
Join Date: Jan 2004
Location: Vancouver, BC
Posts: 2,972
Veteran Modder Forum Veteran Helpful! Notable contributor 
HA! that is so cool.
great work tk102
T7nowhere is offline   you may: quote & reply,
Old 05-02-2004, 10:03 PM   #12
messkell
 
messkell's Avatar
 
Join Date: May 2002
Posts: 149
Quote:
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"
messkell is offline   you may: quote & reply,
Old 05-02-2004, 10:09 PM   #13
tk102
Well past expiration date
 
tk102's Avatar
 
Join Date: Jan 2004
Posts: 5,765
Current Game: Assassin's Creed 4
Forum Veteran Helpful! Notable contributor 
And I thought I was the only one who wanted something like this...

I'll be here all week folks, and I take requests.


tk102 is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > NCSRip

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:18 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.