@Luhat:
Welcome to the board. Try these recent threads:
- Blend file structure documentation
- .blend file errors
- [blend_info] Use Rust to inspect Blender files
@brecht 's caution in the second thread bears repeating:
My first advice here is always, don’t write a .blend file reader or writer. It’s Blender’s internal file format and we make no guarantee that it remains stable or try to document all the quirks [Bolding mine].
Hope this helps. Good luck!