Forum > Showoff - what you are working on

Trying to dev a Java M2 lib&tools

<< < (2/4) > >>

Namok:
As always, I wish you good luck Spik ! :)

spik96:
Almost finished the parser. Some things stay obscure :
About Ribbons

--- Code: ---struct M2Ribbon
{
 ....
  uint32_t nTextures;                 // Number of referenced textures.
  uint32_t ofsTextures;               // Offset to the referenced textures.
 ...
} ribbons[];

--- End code ---

Anyone knows the structures this is pointing to ?

I already started the particles so, if I don't have too much work irl, I should be able to read M2 WoD, MoP, Cata, WotLK, BC, Vanilla.
Then I'll add a few converting functions (in the way of convertUp() and convertDown() methods evolving structures one extension up or down ^^) because I personally need that.
After that I will work on parsing Legion models.
Finally I will have to make methods to call that a proper lib and not just a parser.

schlumpf:
http://pxr.dk/wowdev/wiki/index.php?tit ... ldid=19228

spik96:
Thanks ! I see you also switched the blend references from the imprecise "integer" mention to uint16, really useful, I thought they were uint32. The devil is in the detail.

spik96:
Almost finished WotLK BC and Cataclysm, but the particles make me struggle a bit.
LK:
http://www.pxr.dk/wowdev/wiki/index.php ... articleOld
0x168 : Undefined structure "CRange". At the moment I assume it's a 2 float pair.
0x170 : There is a blank. That's a mistake or this number really exists ?

Cataclysm:

--- Quote ---In addition to these two parameters, "ParticleType" and "HeadOrTail" got reused as
fp_2_5 multiTextureParamX[2];
--- End quote ---

I'm sorry, I'm not the best in English at all, I wonder if reused mean replaced in the M2ParticleOld structure (type changed) or do you mean it's not used/gone from the old structure and the fields are now located at the end of the new structure and with their new type ? I hope I'm clear.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version