1.12.1 meshreader issue menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Achilees's Avatar Member
    Reputation
    14
    Join Date
    Sep 2013
    Posts
    20
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    1.12.1 meshreader issue

    I am working on creating navigation mesh using meshReader GitHub - stschake/meshReader: WoW NavMesh generator based on Recast&Detour (and geometry reader) and R/T for 1.12.1. So far I am able to extract the vertices from the MCNK chunk and hence the terrain. But so far have not been able to handle doodads, world models & liquids. I know that for 1.12.1 it does not have MH20.

    So far following are the chunks that I see for any tile

    for E.g. for : World\Maps\Kalimdor\Kalimdor_0_0.adt tile I see

    Code:
    MVER,MHDR,MCIN,MTEX,MMDX,MMID,MWMO,MWID,MDDF,MODF, MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK,MCNK
    Structurally (ADT wise) this is correct.

    Now when I get to reading MCNK subchunks to handle Doodads, I had to modify meshReader code to adjust MCNK chunk stream to skip MCNK Header 128 bytes (based on WOWDEV) to get to first subchunk and that helped. First MCNK total length is 2552.

    With that I read MCVT
    Code:
       Length : 580
    and then MCNR
    Code:
       Length : 435
    MCNR chunk provides me a 32bit length to be 435 and based on that meshReader expects the next subchunk (For Doodads, meshreader expects MCRD but i think for older versions it should be MCLQ) to be at 5447 (ADT stream position)

    but first four reversed bytes don't yield any valid sub-chunk...

    I have looked at 1.12.1 cmangos and did not see in code specifically where it was handling sub-chunks specifically Doodads etc.

    I am a bit stuck, any pointers or help is appreciated.
    Last edited by Achilees; 03-12-2017 at 09:57 AM.

    1.12.1 meshreader issue
  2. #2
    Achilees's Avatar Member
    Reputation
    14
    Join Date
    Sep 2013
    Posts
    20
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Bumping the thread post editing.

  3. #3
    Achilees's Avatar Member
    Reputation
    14
    Join Date
    Sep 2013
    Posts
    20
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  4. Thanks squiggy, tutrakan, Corthezz (3 members gave Thanks to Achilees for this useful post)

Similar Threads

  1. Issues with Deeprun Tram exploit
    By shade599 in forum World of Warcraft Exploration
    Replies: 3
    Last Post: 03-25-2007, 08:01 AM
  2. !xSpeednet Issues
    By Taldeer in forum World of Warcraft General
    Replies: 5
    Last Post: 01-28-2007, 06:32 PM
  3. DBC More issues.
    By dela in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 09-29-2006, 07:46 PM
  4. patching issue
    By Marlo in forum World of Warcraft General
    Replies: 0
    Last Post: 07-22-2006, 07:35 PM
  5. [Patch 1.11] - Known Issues (6-20-06)
    By Cypher in forum World of Warcraft General
    Replies: 1
    Last Post: 06-24-2006, 12:42 AM
All times are GMT -5. The time now is 02:26 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search