UPDATED TO 4029!!!!
How to compile your own Vmap, map and dbc extractor!
I also include here how to use them on arcemu.
And Vmaps enables Line of Sight, aka LoS
What do you need:
-Arcemu's source and compiled version of arcemu*
-Microsoft Visual Studio C++, Linkhere
-Microsoft Visual Studio C#, Link here
-Windows 32bit computer
*Well it's good to have already compiled arcemu and working one ofc
1. Okay first..Let's get DBC extractor.
Go in your arcemu source, trunk, extras, mpqe_cpp, and open mpqe_cpp.sln with your Visual Studio C# 2010.
Below a toolbar you can see two drop menus. Other should say 'Debug' and other 'Win32'. Change the 'Debug' to 'Release'. Then hit F7 button. When the compilation is done, you should get following message:
Code:
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ====================
Then, go back to your source folder and go in trunk, extras, MPQE, bin, Release... and there you can see MPQE.exe, MPQE.vshost.exe and SFmpq.dll, move them in your World of Warcraft folder, there data and enGB/US. Then go back to in your source folder, trunk, extras, MPQE and copy Arcemu English DBC extractor.bat (If you don't have it there, don't worry...I'll explain soon how to make one)
and copy it too into WoW, Data, enGB/US folder.
-I don't have Arcemu English DBC extractor.bat! What to do?
You can create one by yourself. Here's how to do it:
First open notepad. Then add there this text:
Credits to arcemu.org
Code:
REM ## Universal Dbc ExtractorMrHooHa Version 1.0 ##
COLOR 3
@CLS
@ECHO OFF
REM ## Main Menu
:menu
cls
ECHO.
ECHO.
ECHO ####################################
ECHO ####### ArcEmu #######
ECHO ###### English DBC Extractor ######
ECHO ####### Version 1.0 #######
ECHO ####################################
ECHO ###########################################
ECHO # For Support Go To http://www.arcemu.org #
ECHO ###########################################
ECHO Be sure to read DBC readme.txt first
ECHO.
ECHO Please type the letter for the option:
ECHO.
ECHO 1 = Extract US English DBC Files
ECHO 2 = Extract GB English DBC Files
ECHO.
ECHO.
ECHO x - Exit
ECHO.
set /p l= Enter Letter:
if %l%==1 goto us_english
if %l%==2 goto gb_english
if %l%==x goto quit
if %l%==X goto quit
goto error
REM ## US English
:us_english
CLS
ECHO.
ECHO.
ECHO [Extraction] Started...
ECHO [Extraction] Extracting DBC Files ...
mpqe /p locale-enUS.MPQ DBFilesClient\*.dbc
GOTO move_files
REM ## GB English
:gb_english
CLS
ECHO.
ECHO.
ECHO [Extraction] Started...
ECHO [Extraction] Extracting DBC Files ...
mpqe /p locale-enGB.MPQ DBFilesClient\*.dbc
:move_files
md dbc
copy MPQOUT\DBFilesClient dbc
RMDIR /s /q MPQOUT
CLS
ECHO [Extraction] Finished
ECHO.
PAUSE
GOTO menu
:error
CLS
ECHO.
ECHO.
ECHO [ERROR] An error has occured, you will be directed back to the
ECHO [ERROR] main menu.
PAUSE
GOTO menu
GOTO quit
:quit
Then go File, Save as, and make it Arcemu English DBC extractor.bat
(You can make it .bat file by selecting All Files from Save as type)
and move it in your WoW, Data, enGB/US folder. And you are done! Later I'll explain how to install them.
2. Now Map extractor!
Go in your source, trunk, extras, map_extractor and open ad.sln...
Then do the same as you did for MPQE.sln (Change DEBUG to Release and change the other to Win32, not needed if it's already.)
Then hit F7 button or Build Solution from Build menu.
Again you should get 1 succeeded. Then go in source, trunk, extras, map_extractor and copy the ad.exe in your World of Warcraft folder.
3. And then Vmap extractors!
Go in your source, trunk, src, collision_tools, and first we make assembler, so choose the assembler.
There open up vmap_assembler_vc9.sln and do the same as you did for maps and DBC. (Change DEBUG to Release and change the other to Win32, not needed if it's already)
Then hit F7 button or Build Solution from Build menu.
Again you should get 1 succeeded. Then go back in assembler folder and there Release. Copy vmap_assembler.exe to your World of Warcraft folder.
Then go to folder extractor instead of assembler.
And do same as you did with assembler, but instead of opening vmap_assembler_vc9.sln, open vmapExtractor_VC90.sln. And instead of Release, use ReleaseAS. When it's done (and you got 1 succeeded) go in Bin, Release, Win32, and ReleaseAS.
Copy the vmapextract_v3.exe into your World of Warcraft folder aswell. Now you are done with vmaps, maps and DBC...
4. How to install them?
First open up Arcemu English DBC.bat file and let it extract them. When it's done copy DBC folder into your server's folder.
Then open the ad.exe and let it go through. When it's done, copy maps folder to your server folder.
And last but not least, Vmaps. Open up vmapextract_v3.exe and let it finish...
Note: It may take 25 min or 2 hours, depends of your computer.
It creates folder buildings, ignore it but don't delete it yet.
You can create folder Vmaps, while this Vmapextract is running.
When it's done, open vmap_assembler.exe...This won't take long, but depends of your computer.
When it's done you can delete buildings folder.
And copy Vmaps into your server's folder.
And you are done!
Credits:
-Me, writing this
-Arcemu Wiki, little help with Vmap extractor
-Arcemu, for creating arcemu