Want to create your own World of Warcraft Cataclysm private server? We've got you covered! In this guide, we'll walk you through the process of compiling and setting up your server.
For this tutorial we will be using a source maintained by:
Step 1: Software RequirementsPlease make sure to read the software installment section to ensure you install the software correctly.
- VS 2019 (any edition) no longer includes the C++ compiler as part of the default installation. You will need to include it during the installation process as shown in this picture:
- Important information on how to setup boost can be found
Step 2: Software InstallmentGit:
Installing Git is a straightforward process. Simply follow the prompts during the installation and click "next" until the installation is complete.
Visual Studio 2019:
Installing Visual Studio 2019 is also an easy process. However, make sure to select the option to install "Desktop C++" during the installation, as this is a requirement for compiling TrinityCore.
Once the installation is complete, you do not need to sign in. Instead, click "Not now, maybe later" and select your preferred theme before clicking "Start Visual Studio". You can exit Visual Studio for now, as it is not needed for the next step.
Installing MySQL is easy. When you first open the installer, you will be prompted to upgrade, simply click "Yes". On the next screen, select the option to "install server only.
You will need to make a MySQL root password, remember this information as it will be important later on
Anything after setting the MySQL password, you can just click next until you reach the last page and then click execute and finish. We have now installed MySQL.
HeidiSQL is simple to install, just open the installer and click next and complete the install.
We have a complete tutorial on how to install and setup boos 1.73.0, please read it if you have never done it before. You can that tutorial here:
Installing cMake is easy, no extra steps required. Simply click and install it.
Installing OpenSSL is easy, no extra steps required. Simply click and install it.
We now have all the tools required to compile, let’s move onto the next step.
Step 3: Cloning Trinity Core 4.3.4To clone the source from GitHub, we will use the Git Bash tool on your desktop. Begin by right-clicking on an empty space on your desktop and selecting “Git Bash Here.”
After the menu appears, enter or copy the following line into the window:
git clone -b 3.3.5
Step 4: Prepare The SourceWe will need to create a new folder on our desktop called "Build", you can name this anything but for this tutorial we will name it Build.
We will now open CMake and select our Trinity Core 4.3.4 source folder and select our Build
Once you have selected the two folders, you will need to click on Generate and select our compiler. We will need to select Visual Studio 16 2019 and then click "Finish".
If you followed the tutorial to this point, you should have no errors and see this:
Step 5: CompilingWe are now ready to compile our source code. You can exit out of CMake, and open the Build folder. Click on ALL_BUILD and let it open Visual Studio for you.
Now that Visual Studio has our source code open, we will need to change it from debug mode to release mode.
We are now ready to compile our source code, you can start the process by hitting F5 or right clicking your source code and then build.
You should have no errors during compiling and see this once its completed:
Step 6: Getting Required Files & Renaming Configuration FilesNow that we have successfully built our source code, our files will be located in Build->Bin->Release. We will need to rename our configation files.
Rename authserver.conf.dist to bnetserver.conf
Rename worldserver.conf.dist to worldserver.conf
Now we will need to grab a few libraries from the programs we installed at the start of our tutorial. Please Note: Copy these files from these locations and not remove them completely.
You may find this library in: C:\Program Files\MySQL\MySQL Server 8.0\lib
libssl-1_1-x64.dll & libcrypto-1_1-x64.dll
You may find these two libraries in: C:\Program Files\OpenSSL-Win64\bin