Forum > "Retro-Porting"

Mop adts in wotlk?

<< < (3/4) > >>

Will:
Is there any structural chunk differences between cata and mop adts?

Also, mj what is the practical difference between releaseConverter and WBconverter, they are the same except for like 2 methods..

Soo much of oop, could have been done easier ^_^ I started this in java, but might start again in C++

Mjollna:
If I remember correctly, you can basically just ignore mop new chunks when parsing files to convert them to lk. You can also drop cata mclv, lk client doesn't display it anyway.

Parsing in adt converter is Pagdzin's part, I've done half of the work on the program, i.e. the conversion with data from his parsing. I don't really remember why he felt it necessary to add a variation for parsing, but it's not much anyway, and you shouldn't need it.

Cata/mop parsing can also be done by relying on chunk sizes (cata client crashes if one size is wrong) whereas lk definitely cannot.

Also, be sure to set the correct wdt flags when you test your files, to avoid client crashes due to wdt and not adt.

Will:
I see. What do you mean? How should my wdt be set? Also, ran into a problem, What do i do with MHDR chunk?
Anyway, just got MCNK, MFBO and MTXF chunks to do now. Anything before MCNK is v easy.

Mjollna:
For wdt : some flags exist in mop and don't in lk, so you might run into incompatibilities. Flags 1, 2, 4, 8 are ok, I'd avoid anything higher for lk.

Mfbo shouldn't have changed.

Mtxf is gone in mop.
If I remember/understood correctly what Schlumpf discovered in late March...
Look for Mtxp at the end of mop tex0. Chunk structure should be flags, float, float, 0 (repeatable). When flag 1 is up, you have the old mtxf.

What's your problem with Mhdr ? For lk you'll have to re-add all the values that become useless (i.e zeroes) in Cata. It's offsets, you can determine them when creating the file.

Will:
Okay, thanks. Mind answering if i post small queries here about this later? Will continue working on this from tomorrow.

Cheers

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version