Sonic CD (2011, PC) Script Decompilation

Discussion in 'Showroom' started by Rubberduckycooly, Dec 23, 2020.

  1. Rubberduckycooly

    Rubberduckycooly Newcomer Member

    Joined:
    Aug 15, 2019
    Messages:
    2
    Location:
    Australia
    For about 2-3 years now I have been working away at RSDK reverse engineering of all sorts, and after a long time I finally have some work to show that's usable for everyone: a full decompilation of Sonic CD 2011's (PC) scripts!

    They can be downloaded from here: https://github.com/Rubberduckycooly/Sonic-CD-2011-Script-Decompilation

    I have made a mod as a sort of example on how to use them & what they're capable of on a basic level, that can be downloaded from here: https://gamebanana.com/gamefiles/13601

    note: for anyone wishing to use/create CD script mods, you'll need to download the scripts from the github and place then in [exedir]/scripts/ (example: [exedir]/scripts/title/Sega.txt)

    with just these scripts the entire game's logic for objects becomes avaliable to people who wish to use it, as RSDK (v2) runs scripts that are compiled at runtime, meaning an engine decompilation wouldn't be as useful as a script decompilation

    bugfix: https://github.com/Rubberduckycooly/Sonic-CD-2011-Script-Decompilation/releases download the zip here and extract it to the sonic CD exe dir (otherwise the line endings get messed up and the game wont load the scripts properly, they need to be saved as windows CRLF)
     
    Last edited: Dec 23, 2020
  2. Misinko

    Misinko Oh SHIT it's the Biolizard! Staff

    Joined:
    Apr 30, 2013
    Messages:
    721
    Location:
    Ohio
    This is absolutely dope as hell. Good work Ducky. Really proud of the progress the RSDK scene has been making as of late.
     
  3. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    899
    This is great, and so are your contributions to the mod loader! It's really gone further than I ever thought it would.
     
  4. LBPPlayer7

    LBPPlayer7 Newcomer Trialist

    Joined:
    Sep 23, 2017
    Messages:
    1
    Any chance of a decompilation of the scripts from the mobile version? They'd be great as we'd have the fixes from the newer versions of the mobile releases, but also have a way of fixing the jank that is the menus after they added ads to the game.
    And that's not to mention the fact that Desert Dazzle (R21A) is only present in the later versions of the mobile release.
     
    Last edited: Jan 7, 2021
  5. drmelon

    drmelon Newcomer Prospect

    Joined:
    Dec 9, 2019
    Messages:
    10
    This is some absolutely stellar work - I can't thank you all enough for the hard work you put into this.