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. The Diamond Casino Heist
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. 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. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

    2. GTA 6

      1. St Andrews Cathedral
    3. GTA V

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

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

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

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

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

      1. Guides & Strategies
      2. Help & Support
    11. 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. DYOM
      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

fastman92

fastman92 script command definitions

Recommended Posts

fastman92
Posted (edited)

fastman92 script command definitions
92695e1330367827.png

 

GTA games use its own script language called SCM (Script Multifile) and each different game from GTA series implements a huge amount of commands.
This project aims to bring to the public the definitions of commands after a long and arduous research.
Allows to gain better understanding scripts and write new ones using previously unknown commands.

 

The project is prepared to include commands from more games, with some additional work.

Features:
- Sanny Builder INI and opcodes.txt files
- Sanny Builder lines are written with arguments in their original order
- Command associations in the INI file (see the equivalent command ID in several different games)
- C++ header file provided with eCommandName enumeration for each configuration
- Summary of commands in big HTML file
- CLEO 2 for GTA III/GTA VC, commands included
- CLEO 4 and CLEO 3 commands included.
- CLEO for Android by Alexander Blade, commands included
- GTA LCS and GTA VCS commands analyzed - many of them have been correctly described

- CLEO+ commands by JuniorDjjr commands included

 

Supported configurations:
    GAME_SIMPLE_NAME_GTA_III:
        • COMMAND_CONFIGURATION_PC_STANDARD
        • COMMAND_CONFIGURATION_MOBILE - Android or iOS
    GAME_SIMPLE_NAME_GTA_VC:
        • COMMAND_CONFIGURATION_PC_STANDARD
        • COMMAND_CONFIGURATION_MOBILE - Android or iOS
    GAME_SIMPLE_NAME_GTA_SA:
        • COMMAND_CONFIGURATION_PC_STANDARD
        • COMMAND_CONFIGURATION_PS2 - game version 1 on PS2
        • COMMAND_CONFIGURATION_XBOX - game version 2 on PS2 or game on PS4 as well
        • COMMAND_CONFIGURATION_MOBILE - Android, iOS and WinStore
        • COMMAND_CONFIGURATION_REMASTERED - PS3 or Xbox360
    GAME_SIMPLE_NAME_GTA_LCS:
        • COMMAND_CONFIGURATION_UNDEFINED - PS2 or PSP
    GAME_SIMPLE_NAME_GTA_VCS:
        • COMMAND_CONFIGURATION_UNDEFINED - PS2 or PSP

 

- - - - - - - - - - - - - - - - - -

I am putting a lot of effort to make sure that my projects meet the high quality requirements.
That takes a significant amount of work.
If you like any of my projects, you can consider making a donation. And keep on looking for what projects the future might bring.

btn_donateCC_LG.gif

Download

Link: https://www.mediafire.com/file/ejndsp4baun9e6z/fastman92_script_command_definitions_1_5.rar/file

Edited by fastman92
  • Like 20

Share this post


Link to post
Share on other sites
TheBadZero

Nice work!

  • Like 1

Share this post


Link to post
Share on other sites
ZAZ

nice to see you still active :cookie:

  • Like 2

Share this post


Link to post
Share on other sites
The Implex

Thumbs up for your huge contribution. 

  • Like 2

Share this post


Link to post
Share on other sites
Davve95

Awesome! Thanks for the hardwork

Edited by Davve95
  • Like 1

Share this post


Link to post
Share on other sites
fastman92

Version 1.1 released.

 

Changes:
    - CLEO for GTA games on Android by Alexander Blade, commands added

  • Like 5

Share this post


Link to post
Share on other sites
gta.bullet

Nice but after 15 years, i am still waiting some ex Rockstar employee to upload script engine documentation, I am especially wondering all opcode paramaters' documentation.

Share this post


Link to post
Share on other sites
fastman92
On 1/26/2020 at 9:46 PM, gta.bullet said:

Nice but after 15 years, i am still waiting some ex Rockstar employee to upload script engine documentation, I am especially wondering all opcode paramaters' documentation.

The documentation will be a closely guarded secret and property of Rockstar Games company.

Releasing the documentation without the company's consent would be a breach of agreement signed between a former employee and the company.

 

main.scm from GTA LCS for Android:

:Noname_27_190
0387: set_object_collision [email protected] enable 1 
01CC: dont_remove_object [email protected] 
05D3: 
hex
 01 5B 02 CE 19 4D
end

 

0x05D3 is not implemented in game actually.

Quote

        pUniqueCommand->RegisterDescription(


            "This command is not implemented, but used in main.scm with one argument, looks like a boolean flag."
        );

 

Version 1.3 released.

Changes:

** 1.3, January 29, 2020
    - added GTA (III, VC, SA) for PS2
    - added information about implemented commands in games and Sanny Builder data generated accordingly
    - fixed few lines

 

 

It took me a lot of thinking to figure out the best way to implement the database of command definitions.
This is how it went:
1. Building a database made from directories from different games and one directory with common data. It wasn't good. I've written many thousand of lines of code and had created a lot of data.
2. Website in PHP. I thought the informations about commands should be stored in MySQL database and management of commands should be done in the Internet browser. I've written a lot of code, it was unsuccessful.
3. Then I figured out the problem of registering the commands is best handled within the programming language itself. I have created a  command registration and management in the C++ language.


I have started working on the database of commands in 2014, but only in 2019 I have got a proper solution to the problem of commands.

Edited by fastman92
  • Like 2

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.


  • 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.