View previous topic :: View next topic |
Author |
Message |
Sherincall
Joined: 14 Mar 2009 Posts: 7 Location: Santa Clara, CA
|
Posted: Fri Sep 14, 2012 9:18 Post subject: Byte code specifications |
|
|
Is there any place where I can find the NWScript bytecode specifications, or some documentation on exactly how it works?
All the links I've found go to torlack.com, which is gone, or are extremely vague.
I'm hoping there's a centralized document, so I won't have to disassemble the scripts to figure it out from there, nor to look through Skywing's compiler code for bits of it.
And another question - is the bytecode for NWN2 any different?
Thanks. _________________ Shadows and Silver |
|
Back to top |
|
|
Squatting Monk
Joined: 28 Jun 2007 Posts: 76
|
Posted: Fri Sep 14, 2012 9:54 Post subject: |
|
|
Dunno if this will help, but you can still view torlack.com on the Wayback Machine. |
|
Back to top |
|
|
Sherincall
Joined: 14 Mar 2009 Posts: 7 Location: Santa Clara, CA
|
Posted: Fri Sep 14, 2012 10:18 Post subject: |
|
|
Ouch. I feel stupid for giving up after a couple of archives failed to load.
Thanks! _________________ Shadows and Silver |
|
Back to top |
|
|
elven
Joined: 28 Jul 2006 Posts: 259 Location: Germany
|
Posted: Sat Sep 15, 2012 13:21 Post subject: |
|
|
The bytecode for nwn2 is the same as with nwn1 (with different function calls, of course, but same opcodes).
There's some written documentation by Skywing himself as well:
http://www.nynaeve.net/Skywing/nwn2/Documentation/ncs.html
Reading that, together with looking at the .pcode output from diassembling ncs files (via nwnnsscomp) should get you started nicely. |
|
Back to top |
|
|
|