Jump to content

[GUIDE]How to extract the vmaps on Linux and on Windows


Guest Helias

Recommended Posts

Step 1

For Windows...

We must copy the files make_vmaps.bat, makevmaps_SIMPLE.bat, vmap_assembler.exe and the file vmapExtractor3.exe in the folder of World of Warcraft, after we must execute the file make_vmaps.bat and after we must execute makevmaps_SIMPLE.bat.

Now we have the vmaps and we can enble LOS (in the file mangosd.conf).

For Linux...

We need to install some software and we can install those with this command:

sudo apt-get install cmake libghc6-bzlib-dev

Now if we see the file makevmaps_SIMPLE.bat..

vmapExtractor3.exe
md vmaps
vmap_assembler.exe buildings vmaps

pause

We see that we need two extractor for buildings and vmaps so we can configure/compile they.

For vmapExtractorv3 we must go to folder dep/libmpq ("Because vmap_extractor depends on libmpq for reading mpq files, you will have to build libmpq prior to vmap_extractor.") so write in the terminal:

cd sources/mangos/dep/libmpq

after configure it with those commands:

./autogen.sh
./configure
make

After that go to folder sources/mangos/contrib/vmap_extractor_v3/ so write this command:

cd ..; cd ..; cd contrib/vmap_extractor_v3;

Make the file executable so write those commands:

cmake .

and

make

Now copy the file vmapextractor in the folder of World of Warcraft and execute it:

./vmapextractor

and the Buildings is ok!

For create the file executable vmap_assembler we go to the folder /sources/mangos/contrib/vmap_assembler/ and write those commands:

cmake .

and

make

after copy the file vmapextractor (that you find in the folder vmap_extractor_v3/vmapextract) in the folder of Worlf of Warcraft and execute it but remember that write also the <input_dir> and <output_dir> and create the folder vmaps before execute it (the folder Buildings is already create if we follow until now).

example:

mkdir vmaps

./vmapextractor Buildings vmaps

Step 2

For both OS:

After open the file mangods.conf we must modify

vmap.enableLOS = 1
vmap.enableHeight = 1
vmap.ignoreMapIds = "369"
vmap.ignoreSpellIds = "7720"

(you can to find already configurated).

If you don't need the vmaps you can put vmap.enableLOS = 1 and vmap.enableHeight = 1 to 0.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use