Jump to content

.M2 Template by Alastor 1.6.0


1 Screenshot

About This File

972133435831353364.webp?size=128&qualityM2 Template used by 010 Editor to read the binary file M2 which is a fundamental part of 3D models used by World of Warcraft this template was released somewhere in 2010 or 2012 and since then nobody worked on it the template had around 28kb of size when I picked it up and started adding more features added more lists and improved its overall capabilities and speed template is now at 218kb as of 23.11.2022 when I started the template had around 1438 lines of code now its roughly at 2868 but this estimation is not a real and proper indication of anything since I have drasticaly decreased number of lines of code in some way in the old template calling for optimization and then I have also added tons new lines in a wake of improval in all ways I could think of 

Required version of the 010 Editor is v13.0.0+
template wont work on 010 Editor with lower versions than 12.0.0 because of Inline functions

SwooshMedium1.JPG Attention! Sweetscape (the company that made 010 Editor) approved my template to their online repository from now on I will not upload new versions here that often or at all I will focus on pushing the updated online template repository hosted by Sweetscape


image.pngimage.png

Features:
• Remastered the Texture_Combiner Structure from the ugly Alt_mapping look that it had
• New C3Vector struc used for BoundingBox Animation Block
 • Added new argument for inline read function of attachments to show attachment ID 
• Read function for materials to show flag and blend 
• Particle have now added new flags  and conditions for filepathing
• Anim/Keybone/Attachment Lookups now have names +more read functions to bones and some other adjustmens to updated list of animations 
• Inline function to rotations in bone block and better reading of some subanimvalues
• Inline function for M2Tracks of bones eg: how many keyframes and timestamps is in the said block without need to collapse it 
• Multiversion M2 loading (Tested on 3.3.5 / 6.0.1 / 7.0.1 / 8.0.1 / 9.0.1 / 9.2.0 / 9.2.5 / 10.0.0)
• MD21 Chunk + other Chunks including TXID reading etc 
• Improved block reading with added conditions and checks to avoide empty structure generations fastening the load times
• Added functions with Read and Write reading properties mostly notable for C3Vectors 
• Renamed most of the variables and types to proper names like Materials
• Substructures for C3Vectors now contains properly XYZ named values not val0 val1 val2 like before 
• Main Blocks are now colored to visibly show the chunks of data in the hex preview 
• Added lots of undefined binary flags to numerous places lol bone flags / anim flags / global sequcnes flags that were not mapped at all in previous version
• Added commends to some parts of the blocks to better describe what the data mean
• Named lots of previously unknown strucutres after the lastest data from wowdev.wiki
• Better described Camera block
• Added more enum types where possible like texture types or added new animations entries
• + Some other edits that I surely just forgot 


image.pngimage.pngimage.pngimage.pngimage.pngimage.pngimage.pngimage.pngimage.pngimage.pngimage.png


What's New in Version 1.6.0

Released

• Significant changes to MD21 Chunks added more variable to keep track of data and internal relative offsets within chunks

 


×
×
  • Create New...