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.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 (.exe on windows plataform).
You must put them in the same directory of your World of Warcraft binary (wow.exe on windows) is.On windows 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.
If you use extractors from other projects or branches it is almost certain that your TrinityCore will not recognize the extracted data 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.