M2 File Format menu

Shout-Out

User Tag List

Results 1 to 3 of 3
  1. #1
    amaru's Avatar Member
    Reputation
    1
    Join Date
    Dec 2008
    Posts
    18
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    M2 File Format

    Hey everybody.
    I checked throughly wiki at M2/WotLK - WoWDev regarding M2 file format. I've also wrote a tool that was supposed to read/write m2 files https://github.com/Dramacydal/M2Lib
    Everything is smooth and adequate except one thing:
    I have a model of ~1.5 Mb but when I read and then write model I produce a file of 250kb. One may think that it is a bug in my library but maximum offset that I get while parsing M2 header (and it nested structures) is also around ~250k.
    I'm curious where ~85% of all data gone
    Brief looking at client disassembly I also haven't noticed any data reading after parsing of header

    Maybe there is anyone who is familiar with this sort of thing?
    Thanks

    M2 File Format
  2. #2
    spik96's Avatar Active Member
    Reputation
    63
    Join Date
    Jan 2008
    Posts
    39
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi.
    I am a bit familiar with the M2 format. I have myself too recently created a lib, mine is in Java : https://github.com/Koward/jM2lib .
    If you are looking for missing data, why don't you re-read your output file with your lib ? Try with a simple model. Then compare the data.
    Do you have a way to visualize data ? Try to print (or whatever allows you to check if every is right) the bones.
    BTW, there are more specialized websites if you want to specifically learn about the format itself.
    Last edited by spik96; 12-29-2015 at 10:34 AM.

  3. #3
    amaru's Avatar Member
    Reputation
    1
    Join Date
    Dec 2008
    Posts
    18
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi spik96.
    Yes I tried to re-read what I had written, i got identical output. Can you tell please any site that is related to this subject that you know?

Similar Threads

  1. HB etm file format?
    By mengxp in forum WoW Bot Maps And Profiles
    Replies: 0
    Last Post: 12-20-2012, 08:36 AM
  2. Where can I find the new ADT file format?
    By caowenyu in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 10-25-2010, 07:32 PM
  3. PeLib - A PE File Format Wrapper
    By Cypher in forum WoW Memory Editing
    Replies: 13
    Last Post: 11-08-2009, 06:26 PM
  4. DBC's invalid file format
    By Supah in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 06-09-2009, 08:23 AM
  5. Replies: 0
    Last Post: 05-18-2009, 09:06 PM
All times are GMT -5. The time now is 12:08 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search