3 ms·
Have you been exposed to Kaitai Struct[0] yet? As someone who wanted to use binary data from programs I’ve used it quite successfully and even more to the point
by joshspankit 4y ago
Have you been exposed to Kaitai Struct[0] yet? As someone who wanted to use binary data from programs I’ve used it quite successfully and even more to the point: quite happily
[0] https://kaitai.io/ https://kaitai.io/
- Aardappel 4y agoNope, not seen this one, though there are many similar such specification languages. This one looks a bit overly verbose? I suppose someone could write a description of https://github.com/aardappel/treesheets/blob/master/TS/docs/file_format_spec.txt https://github.com/aardappel/treesheets/blob/master/TS/docs/... in that specification language to give parsers in many languages. May not be as easy as it sounds with the embedded PNGs and compression etc.
- joshspankit 4y agoIf someone provides an example binary file I’ll give it a try
- Aardappel 4y agothere are many here: https://github.com/aardappel/treesheets/tree/master/TS/examples https://github.com/aardappel/treesheets/tree/master/TS/examp...
- joshspankit 4y agoRight on, thank you. Would you mind exporting some of those examples and commit them alongside the `cts` files so that I can validate my own parsing?