Now that you have the source compiled, you need to extract some necessary files.
Trinity requires needs to extract certain files obtained from World of Warcraft client, you . You will need to match the exact client version with the server branch you want to use: 3.3.5 branch needs wotlk 3.3.5a client, master branch needs the version pointed near the top of github repository.
By default you will compile the core with tools , and you will get the following executable files: mapextractor mapextractor, vmap4extractor vmap4extractor, vmap4assembler vmap4assembler, mmaps mmaps_generator (.exe on windows plataformplatform).
You must put them in the same directory of have to find the directory with your World of Warcraft binary Warcraft binary (wow.exe on windows) isand put those files in there.
Some of them 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.