Pro text/hex editor
with Binary Templates

M2.bt

Parses a Blizzard M2(.m2) Compatible with 3.3.5 up to 11.0.0 (Tested on 3.3.5 / 7.0.1 / 8.0.1 / 9.0.1 / 9.2.0 / 10.0.0 / 11.0.0)



File Information

 Authors:Alastor Strix'Efuartus + credits to all previous Authors of the Original M2 template (Sorry but I have no idea who the original authors are)
 Category:Game
 Version:1.9.4
 File Mask:*.m2
 ID Bytes:4D 44 32 30, 4D 44 32 31 //MD20, MD21

Available Versions

Version Date Author Changes Download
1.9.4 2024-09-30 Alastor Cleanup on code some formating and shited coloring + Revised ordering of blocks processing + fixed typos and cleared syntax from some white spaces + preparations for vanilla support + improved no anim/skid check + Fixed bone optimization issue + More helper Comments + Fixed typo on Particle_Type + Added Cata Check + Operand fix in ReadTexture Download
1.9.3 2024-09-09 Alastor Fixed nSplinePoints in particle block Download
1.9.1 2024-09-02 Alastor Added new lines to Ribbons and fixed the Ribbon AlphaBlock missmatching structure values PriorityPlane, RibbonColorIndex, textureTransformLookupIndex - Added TXID x nTexture matching to show in the Texture Block - Added support for new undocumented MD21 chunk AFRA further research needed - Upgraded RGB value track by removing tons of clutter and moving most of the functions to the variable attributes - Added helpet union value of bit flags to material flags to better depict functions that are impractical for enum listbox which was preserved - Converted the Light blocks C3 values of Color M2 Tracks from using float via inline conversion to 0 to 256 range to keep with standarts from particle block for better reading - Added E_CRC_BoneName to translate names of bones for debugging purposes - Added <open=true> to M2_File main structure - reworked some of the SetColor schemes to lessen the occurange of buggy colorization of structure Download
1.9.0 2024-08-20 Alastor Added MovingSpeed calculation inline function to display the percentual speed of animation played Download
1.8.6 2024-08-13 Alastor M2Track arguemnt bug fix Download
1.8.0 2024-08-12 Alastor Remade how SubAnimationSeq blocks are handled made them more modulare decreased the amount of typedefs needed and simplified var types + Changed structures of CollisionIndices, CollisionPositions, CollisionFaceNormals Download
1.7.8 2024-07-24 Alastor replacable_texture_lookup --> textureIndicesById, bone_lookup_table --> boneCombos, --> texture_lookup_table --> textureCombos, tex_unit_lookup_table --> textureCoordCombos, transparency_lookup_table --> textureWeightCombos, texture_transforms_lookup_table --> textureTransformCombos, TextureAnimations --> TexAnimations Download
1.7.7 2024-07-17 Alastor Texture_Combiner block restructured simplified and optimzed no longer causing the wrong highlight issue due the loop being used instead of struct[n] Download
1.7.6 2024-05-21 Alastor Fixed issue where RGB values in Particle Color Track where displayed incorrect now the particle color will be correctly translated and display by the same color in the Hex preview of model Download
1.7.1 2024-05-16 Alastor Minor typo fixes and cleanup with some additional comments and filled in many colors for different data blocks Download
1.7.0 2024-05-15 Alastor Added MessageBox to detection of faulty Particle items such as Blending / Type / Emmiter / HeadOrTail once prompted template will list commands to fix faulty particle items into the outpur box from where can user copy and execute Download
1.6.8 2024-02-21 Alastor Added DB0C strucutre which was discovered in 9ard_nebulacloud_b01.m2 which was by Deamon gussed to be added by thed end of SL in late 9.X.X + Removed some Skel strcutures which are not needed anymore as they were used for merging .skel and .m2 but the said method is no longer in use Download
1.6.6 2024-01-29 Alastor More comments on functions and minor clean up and readability adjustments Download
1.6.5 2023-08-06 Alastor Removal of some characters left from HIP's commit for some reason that commit inserted seemingly random amount of "•" characters into the template at random places Download
1.6.4 2023-05-10 Alastor Particle color track now shows the actual color in the template of the particle rgb value Download
1.6.2 2023-03-06 HIP Fixed some formatting and characters Download
1.6.1 2023-02-14 Alastor Additional conditions for Particle strcuture to alert if some values are incorrect for exact client version where issue most commonly happens Download
1.6.0 2022-12-27 Alastor Significant changes to MD21 Chunks added more variable to keep track of data and internal relative offsets within chunks Download

Return to the Template Repository


Newsletter - Receive special offers, tips, tricks and news. Join now

010 Editor v15.0 is here!
What's new?



E-mail: info@sweetscape.com