Hey everybody.
I checked throughly wiki at M2/WotLK - WoWDev regarding M2 file format. I've also wrote a tool that was supposed to read/write m2 files https://github.com/Dramacydal/M2Lib
Everything is smooth and adequate except one thing:
I have a model of ~1.5 Mb but when I read and then write model I produce a file of 250kb. One may think that it is a bug in my library but maximum offset that I get while parsing M2 header (and it nested structures) is also around ~250k.
I'm curious where ~85% of all data gone
Brief looking at client disassembly I also haven't noticed any data reading after parsing of header
Maybe there is anyone who is familiar with this sort of thing?
Thanks