Intelligent Systems Hardware Protection Decoding Tool

Discussion in 'Nintendo Game Development' started by beepboop, May 21, 2016.

  1. beepboop

    beepboop <B>Site Supporter 2013</B>

    Joined:
    Jul 10, 2013
    Messages:
    237
    Likes Received:
    49
    For a while, I was frustrated at having all those CGB and AGB SDKs and tools annoyingly locked away in encoded .exes that required an IS-CGB-EMULATOR to be connected to even run them.

    [​IMG]
    Exhibit A: The perpetrator caught with its pants down.

    I decided this morning to check how the decoding routines worked and if I could take a shot at decoding the protected contents myself. 'Lo and behold, it was easier than I thought! I'm hereby sharing my decoder tool so everyone can freely download the various CGB/AGB SDKs and tools they picked up from various IS FTP dumps and decode them to their proper working originals, As It's Intended®.

    Attached you'll find a zip release with the Windows, OS X and Linux binaries, as well as the .c source code for future compilation to any other platforms. The current version (v1.02) will decode files that need the following hardware:

    • IS-CGB-EMULATOR
    • IS-VIEWER64

    Enjoy the development tools! I've tested it on my own collection, which has a variety of CGB SDKs, documentation and tools. It'll work even if the decoding routine of the executable is corrupted, since it uses its own implementation!

    Usage:
    On Windows, simply drop the protected executable on top of isdecode.exe and it will its work, dumping the extracted data in the same directory.
    On OS X and Linux, invoke it from your terminal with the filename to decode as the first argument: $ ./isdecode cgb_xxx.exe

    EDIT: Updated to 1.01 to fix a small issue where it would get the target filename wrong.
    EDIT: Updated to 1.02, added support for IS-VIEWER64 encoded files and fixed some small bugs.
     

    Attached Files:

    Last edited: May 25, 2016
    #1
    Gilgamesh, Zoinkity, cmonkey and 5 others like this.
  2. rso

    rso Familiar Face

    Joined:
    Mar 26, 2010
    Messages:
    1,165
    Likes Received:
    40
    Location:
    Germany
    Seems like the source code's missing from the .01 release.
     
    #2
  3. beepboop

    beepboop <B>Site Supporter 2013</B>

    Joined:
    Jul 10, 2013
    Messages:
    237
    Likes Received:
    49
    I was wondering why the archive was smaller. Thanks, replaced.
     
    #3
  4. windwakr

    windwakr Member

    Joined:
    Jun 18, 2012
    Messages:
    19
    Likes Received:
    1
    Just saw your PM, and it seems you've already worked it out. Thanks for the tool, much better solution than what I did to extract the contents.
     
    Last edited: May 21, 2016
    #4
  5. cmonkey

    cmonkey Active Member

    Joined:
    Mar 29, 2012
    Messages:
    47
    Likes Received:
    2
    Thanks for sharing your work :)
     
    #5
  6. beepboop

    beepboop <B>Site Supporter 2013</B>

    Joined:
    Jul 10, 2013
    Messages:
    237
    Likes Received:
    49
    Updated to v1.02, now with IS-VIEWER64 support.
     
    #6

Share This Page