Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: Piccolodmq on February 25, 2017, 08:03:39 pm

Title: Understanding MMAPS, MAPS and Vmaps
Post by: Piccolodmq on February 25, 2017, 08:03:39 pm
I previously, made custom MMAPS, MAPS and VMAPS, that do work, for Cataclysm Azeroth, Pandaria zones.  I did it, thanks to Amaroth, with this previous topic: viewtopic.php?f=12&t=10999 (http://modcraft.io/viewtopic.php?f=12&t=10999" onclick="window.open(this.href);return false;)

Basically I putted all the custom map info into PATCH-3 deleting all of 3.3.5a azeroth, to make sure, the extractors, choose the cataclysm azeroth files, and not the 3.3.5a.  

The problem is that the only zones that are not, working its Expansion 01 (or outlands, and the starting zones for Dranei and Belfs).  

Is there a way, to identify, the outlands maps,vmaps and mmaps, from the rest of files, so I can copy paste a freshly extracted maps (from a 3.3.5a client), so I can add them to my server maps?

Is thre anothrer approach to this?

Thanks!

P.S  (If I use normal extracted maps,vmaps etc from a 3.3.5a client outlands and expansion01 zones work as intented).
Title: Re: Understanding MMAPS, MAPS and Vmaps
Post by: Piccolodmq on February 25, 2017, 08:11:25 pm
Dont know how to edit.

I meant to say, ONCE EXTRACTED THE MAPS, VMAPS AND MMAPS is there away to tell the outlands ones apart?
Title: Re: Understanding MMAPS, MAPS and Vmaps
Post by: Amaroth on February 26, 2017, 10:10:40 am
It is. Maps, vmaps and mmaps have names which are made of map ID and ADT IDs. Examples:

Maps:
0002038.map is mapID 000 (Azeroth/Eastern Kingdoms) and ADT 20 38)

Vmaps:
000.vmtree is a... lets call it root file of vmap of map 000.
000_28_30.vmtile is ADT 28 30 of vmap 000.

Mmaps:
000.mmap is again, a root file of mmap of map 000.
0002434.mmtile is ADT 24 34 on map 000.


I had a bad experience with using only part of extraction. When you take for example up to date vmaps of some map(s) and mix them up with outdated ones (even while you are updating whole map, just not all of the maps), your server can start crashing, until you turn vmaps off. As far as I know, the same can happen with mmaps. I am unsure why. My guess is that some files containing data about particular models (examples: Nd_Human_Wall_Damaged.wmo.vmo or Nd_Ship_Ud_Bg_Flip.m2.vmo) in vmaps was missing on my server, as I have probably retro-ported some new models and placed them into map, which meant that at one point I had them on my map, they were written into vmaps, but data for them were not uploaded on server. This is, sadly, just my theory. I don't know for sure if this was (the only) issue. What I know for sure is that I started getting random crashes until I turned vmaps off and updated them all at once.
Title: Re: Understanding MMAPS, MAPS and Vmaps
Post by: Piccolodmq on February 27, 2017, 04:43:17 am
Thank you for this!   i was able to fix Outlands, with all the other custom maps!