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]](https://web.archive.org/web/2im_/https://i.imgur.com/WaylPvH.png)
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:
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.
![[IMG]](https://web.archive.org/web/2im_/https://i.imgur.com/WaylPvH.png)
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.
