-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Sorry for any disorganization. I wanted to get as much data as I could. I am not certain if this happens for other models at the moment, but chances are it might.
The actual texture list / TXID conversion reference (afaik)
I did a manual conversion based on the TXIDs in the original file, and here is what I did by hand WITHOUT using your tool, for comparison purposes. Notice how TT_CreatureSkin1 and TT_CreatureSkin2 are in sort of weird locations (well, just not at the very beginning or end of the list).

FixTXID attempt
The original, untouched filesize is:
4435056 bytes
And the header for the file:

After using your tool, filesize is:
4435592 bytes
The offset listed in the MD21 chunk size is different but there is a 536 byte difference, I looked towards the end of the file:
Offset 4435064, and before the TXAC chunk, all the textures BEFORE TT_CreatureSkin1 are written, in the order I'm expecting:
creature\shadebeastmount\smoke_generic_paintymask01_blend.blp
creature\shadebeastmount\8fx_explosionsmoke_a.blp
creature\shadebeastmount\shadebeastmount_3593643.blp
creature\shadebeastmount\7fx_energybeam_scroll.blp
creature\shadebeastmount\7fx_wavey_mask_horizontal.blp
There is also some extra data after these textures, which I don't know what it is at this moment. There is also something going on with the 8 bytes before the highlighted data, as it doesn't seem to be in the original file (that I can immediately see)?
Here is a screenshot of this part of the file (highlighted 536 bytes):

Going back to the header, I seem to get a partial texture list (looks like 212 bytes in size) that overwrites the MD20 header (+ 1 byte, it doesn't overwrite the M in MD20). The textures also seem like they are written in a random order (comparing to the above texture list).
creature\shadebeastmount\shadebeastmount_3593661.blp
creature\shadebeastmount\shadebeastmount_3593658.blp
creature\shadebeastmount\shadebeastmount_3593651.blp
creature\shadebeastmount\shadebeastmount_3593653.blp
And here is the screenshot of the broken header:

We seem to also be missing one of the textures because of... whatever happened, this one (texture index 6 in the list above)
creature\shadebeastmount\shadebeastmount_3593656.blp