Yes, this is what I am thinking about too. I will use format similar
to TFile with some meta datas relevant to my problem.
If the file gets corrupted somewhere and index is not available then I
will be able to recover data before the place where corruption occurs
and build data index at least (if
Hello, I want to make a program that can edit D2S files (Diablo 2
character).
There are several fields in D2S format with conditions and I can't
find this functionality in the protobuf docs. For example, Golem
Item field is exists only when bHasGolem value equals 1 (see here
Protobuf is a library for serializing in its own format, not other predefined
binary formats. It is also by design fairly simple with limited integrity
checking features intended to help with backwards and forwards compatibility.
I don't think it can help you with editing Diablo2 files.