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

    1. Red Dead Redemption 2

      1. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Arena War
      2. After Hours
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA Next

    4. GTA V

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

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

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

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

    2. Forum Support

    3. Site Suggestions

Sign in to follow this  
Sacky

[REL|SRC|WIP] Scone

Recommended Posts

Sacky

What is it?

 

It generates raw assembly from Unencrypted SCO scripts. It can also assemble a .scone file that it generates from a disassembly process, so script editing is possible. It is intended to be used as a learning experience for me and anyone else who wants to learn how to generate assemblers in foreign languages. The code it generates is 1 to 1, so it is quite a complex process to edit it. This is not intended to be a serious script editor as I expect it to have many bugs beyond the testing I gave it, just a fun little project for me. I used a lot of research from aru's SparkIV so credit must also go to him.

 

Where can I get it?

 

Download Release

Download Source

 

What's on the horizon?

 

In the next release I will be adding support for native hashing to display the native names instead of there hash in the assembly code.

Share this post


Link to post
Share on other sites
Indi

So, what is this writing in? The .sco files

Share this post


Link to post
Share on other sites
GamerShotgun

First post..

Share this post


Link to post
Share on other sites
Intosia

Nice effort! Although damn, thats impossible to read, so low level biggrin.gif

Share this post


Link to post
Share on other sites
a-k-t-w

Is mission scripting possible with this?

Share this post


Link to post
Share on other sites
JostVice

Great work sacky! going to try this now inlove.gif

 

Edit: Could you tell us how to dissemble a file? Opening the exe would give a error, and grabbing the .SCO over the bat's or the exe does the same blush.gif

Edited by Jost_Vice

Share this post


Link to post
Share on other sites
Sacky

 

Edit: Could you tell us how to dissemble a file? Opening the exe would give a error, and grabbing the .SCO over the bat's or the exe does the same

 

Check out the scone-assemble.bat and scone-disassemble.bat. It's run via a command line so a batch job is an easy way to look at it. Although I'd wait for the next release if I were you, I've added support for native names instead of native hashes.

Share this post


Link to post
Share on other sites
twisted89

how are you meant to decrypt the scripts so thye can be decompiled all mine seem to be encrypted?

Share this post


Link to post
Share on other sites
Sacky

 

how are you meant to decrypt the scripts so thye can be decompiled all mine seem to be encrypted?

 

You have to use unencrypted scripts. navgen_main is one that's unencrypted. I'm working on reading encrypted scripts.

Share this post


Link to post
Share on other sites
Intosia
Is mission scripting possible with this?

That already possible with C++ Hook or .NET Hook. All those scripts are missionscripts. That we abuse them to mass blowup cars, is another story... tounge.gif

Share this post


Link to post
Share on other sites
twisted89
how are you meant to decrypt the scripts so thye can be decompiled all mine seem to be encrypted?

 

You have to use unencrypted scripts. navgen_main is one that's unencrypted. I'm working on reading encrypted scripts.

As you can open all the scripts and view them using openIV is there anyway to use the output from openiv and edit it then compile it using scone?

Share this post


Link to post
Share on other sites
twisted89

any progress on reading encrypted scripts?

I've tried looking at sparkiv's source to see if i could make it output just the decrypted script but I cant code very well and dont understand most of it.

Share this post


Link to post
Share on other sites
Hergonan

The encryption key is 32 bytes from somewhere in the game exe

Then rijndael is used 16 times I think to decrypt the code whenever it's read

Share this post


Link to post
Share on other sites
CheaterNo1

Very nice, thats what Im just looking for. But cant download, only get errors with sendspace. Can you upload this on a site that worx?

 

EDIT: Download worked now

Edited by CheaterNo1

Share this post


Link to post
Share on other sites
CheaterNo1

dontgetit.gif Disassembling works fine, but assembling only works for me with the example.

 

I tried for example with decrypted BDB2-script, disassembled and started assembling with the output-file without change.

Scone stops just here:

...

Compiling Line 4627: FnEnd 0 1

Compiling Line 4628: Call 0x2F6F

Compiling Line 4629: Switch 9 [1801:0x2FE700] [1536:0x2FE700]

 

Nothing happens then anymore and can only close it.

Any ideas?

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.