Now that you have the source compiled, you need to extract some necessary files.
Trinity requires certain files obtained from World of Warcraft client, you will need the exact client version the branch you want to use: 3.3.5 branch needs wotlk 3.You must 3.5a client, master branch the version pointed near the top of github repository.
By default you will compile the core with tools, and you will get the following files: mapextractor, vmap4extractor, vmap4assembler, mmaps_generator.
Then You must put them in the same directory of your World of Warcraft binary (wow.exe on windows) is.
Download and put https://raw.githubusercontent.com/TrinityCore/TrinityCore/3.3.5/contrib/extractor.bat on the same directory as World of Warcraft binary (wow.exe on windows) is and run it.
Some are optional but highly recommended, the files are:
Directory | Branch |
|
dbc | all | Mandatory |
maps | all | Mandatory |
vmaps | all | HIGHLY Recommended |
mmaps | all | HIGHLY Recommended |
cameras | all | Recommended |
gt | master only | Mandatory |
After extracting all necessary files simply copy all the newly created directories to the directory with worldserver binary. Alternatively you can specify directory where you want to keep them changing DataDir value in worldserver.conf file.
Use ONLY Trinity's extractors. Others are NOT supported.
If you use extractors from other projects or branches it is almost certain that your TrinityCore will not recognize the extracted data ! There is only one way in which you can be certain to obtain the correct extractors. If you add the option TOOLS in CMake before compiling, you will get them in your D:\Build\bin\<build mode>\ folder after compilation is complete.P.S: you need the extractors for the client version you are trying to use, the numbers of maps versions aren't wow versions, if you plan to extract maps from 3.3.5a client you will need to use extractors of branch 3.3.5a, if you plan to extract maps from other wow versions you must compile the extractors of those branches.or even work!
RECOMMENDATION: compile tools in release mode to save time, debug mode extraction is much longer and it's only needed if you have a crash to report.