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 Cayo Perico 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. 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

GTA3script Toolchain


Link2012

Recommended Posts

Junior_Djjr

I met LINK/2012 in 2011 when he was still learning a create custom scripts.

Today he totally recreated the way to make such mods, in an incredible way. This renews the forces (and fun) of modding.

 

Now my mods will be created using it, and I'll share some source codes here.

 

btw this thing is cool to use together.

  • Like 3
Link to post
Share on other sites
Blackbird88

Good job.

Try to make it compatible with other than GTA 3 games, if it's not.

LINK didn't specifically noted it in OP, but III/VC/SA are supported AFAIK.

Link to post
Share on other sites
thehambone

It's great to see a compiler for the native GTA3-era scripting language! Looks very well-built and authentic, as if Rockstar created the tool themselves. Awesome work! :^:

Edited by thehambone
Link to post
Share on other sites
Silent

You should implement a support of GTA LCS/VCS as well.

It is a open source project, you could help with an contribution too ;)

Edited by Silent
  • Like 8
Link to post
Share on other sites
Link2012

You should implement a support of GTA LCS/VCS as well.

I don't know if LCS/VCS support is worth it. We'll need to guess a lot of language semantics and command names, and that should be done carefully. Since nobody does Stories scripting, this would be an unnecessary danger.

Link to post
Share on other sites
fastman92

 

You should implement a support of GTA LCS/VCS as well.

I don't know if LCS/VCS support is worth it. We'll need to guess a lot of language semantics and command names, and that should be done carefully. Since nobody does Stories scripting, this would be an unnecessary danger.

 

I have studied LCS/VCS SCM for a long time.

A plenty of commands got carefully researched.

Edited by fastman92
Link to post
Share on other sites
thehambone

Support for LCS/VCS would certainly be useful for me. Hex editing main.scm is a pain.

Link to post
Share on other sites
Silent

gta3sc aims for accuracy though and we know almost nothing about Stories-exclusive SCM features which requires even more guessing - and the more guessing is used, the worse the tool becomes.

  • Like 2
Link to post
Share on other sites
fastman92

Support for LCS/VCS would certainly be useful for me. Hex editing main.scm is a pain.

I have a simple SCM compiler for GTA LCS and VCS, which uses a limited Sanny Builder syntax.

Hex editing of main.scm is the worst that can be done.

Link to post
Share on other sites
goodidea82

A translator from SB would be great, to port existing mods.

A decompiler would also be great, it is very useful for learning and checking scripts from other people.

Edited by goodidea82
Link to post
Share on other sites
Link2012

A translator from SB would be great, to port existing mods.

A decompiler would also be great, it is very useful for learning and checking scripts from other people.

I tried writing a high-level decompiler at some point but I failed miserably and ended up frustated :p. A low-level one exists by the way and was used to decompile VC/SA so they could be test cases, it isn't very intuitive to use though. I could try again at some point (don't count on it) since I learnt a lot with the mistakes on the first try, but at the moment I'm expecting Seemann to finish his attempt.

 

The translator should be pretty straightforward to do really, but I invite somebody else to write one since I don't really feel like it. A Python script should be a good pick :).

Edited by LINK/2012
Link to post
Share on other sites
Junior_Djjr

I also thought about a translator, including the first things I did with GTA3script was to manually translate some mods I've already created. (right now I'm translating one more).

I didn't even give this tip to LINK/2012 because, in a way, not having a translator is good, because you are required to translate it manually, and at the beginning this helps you to practice.

Link to post
Share on other sites
  • 2 weeks later...
  • 3 weeks later...

I'm very interested on this. Will be some kind of converter available for Sanny Builder to GTA3script? I mean, will be a pain in the ass re-write long Sanny scripts to port them into GTA3script.

Link to post
Share on other sites
fastman92

This is the core reason why I cannot develop CLEO scripts using GTA3script Toolchain.

The amount of time that would be required to rewrite the Sanny Builder code into GTA3script is prohibitive.

It's not an option to throw away everything what has already been made for Sanny Builder.

Edited by fastman92
Link to post
Share on other sites
thehambone

It's not an option to throw away everything what has already been made for Sanny Builder.

Who says you have to do that, though? GTA3script seems more like an alternative, rather than a replacement, for Sanny's scripting.
  • Like 3
Link to post
Share on other sites
  • 2 weeks later...

Yes, partially. Doing so, we would pay the price of putting a brand new token in front of *VAR_INTs (alike the dollar sign leading *VAR_TEXT_LABELs), because the identifier of variables and label references can conflict without issues (unlike string constants). Configuring the SET command pair to grant such an assignment, the compiler wouldn't be capable of matching the right alternative and differentiating *VAR_INT from LABEL arguments. That said, featuring the GET_LABEL_FILE_OFFSET command by the runtime is the only way to go (in view of the decompilation process as well).

Edited by Wesser
  • Like 1
Link to post
Share on other sites
  • 4 weeks later...

Bravo, you managed where I failed in making the essential GTA modding tool which will be heavily underappreciated and mostly unused.

 

Next step is to realise SCR and "CLEO VM" or whatever it should be called ;)

  • Like 5
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

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