Skip to content

Instantly share code, notes, and snippets.

@JayFoxRox
Last active June 5, 2016 22:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JayFoxRox/a1f73d3a872445253018123c6049c5b7 to your computer and use it in GitHub Desktop.
Save JayFoxRox/a1f73d3a872445253018123c6049c5b7 to your computer and use it in GitHub Desktop.
Discussion about SCM with thelink2012

From 6th of January 2016, around midnight, so maybe started on 5th Stuff is loosely interpreted and sometimes modified. If there is anything untruthful, bad or w/e then take it out on me, JayFoxRox.


thelink2012: welcome to check gta3sc project itself too :P Deji's one is more focused in compiling SA code; mine, VC and III (in fact, I created it trying to compile GTA 3 source code, as it already does)

(This means thelink2012 is our go-to-guy for anything script related from now on!)


thelink2012: Hey, I came from your message on https://gitter.im/Deji69/SCRambl I'm @thelink2012 that you see chatting with Deji above I'm, as him, one of the few people interested in the original scripting language of the game and I have a commands.xml that's usable in III and VC

thelink2012: https://github.com/thelink2012/gta3sc/tree/master/config/gta3


JayFoxRox: may I know the origin of said (commands.xml) file? reading on gtamodding most of the info seems to originate in the "leaked" R* compiler from GTA3 anni. (what's the state of legality of that?)

thelink2012: It was generated off Rockstar's leaked compiler for VC and then matched the difference between 3 commands and VC and fixed them (a few)


JayFoxRox: was it also extended in some way? such as adding argument names or something? will there be updates in the future or is it considered final? [re commands.xml]

thelink2012: ah.. yes.. it was extended https://github.com/thelink2012/gta3sc/blob/master/config/gta3sc.py see init_from_node and to_node in the Argument and Command classes ("code is best documentation :P")


JayFoxRox: I don't want to deal with the copyrighted stuff from the leaked R* compiler so we'll probably only use the argument names / types and use sanny builder files for the opcode names

thelink2012: doubt there's any legal problem in generating data from the so leaked compiler JayFoxRox: yeah R* doesn't even care about the LC TC mod despite it leaking all their assets into the wild :P I'm just slightly worried that they will care if people can just compile their own GTA3 / VC / SA for any platform to come as it will still be a quick cashgrab in the next 20 years or so for them otherwise thelink2012: haha


thelink2012: well R* stuff is just a array of:

typedef struct SCommand // sizeof = 0x43
{
 	bool m_bIsHandled;
 	char m_szCommandName[MAX_CMD_NAME_LENGTH];
  char m_aArgumentTypes[MAX_CMD_ARGUMENTS];
} TCommand;

JayFoxRox: so all the argument names are community provided?

thelink2012: Desc=""? .. yeah


JayFoxRox: can I share this with other OpenRW devs or even publicly?

thelink2012: absolutely

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment