Next time you find yourself reverse engineering a weird protocol - use ImHex. You can literally define patterns (in a C++ / Rust -like language) so that your binary file gets highlighted and processed.
I can't recommend it enough - it's perfect for the job and it's free and Open Source.
I can't recommend it enough - it's perfect for the job and it's free and Open Source.
https://imhex.werwolv.net/