Reaper-X » Emulators » Guide » WoW Mangos Map, VMaps and DBC Extraction Guide

WoW Mangos Map, VMaps and DBC Extraction Guide

Warning : this page contain lots of images

To make installation of WoW Mangos even easier, based on various suggestion / comment made by the commenters on this site, i’ve decided to create a new complete guide using lots of images instead describing each step carefully especially at the extraction process of Maps, Vmaps, and DBC which caused problem on some people because they keep getting various error message related to missing vmap, vmdir, map, etc

As a side note, this process is based on my release (i already include all the tools required) so if you’re using someone else mangos release, you can always adjust the path accordingly (i mean the tools itself of course) or find the tools by yourself :)

Okay and here are the steps …

Requirements :

  • DBC Extractor known as MPQE
  • Ad.exe to extract Maps
  • VMaps Extractor and Assembler to create vmaps

Fresh Installation and Upgrading :

Note : the default WoW Installation Directory is C:\Program Files\World of Warcraft

Note 2 : the default data directory of your WoW Installation can be found at C:\Program Files\World of Warcraft\Data\enUS

Note 3 : Make sure to delete the buildings, vmaps, and maps directory (if there’s any, left from the previous extraction process) before running the .bat files to extract maps, vmaps, and dbc files

Note 4 : All the Tools needed to extract DBC, VMaps and Maps can be found in Tools directory of my release

1. Extracting Maps :

Copy below files into your WoW installation Directory :

Map extraction

and then run extract-map.bat from your WoW installation directory … and wait … until it finished (it’ll automatically close itself when finished). And here’s what it should look like after you run the extract-map.bat

Extracting map from wow

2. Extracting VMaps :

Copy below files into your WoW installation directory :

Extracting vmaps

then run makevmaps_SIMPLE.bat from your WoW installation directory and wait until finished

Waiting time

When you see something like above image, just wait until PRESS ANY KEY TO CONTINUE MESSAGE appear on your screen. If you close that window before it finished the process, you’ll need to redo the vmaps extraction process from start … estimated time : 40 Minutes – 2 Hours or more depending on your computer speed

And here’s what is should look like when the VMaps extraction process finished :

Vmaps finished

3. Extracting DBC :

Copy below files into your data/enUS directory of your WoW installation

DBC Extractor

And then run the extract.bat from your WoW data directory and wait until it finished, and here’s what it should look like when the dbc extraction is finished

Dbc extraction

4. Moving the VMaps, Maps, and DBC directory

Now since you have finished with the above process, all you have to do is just moving the VMaps and Maps directory like shown on below images into somewhere for example C:\WoW\data

Maps directory

and then now you need to go inside your data/enUS directory and then move the DBC Directory there into C:\WoW\data too. As shown below

Dbc directory

To make things clear, here’s what it should look like when you’ve moved the above three directory into your C:\WoW\data

Moving finished

That’s it … you’re done … as a reminder, you should keep that C:\WoW\data folder to make upgrading mangos process easier and to save time of course (unless there’re some big changes at your WoW installation like new patch) ;)

Tags: Guidemangoswarcraftworld of warcraftwow

Leave a Comment

Comments Navigation 1 2 3 4 ... 10
  1. zoop said Oct 27, 2007 at 8:14 pm

  2. zoop said Oct 27, 2007 at 8:12 pm

    hey reaper i hve a problem cos it says cannot locate locale-enUS.MPQ
    cannot locate patch-enUS.MPQ
    cannot locae patch-enUS-2.MPQ

    plz help!!!

  3. Reaper-X said Oct 27, 2007 at 6:33 pm

    # ibbeywoox

    if you’re sure that you can locate the actual file on your harddrive, that mean you didn’t set the datadir path correctly ;)

    as a side note, i’d suggest you to upgrade to WoW 2.2.3 and upgrade into my 4629 release ;)

    # Boomstick

    Ah .. if you don’t have TBC expansion pack installed, then you need to open mangosd.conf manually (after choosing the option #5 from reaper-x-mangos.bat)

    and then search for :

    Expansion = 1

    replace it with :

    Expansion = 0

    and done :)

  4. Reaper-X said Oct 27, 2007 at 6:29 pm

    # WoWeek

    Actually you won’t see the filename extension if you choose to hide extension for known file types which is enabled by default on Windows XP in folder options :)

    # Dan-Bulfon

    Ah .. you didn’t extract the vmaps files properly, you’ll need to wait for the vmaps extraction process to complete which will took 45 minutes – 2 hours depending on your computer specs :)

  5. WoWeek said Oct 27, 2007 at 4:30 pm

    Actually, no .bat ending files …

  6. WoWeek said Oct 27, 2007 at 4:29 pm

    Hey, Extract-map.bat doesn’t exist in ANY folder that I’ve downloaded from you ;) It’s my deepest problem

  7. Dan-Bulfon said Oct 27, 2007 at 2:04 pm

    how do i fix this error

    2007-10-27 00:06:36 ERROR:Could not find vmap file ‘C:\mangos\data/vmaps/001_33_39.vmdir’
    2007-10-27 00:06:36 ERROR:Correct *.map files not found in path ‘C:\mangos\data/maps’ or *.vmap/*vmdir files in ‘C:\mangos\data/vmaps’.
    Please place *.map/*.vmap/*.vmdir files in appropriate directories or correct the DataDir value in the mangosd.conf file.

  8. Dan-Bulfon said Oct 27, 2007 at 2:03 pm

    when u get the chance u help me plz

    i cant seem to figure out y but mangosd says im missing 001_33_39.vmdir’ how do i fix that?

  9. Dan-Bulfon said Oct 27, 2007 at 10:30 am

    the extractors wont work at all you plz help me

  10. ibbeywoox said Oct 27, 2007 at 9:01 am

    hi all n reaper X
    i passed all the other parts n wen it cums to start the mangosd it says
    d:\mangos\data/maps/5301243.map does nt exist n then says to chck the places where vmap n maps are

    but all of these file are in the correct places(i guess) i am using 2.1.3 and usin mangos 4535

    thnx n hope for a reply soon

  11. Boomstick said Oct 27, 2007 at 4:32 am

    forgot to add:

    got TBC? no
    wow version: 2.2.3 (latest)
    reaper mangos: 4602

  12. Boomstick said Oct 27, 2007 at 4:04 am

    I’ve done everything in guides of mangos, got all done; i have got even FAQ about errors readen, have got all files like “0004331.map” but still sends errors about it , I’ve checked everything twice (at least I hope so), made some corrections, my realmlist.wtf is changed too. I’ve tried to do almost everything (again i hope so), but no results…. plz reply fast cos im not in the mood to re-install my WoW (cause WoW in my comp messed up) but i still wanna play wow soon…

  13. Hip-Hop said Oct 26, 2007 at 3:32 pm

    Please someone post a link for downloading the file “extract-map.bat”! I need that file please someone post a link to it, because I can’t play!

  14. Dravus said Oct 25, 2007 at 10:00 pm

    I’m having trouble with the DBC extractor….it came with this build of Mangos

    all I’m getting is

    Fatal: Could not locate SFmpq.dll

    I’m running XP x64….the .dll file is located in the folder you told me to put it…along with every other file that I was told to put in

    do you think there is an issue with 64 bit operating systems running DBC extractor…i’ve seen other comments about it further up and most are due to 64 bit OS’s

    if there is any fix you can think of…..other than using a 32 bit os as I have non to use…
    I’d be grateful for the help

  15. RaZ0R said Oct 24, 2007 at 8:02 pm

    Very nice guides, as always, keep it up :D

    And for the DBC auto-extracting part with extract.bat for the enGB, it works with just changing to “GB” instead of “US”

  16. WaveMaster said Oct 24, 2007 at 3:52 pm

    i keep having a problem with the vmap extract
    (im only getting 2,615 mapfiles) would it be possible fo someone to copy there vmap folder (that has all 3299) zip it and upload it somewhere?

  17. cm said Oct 24, 2007 at 7:53 am

    Every time i try to use the database in data/en us it never works only says i have to install some net framwork, how?

  18. Bamabam said Oct 24, 2007 at 1:50 am

    So i’ve been following the entire guide step by step and i have your latest mangos package. I’m at the part where you drop the files in the C:\Program Files\World of Warcraft\Data\enUS directory. I go to run the extract.bat file and i get the error…

    “the applaction failed to initalize porperly (0xc0000135)”

    =( sigh i thought it was working perfectly. what can i do?

  19. Chris said Oct 22, 2007 at 6:40 pm

    just as ozz i got teh same error message, and for it wont open anything at all, i tried all teh different ad.exe i could find and noneof them work, and i oput the extract.map.bat file in teh correct folder as ur guide says to and nothing happens pls cna u help me

  20. 0zz said Oct 22, 2007 at 1:54 pm

    Sigh..also having trouble extracting vmaps..

    C:\Userszzi\Desktop\World of Warcraft\Data\enUS>vmapextract_v2.exe
    Extract V2.4 2007_07_12. Beginning work ….

    Game path: C:\Program Files\World of Warcraft\Data\
    Scanning for locales.

    Could not open data directory for reading. Aborting.

    Extract wmo complete (No errors)

    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application’s support team for more information.

    All the locales are there in the same directory….

  21. 0zz said Oct 22, 2007 at 1:47 pm

    I seem to be having trouble extracting the maps as well. When I run the extract-map.bat file, all it does is create an empty map folder. I edited the file and added pause to see what the problem was, and it seems as if the program failed to open any file. This is what the file says:

    A subdirectory or file maps already exists.
    Opening ./Data/patch-2.MPQ
    Error opening archive ./Data/patch-2.MPQ
    Opening ./Data/patch.MPQ
    Error opening archive ./Data/patch.MPQ
    Opening ./Data/common.MPQ
    Error opening archive ./Data/common.MPQ
    Opening ./Data/expansion.MPQ
    Error opening archive ./Data/expansion.MPQ
    Opening ./Data/enGB/patch-enGB-2.MPQ
    Error opening archive ./Data/enGB/patch-enGB-2.MPQ
    Opening ./Data/enGB/patch-enGB.MPQ
    Error opening archive ./Data/enGB/patch-enGB.MPQ
    Opening ./Data/enGB/locale-enGB.MPQ
    Error opening archive ./Data/enGB/locale-enGB.MPQ
    Assertion failed: header[0]==’W’ && header[1]==’D’ && header[2]==’B’ && header[3
    ] == ‘C’, file d:\work\mangos\mangos_src\contrib\map_extractor\dbcfile.cpp, line
    17

    This is what i get when I place the ad.exe and bat file in wow/data/enUS. Although I noticed that none of those files (Patch-2.MPQ, Patch.MPQ, or common.MPQ) were located in there. They were located in the Data section. So I tried running the file from wow/data instead of wow/data/enUS but I still recieved the same errors. None of the archives were opened, and once again, left me with an empty map folder… (also, i’ve noticed that there aren’t any -enGB files located in any folders of a enUS installation, so I wonder why the program tries to open something that was never there to begin with.. please help. I am running the latest version of wow (2.2.3). Thanks

  22. Warhart said Oct 22, 2007 at 11:52 am

    i know i have seen a post on this but..when i try to run extract.bat in DBC Extractot i get an error messaging saying ” the applaction failed to initalize porperly (0xc0000135) PLZ help :)

  23. Chris said Oct 22, 2007 at 6:44 am

    this is really ticking me off now, i re installed wow at 2.2 and am trying it again and the maps folder keeps coming up as empty and the batch file thingie is sayings it ahs an error finding all teh files i seriously neeed help

  24. Chris said Oct 22, 2007 at 3:40 am

    ok i figured out teh pause thing but ow it says its having an erro opening the patch file and i got teh aptch from blzzzard themselves so there isnt anything wrong with it

  25. Chris said Oct 22, 2007 at 3:36 am

    Hi, everytime i open mangosd file i get the same error message as Tim form before, and i did everythign you told him to do nad i still cna get it to work, i couldnt understand what you exactly meant by put pause at the end of it, could you pls send me an email to Blueice_chris@msn.com on howto fix this error, everything else i did through wut ur guides told me and i keep getting an empty maps folder…and the extracter itslef moves os quickly that i cna evne typ in pause

    thank you for assiting me lookin forward to your answer

  26. man said Oct 21, 2007 at 5:23 am

    No, i’m not trying to recompile anything. I was just wondering if there where somekind of list of known bugs/issues, Bosses that didn’t work and so on. So it was possible to learn what is supposed to work in your release, and compare that with my installed version of your release.

  27. dedruid said Oct 21, 2007 at 12:58 am

    Just incase anyone else is having a problem with ad.exe hanging and not creating things the way it’s supposed to. I got the file from: https://mangos.svn.sourceforge.net/svnroot/mangos/trunk/contrib/map_extractor/ad.exe

  28. dedruid said Oct 21, 2007 at 12:51 am

    it was the ad.exe that was packaged w/the latest release. i downloaded a new ad.exe and all was good.

    new question: I was running through some instances last night and nothing would respond. I could attack once then it would shut off auto-attack and the mob would never fight back or go into combat. Only way I could ever kill anything was with .die. Is there something I missed that would cause this or is this something to be expected on these kinds of servers?

  29. Sully said Oct 21, 2007 at 12:08 am

    map-extractor.bat just makes a folder called maps, without the folder ad.exe cant run… so if you made the maps folder ad.exe would have been able to been ran

  30. Bootie said Oct 20, 2007 at 9:40 pm

    when i run the map extractor, i get hundreds of “Can’t create the output file …” errors. any ideas?

    I keep getting these errors, i do have enough free space on my drive. So i dont get it. WoW is freshly installed an patched.

    Forget this, i ran ad.exe…i need to run map-extractor, lol, my fault!

  31. Sully said Oct 20, 2007 at 9:31 pm

    i havent even got that far yet lol, i am installing WoW still. then BC then patching to 2.2.3 (or at least 2.2.0 to extract the maps)

  32. Bootie said Oct 20, 2007 at 9:20 pm

    when i run the map extractor, i get hundreds of “Can’t create the output file …” errors. any ideas?

    I keep getting these errors, i do have enough free space on my drive. So i dont get it. WoW is freshly installed an patched.

  33. Sully said Oct 20, 2007 at 7:53 pm

  34. Sully said Oct 20, 2007 at 7:52 pm

    ok, but how big would the two directories be?

    i mean th emaps and vmaps directories

  35. Reaper-X said Oct 20, 2007 at 6:00 pm

    # Createse

    Since i never actually tried it in Vista, i’m not to sure on how to fix it :(

    btw do you have XP SP2 installed ? if you have XP i’d suggest you to use XP to extract the DBC. Or if you have enUS version, you can download the extracted dbc files from 2.2.3 :)

    note : mangos has officially support 2.2.3 so the next release would be for 2.2.3 only :)

    # wow enGB

    Of course, and already tested by someone from UK :)

    # renato

    What is arquivo ? i don’t really understand your question

    # dedruid

    Do you have at least 2.87 GB Freespace on your harddrive ? as a side note, if you done the extraction process successfully there will be :

    3492 Maps files
    3299 VMaps files

  36. wow enGB said Oct 20, 2007 at 5:37 pm

    hi,

    i have the europe version of WOW can the server run if yes how ?

  37. Createse said Oct 20, 2007 at 8:11 am

    A minor edit to the above post:

    World of Warcraft Version: 2.1.3.6898
    (I thought I’d be exact)

  38. Createse said Oct 20, 2007 at 8:10 am

    Hey, I’m running WoW TBC v2.1.3 and when I come to extracting the DBC I get the “Could not locate SFmpq.dll” error message. despite it being in the same very folder.

    Info:
    World of Warcraft Version: 2.1.3
    The Burning Crusade Installed?: Yes
    MaNGOS Version: 4619 rev141
    Database Used: Project Silvermoon Rev18
    Maps & VMaps extracted with success?: Yes
    Checked all directory locations etc?: Yes, everything is where it should be.
    Microsoft .Net2.0 Installed? Yes, I have v3.0, comes with Vista.

    I hope you can help. Also note, I’ve had your ‘Mangos 4602, ScriptDev2 145 with Unified Database 0.7.5′ build working with complete success, after downloading your DBC (couldn’t extract it then either), but when I tried it this time around, when running MaNGOS.exe it states that my DBC is out-of-date.
    My reason for not just continuing with your above build is that it doesn’t include PS rev18 database and I do not know enough to merge the databases nor anything else for that matter..

    Cheers in advance..
    Createse

  39. renato said Oct 19, 2007 at 10:25 pm

    hi me english not good sory + i go post ok!!
    i select makevmaps_simple and have one error extract complete no error + i go open me vmaps and no have arquivo no have itens

  40. dedruid said Oct 19, 2007 at 6:34 pm

    Any reason why the extract-map batch file would hang at 2% every time and never make further progress? The directory gets loaded up and loaded with about 3megs in files but I’m still stuck at 2%.

  41. Reaper-X said Oct 19, 2007 at 6:06 pm

    # man

    I’m not to sure about your question, are you trying to recompile the scriptdev2 ?

    # Derin

    Try using this version and let me know (don’t forget to delete the previously created buildings and vmaps directory first) :)

    http://rapidshare.com/files/63627489/vmap_extract_assembler_nonopt.rar

    also if you’re having problem with ad.exe, try using this one

    http://rapidshare.com/files/61549427/ad.exe

    # Nik

    First you need to make sure that you can locate the actual files using windows search function, and if that file doesn’t exist that mean you need to run the vmaps extract and assembler again :)

  42. Nik said Oct 19, 2007 at 3:26 pm

    Ive tried at least 12 times, redoing everything and I always get the same message when I open mangosd.exe

    Could not find vmap file ‘C:/WoW/data/vmaps/001_33_39.vmdir’
    Correct *.map files not found in path ‘C:/WoW/data/maps or *.vmap/*vmdir files in ‘C:/WoW/data/vmaps’. Please place *.map/*.vmap/*.vmdir files in appropriate directories or correct the DataDir value in the mangosd.conf file.

  43. Derin said Oct 18, 2007 at 10:04 pm

    Sorry for not being specific. It crashes. I tried to repeat the process with 2.2.3 and 2.1.3, I have win xp pro sp2. Each time the system gives a message that the application have crashed and then the vmap_assembler.exe pauses with the message – press any key to continue, but it doesn’t finish properly. It has also rebooted my system twice. I have no idea what this might be. I tried to use the application from different sources but it didn’t help at all.

  44. man said Oct 18, 2007 at 9:12 pm

    # Reaper-X

    I kinda a noob here, so bare with me for a sec.
    But from reading posts for your different guides(very nice ones BTW) i understand that it the is the ScriptDev2 that controls the behavior of bosses etc. Is it possible to learn the improvements your make in the different ScriptDev2 version?

  45. Reaper-X said Oct 18, 2007 at 8:08 pm

    # john

    Some people got better luck when they use backslash at the datadir section :)

    so try using “/” for example C:/wow/data

    # man

    Unfortunately not all bossess have been scripted yet :)

    # Derin

    Die ? do you mean the window close itself automatically ?

  46. man said Oct 18, 2007 at 7:38 am

    In ref to my earlier post (Stuck in sec. 3) i used the MPQEditor tool to manually extract the DBC files. The rest of the installation ran without any issues.

    The Server up and running now. But i’m experiencing that the Boss behavior in the instances are not simular to the Official Servers, e.g. Boss spawn shortly after killing them, Karazham opera house: only strawman can be killed, and more.. is that normal “private-server” behavior?

    And again thanx for a very well written installation guide.

  47. john said Oct 18, 2007 at 2:45 am

    it’s seem everyone creat thier owned private server and expirences (mostly)…… but not me.
    i got stucked at mangos.exe showing
    007-10-17 12:42:14 World Database: 127.0.0.1;3306;mangos;mangos;mangos
    2007-10-17 12:42:14 Login Database: 127.0.0.1;3306;mangos;mangos;realmd
    2007-10-17 12:42:14 Realm running as realm ID 1
    2007-10-17 12:42:14 Using UDB 0.7.5 (319) with SD2 calls rev.145
    2007-10-17 12:42:14 Using DataDir C:\wow\data/
    2007-10-17 12:42:14 WORLD: VMap support included. LineOfSight:1, getHeight:1
    2007-10-17 12:42:14 WORLD: VMap data directory is: C:\wow\data/vmaps
    2007-10-17 12:42:14 WORLD: VMap config keys are: vmap.enableLOS, vmap.enableHeight, vmap.ignoreMapIds, vmap.ignoreSpellIds
    2007-10-17 12:42:14 ERROR:Check existing of map file ‘C:\wow\data/maps/0004331.map’: not exist!
    2007-10-17 12:42:14 ERROR:Correct *.map files not found in path ‘C:\wow\data/maps’ or *.vmap/*vmdir files in ‘C:\wow\data/vmaps’. Please place *.map/*.vmap/*.vmdir files in appropriate directories or correct the DataDir value in the mangosd.conf file.

    0004331.map is not exist, but it is there…..
    can some1 help me here please.
    Thanks.

  48. Derin said Oct 18, 2007 at 2:13 am

    Hi there,
    I have a small problem with the second stage, that is the Extracting VMaps part. When it comes to assembling, the application just dies and doesn;t finish. I have no idea what could be the reason. Any guesses?
    Thanks :)

  49. Raptos said Oct 17, 2007 at 6:45 pm

    Loading items…
    Error in “item_template” table,probably sql file was updated there should be 138 fields in sql
    srry 4 triple post but i can’t delete or edit my previous posts.

  50. Raptos said Oct 17, 2007 at 6:44 pm

    Loading items…
    Error in “item_template” table,probably sql file was updated
    That’s the exact message.

Comments Navigation 1 2 3 4 ... 10

Trackbacks/Pingbacks

CommentLeave a response

Please read our comment policy | XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>