PDA

View Full Version : K1, Script Decompiler


harIII
12-08-2008, 08:37 AM
Is there a program that can decompile scripts in K1?

Seamhainn
12-08-2008, 09:02 AM
To my greatest regret, unfortunately, not.

harIII
12-08-2008, 09:50 AM
Is there anyway that you can find the source codes of the scripts in modules? I've searched for such things but could never find them in the BIFs section of uncompiled scripts.

Seamhainn
12-08-2008, 10:15 AM
BIFs -> scribts.bif -> Script, Source

There is nothing more anywhere...

harIII
12-08-2008, 10:25 AM
Okay, thanks.

Marius Fett
12-13-2008, 10:07 AM
You can use the TSL script De-Compiler with K1 aswell, I believe.

ForeverNight
12-13-2008, 10:32 AM
NWNNSSCOMP (http://www.lucasforums.com/showthread.php?t=145516) is able to both Compile and De-compile.

Sure, it requires use of the command prompt, but it does the job...

...just make sure you're able to use the Command Prompt before Downloading.

How: Start-->Run-->TYPE: cmd

If it pops up and looks like a weird version of DOS than you're good!

glovemaster
12-14-2008, 12:18 PM
I'm pretty sure that nwnnsscomp decompiles into pcode, which is pretty useless.

-EDIT-
You can use the TSL script De-Compiler with K1 aswell, I believe.
It works on some scripts I've found in the past, most of the time it works fairly accurately.

tk102
12-14-2008, 01:07 PM
I'm pretty sure that nwnnsscomp decompiles into pcode, which is pretty useless.
I wouldn't say that. The pcode tells what functions, strings, and integers are being used from just a cursory inspection. That alone is enough to figure out what 3/4 of the scripts are doing.

harIII
12-15-2008, 11:27 AM
Okay, thanks, I will try some of these this afternoon.