Windows Server Setup

Guide

This article is part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps.

Extracting Cameras, DBC, Maps, VMaps & MMaps

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.

Windows

1. Browse into your [Drive]:\Build\bin\RelWithDebInfo* (or Debug* or Release*) folder and copy these files into your root World of Warcraft folder

  • For 3.3.5, this is where Wow.exe and the Data folder are
  • For master, this where 'World of Warcraft Launcher.exe' and the Data folder are

mapextractor.exe
mmaps_generator.exe
vmap4extractor.exe
vmap4assembler.exe

Note! - If you are extracting the data files from another machine (PC), please make sure that you have the appropriate VC++ Redistributable Packages installed. If still encounter problems, like "the application was unable to start correctly 0xc00007b", then try to recompile core in RelWithDebInfo or Release mode and take new extractor files from newly compiled directory.

2. Browse into your [Drive]:\TrinityCore\contrib and copy "extractor.bat" into your root World of Warcraft folder (with the previous files)

3. Launch extractor.bat and select your extractor option.

For wow build version 3.3.5a 12345, approximate extracted size:

Extractor optionsSizeTime to extract

1. Extract Base files (NEEDED), includes dbc, maps and cameras

~336 MB


up to 2h
2. Extract vmaps (OPTIONAL, highly recommended)~652 MB
3. Extract mmaps (OPTIONAL, highly recommended)~1.83 GBup to 8h
4. Extract all (Includes all previous points)~2.79 GBup to 10h

Important notes:

  • dbc/db2, maps AND vmaps are needed to make server work properly!
  • Do not attempt to stop vmaps exctraction process. It is finished when it prints "Press any key...". It will create two new folders: buildings and vmaps. The buildings folder is completely useless post-running and can be safely deleted.
  • Don't run another task before the 1st is finished or you will have errors.
  • If you stop vmap4extractor before finish you will need to delete the Buildings directory before start again.
  • Optional but extremely recommended: Extract also mmaps. Do not attempt to stop this process while it is exctracting.
  • Extraction process takes some amount of time. Depending from chosen "Extractor options" and CPU (only bottleneck in process), for example, with AMD Ryzen 9 3900X and option "Extract all", was done under 14min (from those MMaps took 11min 35s).

4. Move the vmaps, maps, dbc, cameras and gt (master Branch only) folders to the same directory as the TrinityCore binaries.

Setting up the configuration files

First of all you need to find the two default config files (named worldserver.conf.dist and authserver.conf.dist (bnetserver.conf.dist in master) ) and copy these to their namesakes without the .dist extension.


You can find them within your RelWithDebInfo* (or Debug* or Release*) folder

Guide

This article is part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps.