logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Byte code specifications

 
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
Sherincall



Joined: 14 Mar 2009
Posts: 7
Location: Santa Clara, CA

PostPosted: Fri Sep 14, 2012 9:18    Post subject: Byte code specifications Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Squatting Monk



Joined: 28 Jun 2007
Posts: 76

PostPosted: Fri Sep 14, 2012 9:54    Post subject: Reply with quote

Dunno if this will help, but you can still view torlack.com on the Wayback Machine.
Back to top
View user's profile Send private message
Sherincall



Joined: 14 Mar 2009
Posts: 7
Location: Santa Clara, CA

PostPosted: Fri Sep 14, 2012 10:18    Post subject: Reply with quote

Ouch. I feel stupid for giving up after a couple of archives failed to load.

Thanks!
_________________
Shadows and Silver
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
elven



Joined: 28 Jul 2006
Posts: 259
Location: Germany

PostPosted: Sat Sep 15, 2012 13:21    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group