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:
    238
    Likes Received:
    52
    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
    Gilgamesh, Zoinkity, cmonkey and 5 others like this.
  2. rso

    rso Gone. See y'all elsewhere, maybe.

    Joined:
    Mar 26, 2010
    Messages:
    2,190
    Likes Received:
    447
    Seems like the source code's missing from the .01 release.
     
  3. beepboop

    beepboop <B>Site Supporter 2013</B>

    Joined:
    Jul 10, 2013
    Messages:
    238
    Likes Received:
    52
    I was wondering why the archive was smaller. Thanks, replaced.
     
  4. windwakr

    windwakr Active Member

    Joined:
    Jun 18, 2012
    Messages:
    31
    Likes Received:
    8
    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
  5. cmonkey

    cmonkey Rising Member

    Joined:
    Mar 29, 2012
    Messages:
    62
    Likes Received:
    20
    Thanks for sharing your work :)
     
  6. beepboop

    beepboop <B>Site Supporter 2013</B>

    Joined:
    Jul 10, 2013
    Messages:
    238
    Likes Received:
    52
    Updated to v1.02, now with IS-VIEWER64 support.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page