Thread: Random Script Dump

Results 1 to 3 of 3
  1. #1 Random Script Dump 
    Registered Member
    Join Date
    Nov 2011
    Posts
    20
    Thanks given
    1
    Thanks received
    2
    Rep Power
    11
    Hello all,

    I've scripted out some scripts. All are done by myself by looking at the opcodes within each script binary file so some may not be fully correct but I wanted to make them as readable as possible. I know there are a few tools released but I decided to go my own route and do it fully. There is about 707 scripts in the zip file.

    When I read the opcodes as to where it can return a default value or a value made within the script I use a colon to differentiate them. For some of the callbacks, I realized later on that the callbacks were just another script and the parameters where being passed. Therefore some are as follows:
    new Callback([#,#,#], [#])

    and now callbacks are:
    new Callback(script)<params>)

    Some opcodes are unknown to me so they are just labeled as OP_#.

    For sample:
    Spoiler for Sample:
    Attached image


    Here is the zip file: https://mega.nz/file/aE9WHJxb#BEdVRH...9hG-6s4CmLYEVU
    Reply With Quote  
     

  2. Thankful user:


  3. #2  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    That's a nice learning project, but since there's already a release CS2 (de)compiler that supports all 3 revision types (osrs, rs2, rs3) this is probably more aligned towards people who don't know how to set it up and get the scripts themselves. Any reason you decided to work on your own tool though?

    Anyway, cool contribution!
    Project thread
    Reply With Quote  
     

  4. #3  
    Registered Member
    Join Date
    Nov 2011
    Posts
    20
    Thanks given
    1
    Thanks received
    2
    Rep Power
    11
    Well I wanted to do it to where whenever there was a varc, varp, varpbit or a varcstr present in a script I could document in a single file that can tell me what type of "config" and what ID I should use for a certain task. Other than that, I just decided to do it without a CS2 project, although it would be so much easier. I'm not anywhere close to being able to create a program for making a binary file go into a sort of flow type text file to where it is readable. So I guess by me doing this myself, its just helping me get into how they decided to write their scripts. lol.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [718] Detailed Script Dump - Inputs and Components
    By biggyBeat in forum Requests
    Replies: 0
    Last Post: 06-03-2019, 05:19 PM
  2. 718 interface scripts dump
    By Java100 in forum Requests
    Replies: 3
    Last Post: 06-14-2018, 10:45 AM
  3. Random Model Dump
    By Skyknight181 in forum Models
    Replies: 4
    Last Post: 03-01-2015, 11:54 PM
  4. 718 Detailed Script Dump - Inputs and Components
    By lightx in forum Configuration
    Replies: 0
    Last Post: 09-14-2014, 04:24 AM
  5. 816 Scripts Dump
    By lightx in forum Configuration
    Replies: 6
    Last Post: 09-13-2014, 06:39 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •