Login [Register]
Don't have an account? Register now to chat, post, use our tools, and much more.
A Brief Reverse-Engineering Tutorial with the g3p Format
Published by KermMartian on August 13, 2014 at 9:13:29 PM CST | Discuss this article (7)

I recently announced that I added support for Casio Prizm pictures (.g3p files) to Cemetech's SourceCoder 3 online calculator programming IDE. The hardest part of creating that new feature was not the code that implements it in SourceCoder, but the reverse-enginering work necessary to understand how to read .g3p files and then generate new .g3p files that the Casio fx-CG10 and fx-CG20 will both accept. At the request of several Cemetech members, I have decided to write a short tutorial showing how I reverse-engineered the .g3p format, which I hope will help you with any new file or data format that you might want to try to understand. The tutorial will be roughly divided into sections explaining what you should have to successfully understand a new format, what existing information will accelerate the process, and how to actually peer into the unknown format.

Click here to read the full topic >>

Reverse-engineering the .g3p format was time-consuming but fun, and I learned about a new compression algorithm and a new checksumming technique along the way. I will shortly be releasing the full, more technical description of the different .g3p file formats. In the meantime, I hope this tutorial helped you learn a bit more about the techniques, tools, and experimentation inherent in reverse-engineering a format. As always, questions or comments in the attached topic are encouraged.



Permalink
August 2014 Articles
August 2014 August 2014 [Back to News Archives Index]

» Projects of the Month: July 2014 published August 1, 2014 by tifreak8x
» SourceCoder 3 Adds Casio Prizm g3p Picture Support published August 3, 2014 by KermMartian
» Cemetech To Return to World Maker Faire 2014 published August 12, 2014 by KermMartian
» A Brief Reverse-Engineering Tutorial with the g3p Format published August 13, 2014 by KermMartian
» Back-to-School 2014: What Graphing Calculator Should I Buy? published August 19, 2014 by KermMartian
» Tweet Your Calculators with the #TISelfieContest published August 21, 2014 by KermMartian
» Super Smash Bros. Open Promoted to Member Feature published August 25, 2014 by Hayleia

Advertisement