Reverse Engineering Unknown File Formats with ImHex 0 ▲ WerWolv 82 days ago · 13 min read2649 words · Tech · hide · Fediverse post import Figure from ’@/Figure’ import NotePanel from ’@/NotePanel’ import TechnicalTerm from ’@/TechnicalTerm’ import Steps from ’@/Steps’ Over the years I’ve been asked the same question countless times: I usually couldn’t really give them a good answer except, “Look at the decompiled code of whatever program reads/writes these files and work backwards from there.” This post is meant to change that. We’ll go from a completely custom binary save file for the game FEZ to a full definition written in the Pattern Language, which is part of ImHex, the hex editor I’ve been developing for the past few years. It is free, open source and available on any operating system (or even through the browser if you prefer that: ImHex Web). FEZ was released all the way back in 2012. Still, if you haven't played it yet and want to get the full experience, I highly recommend playing it before you continue reading. Some of the code shown here will contain heavy spoilers for secrets and endgame content that… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town