Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Summer Special
      2. The Diamond Casino Heist
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Frontier Pursuits
      2. Find Lobbies & Outlaws
      3. Help & Support
    3. Crews

    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

    2. GTA VI

      1. St. Andrews Cathedral
    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
    6. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    7. GTA III

      1. Guides & Strategies
      2. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    3. Gangs

    1. Announcements

    2. Support

    3. Suggestions

Sign in to follow this  
sleeper777

Opcode Syntax Comparison and analysis

Recommended Posts

sleeper777

Sleeper's SCM Dojo

A place to keep detailed information on the Scripting format and the different editor's (Mission Builders) available. I am currently still in the process of developing the GUI but majority of the functions are working and available. I am trying to collect as much information on the individual opcodes and the various lists/INI(s) and get my database as complete as possible.

 

 

Sleeper's Dojo
Features :
  1. INI Editor
  2. Personal Message system
  3. News & Tutorial Publishing.
  4. Members Area. (Join Today)
  5. Hex<->Dec Conversion Tool
  6. More to come ....
{SA Op-Search+}
Features :
  1. Search by Opcode or Syntax
  2. Search by Operator or Operator combination i.e.(+=, <>, /=, =, etc.)
  3. Search by Common Variable i.e.($player_char, $player_actor)
  4. Common Search List Always Available.
  5. Links to SA-DB, and my own INI Editor
  6. Syntax Coloring, with Descriptive Text Tooltips

See Updates in Last Table Area Below

 

{VC Op-Search+}
Features :
  1. Search by Opcode or Syntax
  2. Search by Operator or Operator combination i.e.(+=, <>, /=, =, etc.)
  3. Search by Common Variable i.e.($player_char, $player_actor)
  4. Supports Mission Builder VC 1.4, Sanny Builder 2.99e {VC 2.1.000}, and VCME/GTAMA
Tutorials Publishing Center
  • Can Post in HTML or plain text.
  • Can Edit Tutorial on Site
Other Planned Features for Tutorial Center Include :
  • Image upload for tutorial assistance
  • Upload various Files completed for parsing into tutorial center. (i.e. .txt, .rtf, .doc)
Changes/Updates
  • Incorporated Tomworld10's Suggestions on Syntax Coloring for SA
  • Removed Debug text for Syntax Coloring (Thanks Y_Less)
  • Added Latest Sanny INI and Opcodes.txt (Still need a full list of all opcodes).
  • Added Secondary Notes Field to the INI Editor for keeping notes that do not get written to the INI
  • Added Unified Opcode Database INI and another syntax field using this INI
  • Added Wiki Links as just plain (title=00a0:)
  • Revised formatting of Op-Search table for more compact view. (working on a detail page for each opcode now)
Please feel Free to make suggestions or comments, If you need help please don't hesitate to ask.

Note :

As newer data is collected and more features are added some pages may be broken for a short period of time please be patient and please report any serious errors you receive.

 

ph34r.gifph34r.gifph34r.gif Edited by sleeper777

Share this post


Link to post
Share on other sites
tomworld10

Hi,

 

 

 

I like that a lot, sorry, I love that so much !!!! This is a very nice tool.

 

Because :

 

  1. It uses colors to differentiate parameters types, and in my opinion it is essential.
  2. It gives us the ini parameters, for all builders.
  3. It tells us the comments like if it has never been use in VC, which is great and where SA "coders" like me discover that a big load of opcodes found in SA work for VC.
  4. It's a flexible search tool.

 

Can't wait for SA version !!!!!

 

But, have you noticed that negatives conditional opcodes don't get the ini comment ?

If you could make the parameters details for Sanny in the same colors that they appear in Sanny (local/globals=blue, labels=green, strings=red, models=bold/brown, floats/integers=brown) it would be so great.

 

I just discovered that while typing the message :

Ain't Mission Builder and Sanny Builder parts swaped ????

 

Mission Builder VC 1.4set_car [email protected] to_normal_driver   set_car   [email protected] Local Variable: Variables used within a thread usually Floating Point values or Integers   to_normal_driverSanny Builder VC 2.1.000set_car $1889 to_normal_driverNotes :set_car_driver_normal

 

 

 

Because For MB a local variable is @0 and not [email protected]

Looking closer it really seems that they are swapped, but sometimes I found [email protected] in both description (like 0202). And by the way, this makes me understand that Sanny is THE builder to use for VC.

 

 

Beautiful tool keep it up !!!!

 

 

 

 

Have fun

 

 

 

Share this post


Link to post
Share on other sites
sleeper777

 

Because For MB a local variable is @0 and not [email protected]

 

In all my experience with MB the @ has always come after the variable signifying a Local Variable in all the major versions for VCMB

 

Only in SAMB 0.33 does this change and since the above comment is on the VC version i will leave it like this i will make edits to the script when i add SAMB syntax to the SA version.

 

 

But, have you noticed that negatives conditional opcodes don't get the ini comment ?

 

yes it is because none of the ini files have these defined in this manner most of the mission builders and assembler usually know how to do the conversion of the 8??? opcodes ..... i am not familiar with the in depth procedures used for this within the different builders but i am currently building my own references based on the info available. ... this will be updated very soon.

 

San Andreas Op-Search+ Beta test available

 

{SA Op-Search+}

 

Pretty much the Same features with slight differences, only supports Sanny Builder 2.99e currently, for those using SAMB 0.33 I will be updating this script very soon.

 

I have also updated the syntax color with your suggestions tomworld10 except for in the ini reference.

 

I will work on making an area for updates and editing of the database entries for a select group of people to make changes as new discoveries are tested and verified.

ph34r.gif

Edited by sleeper777

Share this post


Link to post
Share on other sites
Y_Less

You have a load of emphasis on explaining data types repeatedly, wouldn't it be easier to just have a key at the top with the type descriptions. Also, things like:

 

 

 cars Command [email protected] Local Variable: usually Floating Point values or Integersand Command [email protected] Local Variable: usually Floating Point values or Integerscollided Command Text

 

 

Are a bit ott IMHO, I don't think people really need to know what "and" means.

 

Edit: Could you make it like the old db so you can download an up to date ini based on the data on the site.

 

Also, there are a number of OpCodes in my relatively old copy of the unified ini which aren't on so it's not that up to date TBH. And there are some gaps which, even if they're just NOPs should be included.

Edited by Y_Less

Share this post


Link to post
Share on other sites
sleeper777

 

there are a number of OpCodes in my relatively old copy of the unified ini

 

Could i get a copy of that ini i downloaded the latest versions of the builders i could find and thats where the data i have is from for SA.

 

for VC I probably need some major updates, any help here would be greatly appreciated.

 

Edited by sleeper777

Share this post


Link to post
Share on other sites
tomworld10

 

 

Hi,

 

 

Sorry, I feel like a dumbass !!! Probably cause I am.....

 

 

In all my experience with MB the @ has always come after the variable signifying a Local Variable in all the major versions for VCMB

 

Only in SAMB 0.33 does this change

 

 

Sorry again the only MB I knew was SAMB.... anuj_cop.gif

 

 

Thank you for the SA version !!!!!!!!

 

The best way not to say bullsh*t is to shut up, so I'll take that advice....

 

 

 

Have fun

 

 

Share this post


Link to post
Share on other sites
Freakingfreak

 

Could i get a copy of that ini i downloaded the latest versions of the builders i could find and thats where the data i have is from for SA.

 

 

Unified Opcodes Database

i believe thats what he meant,correct me if i'm wrong Y_less .

 

 

Could you make it like the old db so you can download an up to date ini based on the data on the site

 

i also think that would be a good idea , hope you implement it .

 

good work sleeper icon14.gif

 

 

 

 

 

 

Share this post


Link to post
Share on other sites
sleeper777

Awesome Using the Unified INI i generated a new opcodes.txt for Sanny Builder 2.99e

 

I have updated the Syntax and INI Fields Accordingly if there are any discrepancies please note them here for update until i get the editing area completed.

 

As far as generating an INI, I don't see why not, give me a few days to put it together and I will let you guys test it to make sure it works in the builder.

 

I added some spaces in the array references for readability and parsing

 

 

( [email protected] , 10i )

 

 

All suggestions and ideas will be seriously considered if they have a place.

 

Thanks Guys

 

ph34r.gif

Edited by sleeper777

Share this post


Link to post
Share on other sites
sleeper777

Ok The Dojo is open and ready for perusal ... Links in my Sig and in the first Post.

 

Just register and immediately have access to the members area (PM, INI Editor, Tutorials, & more).

 

I have incorporated majority of the above suggestions and removed alot of my debug text ( biggrin.gif thanks Y_Less )

 

I have downloaded Seeman's Latest SASCM.INI and recreated the Opcodes.txt and made updates to the database. I would like to include the latest most copleted ini for SAMB 0.33 or at least the opcodes.txt with the latest syntax ....

 

If you see any problems please be sure to notify me as i will make changes as soon as i am available.

Edited by sleeper777

Share this post


Link to post
Share on other sites
Seemann

How about adding the "never used in" opcodes to your database? I assume you use just the ones being present in the opcodes.txt, but there are many useful ones which weren't ever used originally. For example:

 

 

00e2=3,get_player %1d% key %2d% state_to %3d%098B=3,%3d% = %1d% + %2d%; all string variables

 

 

 

Just an idea: to add a link to the related opcode page at gtamodding.com when getting the search result.

http://www.gtamodding.com/index.php?title=Category:OpCodes

http://www.gtamodding.com/index.php?title=0003:_shake_camera

http://www.gtamodding.com/index.php?title=...external_script

 

maybe it helps to expand the modding wiki.

 

Share this post


Link to post
Share on other sites
sleeper777

Yes a lot of the Opcodes List is generated from your software and imported with custom scripts for my database ... I am planning on a conglomerated tools that eventually includes all the opcodes and the various syntax of the earlier builders for 3 and Vice, while adding an option of game choice to the search page.

 

I plan on this being one of the most comprehensive projects i have put my time into .... My contribution to the community for the hours of fun provided here by these people who make so many things possible.

 

As well as the many many hundreds of thousands of modifications, ideas, criticisms, and suggestions that come from such a large community of supporters.

 

Anyway i wish there was some more white paper ... documentation, notes, and more from some of the more experienced engineers of the mission coding tools your last couple of descriptions were very helpful for me and a couple of small SA coding projects

 

Any type information file anyone is willing to offer to a larger editorial project, i am archiving for everyone, just send me a message or email them to me, It would be extremely thankful for any contribution.

 

I will work on some updates suggested and be ready for more suggestions soon, bring 'em on ph34r.gif

Share this post


Link to post
Share on other sites
sleeper777

Ok i have added some new features/implementations and updated the GUI.

I have added the Unified Opcode Database INI and an Opcode examples based on it to the SA Search Tool. I am working on a list of opcode examples for SAMB 0.33 based on Craig's Latest Available Download bwmb.rar.

 

 

I have worked out the algorithm to add the Wiki Links except for one piece :

the Final Link source Code

(i.e. 'http://www.gtamodding.com/index.php?title=0003:_shake_camera').

 

What i want to know is what the community thinks is the best way to handle automating the (title=[opcode]:_text_for_opcode) piece

 

Should it be just the first piece of text in opcodes like

 

 ( store_actor  %1d%  position_to  %2d%  %3d%  %4d%)i.e. (title=00A0:_store_actor)  

 

or should it put together the text pieces like :

 

(title=00A0:_store_actor_position_to)

 

or it could just create the piece like

 

( title=00A0:_ ) 

 

and let each person customize the names individually.

 

I guess i need to know a little bit more about how the wiki creates the pages.

Any viable suggestions will be considered.

I would really love to see the Mission Coding section of the Wiki expand alot more.

Edited by sleeper777

Share this post


Link to post
Share on other sites
Seemann

I would like to see the opcodes links at gtamodding.com without any aliases.

 

Like www.gtamodding.com/?opcode=0003. Simple and easy.

 

Or if ?opcode is impossible, something like ?title=opcode_0003

 

That’s because we still have no unified format for the opcodes naming, so different INIs have different aliases for them.

 

Just an opinion.

Share this post


Link to post
Share on other sites
sleeper777

Ok i hava had a few issues i am trying to work out. I moved everything to a new server and upgraded PHP so i seem to have a few bugs now. Please be patient as i will repair them slowly but surely.

 

Some things are not working right like the Common Search Terms. please help me by copying anyerrors you get to a text file and send them to me. I would great ly appreciate any help in this matter.

 

@ceeedj

I would like to add Hook syntax to the database if you wouldn't mind hook me up wityh a list of all the opcodes you have currently in your hook tools. @email is fine.

 

Thanks

Sleeper777

ph34r.gifph34r.gif

 

I Think most of the issues are fixed had to downgrade the server one minor revision ...

Edited by sleeper777

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.