[Help Request] Someone with knowledge of ADT file specifically MCVT chunk menu

User Tag List

Results 1 to 14 of 14
  1. #1
    DJRehab's Avatar Active Member
    Reputation
    42
    Join Date
    Jul 2007
    Posts
    87
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Help Request] Someone with knowledge of ADT file specifically MCVT chunk

    Alright here is my question...I know how to read MCIN chunk and get the offsets for all the MCNK chunks.

    Jumping to each offset it extracts the MCVT table which I believe is like this in hex

    /0x00/ MCVT label - (4bytes)
    /0x04/ size of MCVT chunk (in bytes) - (4bytes)
    /0x08/ first float for vertice height at 0,0 - (4 byte FLOAT)
    /0x0C/ second float vertice height at 1,0 - (4 byte FLOAT)


    it extracts all the floats and writes just the 9x9 (outer vertices) into data (It does extract this info correctly!) when I create a matrix for each chunk it displays them pretty well, but I cant get it to position the chunks properly....

    I have it loading chunks in following order:

    00 16
    01 17
    02 18
    03 19
    04 20
    05 21
    06 22
    07 23
    08 24
    09 25
    10 26
    11 27
    12 28
    13 29
    14 30
    15 31

    and so on in columns of 16 chunks....

    but here is what happens




    -wireframe (since i dont support texture yet nor even plan on it right now)-



    looks like my engine not properly reading some float addresses like WoW would?

    any info or advice would help right now its pissing me off
    Last edited by DJRehab; 04-16-2010 at 06:50 AM.

    [Help Request] Someone with knowledge of ADT file specifically MCVT chunk
  2. #2
    schlumpf's Avatar Retired Noggit Developer

    Reputation
    755
    Join Date
    Nov 2006
    Posts
    2,759
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You are missing the base height given in the MCNK chunk.

  3. #3
    Tigurius's Avatar Member
    Reputation
    300
    Join Date
    Jun 2008
    Posts
    519
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have you read: ADT/v18 - WoW.Dev Wiki ?
    You could also have a look into the Taliis Source: source.zip // Load.to Uploadservice
    I think there is adt3Dplugins in there(but I don't know which rev oO)
    Like my work? Support Me! ;D

  4. #4
    DJRehab's Avatar Active Member
    Reputation
    42
    Join Date
    Jul 2007
    Posts
    87
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Didnt know Taliis source existed nor base chunk height i love u guys lol

    EDIT - and ur adt wiki is where i got most data info...going to try after defag is done... posting from my Wii XD
    Last edited by DJRehab; 04-16-2010 at 08:01 AM.

  5. #5
    DJRehab's Avatar Active Member
    Reputation
    42
    Join Date
    Jul 2007
    Posts
    87
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry to double post just bumpin on progress....

    I could not for the life of me extract the offset from the MCNK data, but I did however create dummy offsets based on position of Chunk 00 XD

    these of course are stored in memory for reference when writing data back for MCVT....

    Here I rendered a wireframe of the terrain in Azeroth_32_42.adt

    each chunk is its own plane(matrix), now to write some more code to edit the shape



    EDIT - eh couldnt rep u guys because i just recently repped posts by the both of ya lol thanks for the help!
    Last edited by DJRehab; 04-16-2010 at 01:38 PM.

  6. #6
    Toyoka's Avatar Contributor
    Reputation
    139
    Join Date
    Nov 2009
    Posts
    406
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's looking great DJRehab, hope to see more progress on this!
    ~ "When you find it hard doing right in what you do, you've got a problem" ~

  7. #7
    DJRehab's Avatar Active Member
    Reputation
    42
    Join Date
    Jul 2007
    Posts
    87
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You most definately will, I made it so you can drop / raise a whole chunk just as a test (of course this makes holes but is a definate step forward)

    the rePacker (which takes these main 9x9 vertices and rePacks them per chunk) then calculates the inner 8x8 grid but creating and AVERAGE of the four vertices that surround it

    Coding the save function now and will let you know the results either tonight or tommorow 6):

    I also coded it this way (wireframe mode) to keep it very low end....Noggit and Yias both crash on my Pentium 1.1GHZ with 256 RAM...hell WoW hardly runs and not without lag lmao

    this tool renders very quickly and is very low-end...I plan on keeping it that way as everyone has issues with the the afformentioned tools crashing, not loading, etc.

    pray for the best for all the low-end operaters sake
    Last edited by DJRehab; 04-16-2010 at 08:21 PM.

  8. #8
    Toyoka's Avatar Contributor
    Reputation
    139
    Join Date
    Nov 2009
    Posts
    406
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That is a good idea! Even though programs like Yias and Noggit serve there purpose as more high-end graphical editors, it's nice to have something low-end for quick edits or just for general editing with a low-end computer (such as yourself, and therefor the existence of your program ).
    ~ "When you find it hard doing right in what you do, you've got a problem" ~

  9. #9
    DJRehab's Avatar Active Member
    Reputation
    42
    Join Date
    Jul 2007
    Posts
    87
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    [EDIT] - PROBLEM SOLVED I figured it out before even 2 people read this, I am retarded LMAO

    update soon with progress and screenshots! XD
    Last edited by DJRehab; 04-17-2010 at 07:05 AM.

  10. #10
    DJRehab's Avatar Active Member
    Reputation
    42
    Join Date
    Jul 2007
    Posts
    87
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    -BUMP-

    I mentioned I made it so you can drop a chunk in the above post, I did this so I could focus on the repack ADT function to put data back in. Results are marvelous and now that I got a working base, it is time to get down to business

    Here a couple screenies...first is in editor showing the chunk I lowered and second is an in-game snapshot





    Soon we may see a public release. As of when, I am not sure yet. I am trying to think of what milestone I want to hit before release...Probably as soon as I get a few basic brushes coded I will let you guys mess around with it

  11. #11
    Toyoka's Avatar Contributor
    Reputation
    139
    Join Date
    Nov 2009
    Posts
    406
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's great progress there man I'm excited for I can see so much potential from this! As for milestones... hm... yea I guess brushes would be a good start Start out small, and work your way up is what I say!

    P.S. I do my best to motivate (bah, so many emoticons!)
    Last edited by Toyoka; 04-17-2010 at 09:11 AM.
    ~ "When you find it hard doing right in what you do, you've got a problem" ~

  12. #12
    DJRehab's Avatar Active Member
    Reputation
    42
    Join Date
    Jul 2007
    Posts
    87
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ya I do want to code loading more than just a single ADT but that will be in the future, I just need to figure up a way to make these brushes modify more than just a single chunk...got a couple ideas I am going to toy with when I get back on it...for now im taking a break for a couple days to let my mind rest before lookin at more damn code

    Monday I will be back at it though so expect some kind of update on progress...this kinda became a dev log rather than a question lol

    EDIT - If a moderator sees this as now a thread in the wrong section just CLOSE IT and notify me...I will start a new thread in the correct forum with more orginazation....not very organized as it started as a question topic :P

  13. #13
    Reflection's Avatar Legendary
    Reputation
    783
    Join Date
    Mar 2008
    Posts
    3,377
    Thanks G/R
    1/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looks really nice DJRehab! I'll close your topic now and feel free to create a [Development] thread in Model Editing main forum unless you've got something for us to download. Place in Guides & Programs then!
    Last edited by Reflection; 04-17-2010 at 10:34 AM.

    Freelance Digital Artist
    https://reflectionartwork.deviantart.com
    You did not desert me
    My brothers in arms


  14. #14
    DJRehab's Avatar Active Member
    Reputation
    42
    Join Date
    Jul 2007
    Posts
    87
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just close it XD I will post a new thread in Guides and Programs upon alpha release

Similar Threads

  1. [Help Request] Interact with Object (CTM)
    By Mr.Zunz in forum WoW Memory Editing
    Replies: 7
    Last Post: 09-03-2009, 08:06 PM
  2. [Help Request]Problem with warglaives
    By m2]IceMan in forum WoW ME Questions and Requests
    Replies: 14
    Last Post: 02-21-2008, 03:21 PM
All times are GMT -5. The time now is 01:53 AM. 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