DoxramosPS
25-09-11, 02:18 AM
What you will need:
Microsoft Visual C++ Express Visual C++ 2010 Express | Microsoft Visual Studio (http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express)
Git Extensions GitExtensions224SetupComplete.msi - gitextensions - Git Extensions 2.24 Windows installer, complete including MSysGit and KDiff3 - Git Extensions is the only graphical user interface for Git that allows you control Git without using the commandline. (http://code.google.com/p/gitextensions/downloads/detail?name=GitExtensions224SetupComplete.msi&can=2&q=)
OpenSSL OpenSSL for Windows (http://gnuwin32.sourceforge.net/packages/openssl.htm) Make sure to get binaries
Cmake CMake - Cross Platform Make (http://www.cmake.org/cmake/resources/software.html)
Okay, We have everything we need to start compiling our core. Now then. Where do we start?
First thing we're going to get to use is the lovely Git Extensions.
Create a Folder named Trinity on your desktop.
Create a Folder named Build on your desktop.
Easy enough right?
Okay Next. Right click the folder called Trinity and go to
Git Extensions
-------------Clone
http://i784.photobucket.com/albums/yy123/green_morgan/gitclone.jpg
Next; you're going to put the git URL into the repository to clone and your newly made Trinity Folder is going to be the directory to clone to.
http://i784.photobucket.com/albums/yy123/green_morgan/clonemenu.jpg
Git URL:
https://github.com/TrinityCore/TrinityCore.git
Subdirectory to create=
None
Branch=
master
Make sure that personal repository is checked.
Press Clone
Let it do it's cloning. The amount of time depends on your internet speed.
Now we're going to open Cmake and we're going to browse to our source.
The Trinity Folder we just cloned is our source and our build directory is can you guess it? That's right. The Build directory we created at the beginning.
After you've selected the two you're going to click configure on the bottom and it's going to pop up with a new window to specify the generator.
We're going to choose Visual Studio 10. 64 bit or 32 bit depend on your machine and I can't tell you, so hopefully if you're looking to administrate a server you know the difference.
Make sure to select Use "Default Native Compilers"
After it's done configuring you're going to click generate, it should only take a split second to generate.
Browse into your build directory and find TrinityCore.sln and open it with Visual C++
Click on the top and change the settings from Debug to Release; change Win32 to Win64 if you are running 64 bit Windows
http://i784.photobucket.com/albums/yy123/green_morgan/releasevisualc.jpg
Right click on All_Build and select Clean.
http://i784.photobucket.com/albums/yy123/green_morgan/cleanvisual.jpg
This process will go by quickly. After it has finished you are going to right click All_Build again and select to Build; let it run it's course. This could take some time depending on the speed of your computer.
After it has finished you should have a message at the bottom of the Output that looks similar to:
========== Build: 14 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
After it has finished you are going to navigate to Build/Bin/Release/
In this folder you will find mapextractor.exe, vmap3extractor.exe, and vmap3assembler.exe.
Move the colored files into your World of Warcraft Folder.
Run mapextractor, then vmap3extractor, then vmap3assembler.
You will have 3 folders to move now. Move maps, vmaps, and dbc into Release and feel free to delete the buildings folder.
Now go to where your installed OpenSSL and find
libeay32.dll
ssleay32.dll
Copy the two .dll files into your Release Folder; you now have a fully compiled Core for your Trinity Server. Tomorrow we will go through database setup and how to configure the worldserver.conf/authserver.conf
Microsoft Visual C++ Express Visual C++ 2010 Express | Microsoft Visual Studio (http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express)
Git Extensions GitExtensions224SetupComplete.msi - gitextensions - Git Extensions 2.24 Windows installer, complete including MSysGit and KDiff3 - Git Extensions is the only graphical user interface for Git that allows you control Git without using the commandline. (http://code.google.com/p/gitextensions/downloads/detail?name=GitExtensions224SetupComplete.msi&can=2&q=)
OpenSSL OpenSSL for Windows (http://gnuwin32.sourceforge.net/packages/openssl.htm) Make sure to get binaries
Cmake CMake - Cross Platform Make (http://www.cmake.org/cmake/resources/software.html)
Okay, We have everything we need to start compiling our core. Now then. Where do we start?
First thing we're going to get to use is the lovely Git Extensions.
Create a Folder named Trinity on your desktop.
Create a Folder named Build on your desktop.
Easy enough right?
Okay Next. Right click the folder called Trinity and go to
Git Extensions
-------------Clone
http://i784.photobucket.com/albums/yy123/green_morgan/gitclone.jpg
Next; you're going to put the git URL into the repository to clone and your newly made Trinity Folder is going to be the directory to clone to.
http://i784.photobucket.com/albums/yy123/green_morgan/clonemenu.jpg
Git URL:
https://github.com/TrinityCore/TrinityCore.git
Subdirectory to create=
None
Branch=
master
Make sure that personal repository is checked.
Press Clone
Let it do it's cloning. The amount of time depends on your internet speed.
Now we're going to open Cmake and we're going to browse to our source.
The Trinity Folder we just cloned is our source and our build directory is can you guess it? That's right. The Build directory we created at the beginning.
After you've selected the two you're going to click configure on the bottom and it's going to pop up with a new window to specify the generator.
We're going to choose Visual Studio 10. 64 bit or 32 bit depend on your machine and I can't tell you, so hopefully if you're looking to administrate a server you know the difference.
Make sure to select Use "Default Native Compilers"
After it's done configuring you're going to click generate, it should only take a split second to generate.
Browse into your build directory and find TrinityCore.sln and open it with Visual C++
Click on the top and change the settings from Debug to Release; change Win32 to Win64 if you are running 64 bit Windows
http://i784.photobucket.com/albums/yy123/green_morgan/releasevisualc.jpg
Right click on All_Build and select Clean.
http://i784.photobucket.com/albums/yy123/green_morgan/cleanvisual.jpg
This process will go by quickly. After it has finished you are going to right click All_Build again and select to Build; let it run it's course. This could take some time depending on the speed of your computer.
After it has finished you should have a message at the bottom of the Output that looks similar to:
========== Build: 14 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
After it has finished you are going to navigate to Build/Bin/Release/
In this folder you will find mapextractor.exe, vmap3extractor.exe, and vmap3assembler.exe.
Move the colored files into your World of Warcraft Folder.
Run mapextractor, then vmap3extractor, then vmap3assembler.
You will have 3 folders to move now. Move maps, vmaps, and dbc into Release and feel free to delete the buildings folder.
Now go to where your installed OpenSSL and find
libeay32.dll
ssleay32.dll
Copy the two .dll files into your Release Folder; you now have a fully compiled Core for your Trinity Server. Tomorrow we will go through database setup and how to configure the worldserver.conf/authserver.conf