Reverse Engineering Unknown File Formats with ImHex

Reverse Engineering Unknown File Formats with ImHex

WerWolv, the developer of the open-source hex editor ImHex, demonstrates how to reverse engineer a custom binary file format from scratch. Using the save file from the game FEZ as an example, he walks through decompiling the game's C# code to locate the serialization logic, then explains how to write an ImHex pattern to decode the file's structure. The post covers essential techniques like identifying data types, handling strings and objects, and using pattern attributes, making it a practical guide for anyone tackling unknown file formats.

Without any more information, we’re basically stuck here. The data can mean anything, and only the program generating and parsing it can make sense of it.

More from this day

2026-09-02