Compile TrinityCore /Merge Eluna Lua Engine & Update Source/Engine

来源:互联网 发布:php手册中文版 编辑:程序博客网 时间:2024/06/05 09:34
In this tutorial I will show you how to InstallTrinityCore (3.3.5 branch)*and add Eluna Lua Engine extension, so please pay attention and patience in this simple tutorial.

This tutorial is available only for windows platform.

I. Requirements (important)
  1. Install Git Extensions from HERE
  2. Install the compiler/IDE*Visual Studio Community 2013 with Update 4
  3. Download and Install MySQL Installer 5.5 from HERE
  4. Download and Install Boost from here: 32bit or 64bit
  5. Add an environment variable to system see image:HERE
  6. Download and Install CMake from HERE
  7. Download and Install Latest OpenSSL NO LIGHT VERSION from HERE
  8. Download and Install ZeroMQ from here: 32bit*or 64bit
  9. Download and Install Git with Git Bash from HERE


II. Getting the source & merge eluna lua engine
  • Navigate to desktop and right click*->*GIT Bash Here
  • Type the following command line:

Code:
git clone -b 3.3.5 https://github.com/TrinityCore/TrinityCore.git
  • After the process is done, type the following commands:

Code:
cd TrinityCore
Code:
git pull --recurse-submodules https://github.com/ElunaLuaEngine/ElunaTrinityWotlk.git
  • Note: If you find merge conflicts, open a ticket atElunaLuaEngine issue tracker:*HERE
  • After the process is done, type the following commands:

Code:
git submodule init
Code:
git submodule update
  • After the process is done, type the following command:

Code:
git remote add ElunaTrinityWotlk https://github.com/ElunaLuaEngine/ElunaTrinityWotlk.git
  • Everything fine, you can now CMake & compile!


III. How to update source
  • Update TrinityCore source, right click on source folder-> Git Bash Here
  • Type the following command line:

Code:
git pull
  • Update Eluna Lua Engine, right click on source folder -> Git Bash Here
  • Type the following commands:

Code:
git submodule init
Code:
git submodule update
  • Note: If you find*merge conflicts, open a ticket atElunaLuaEngineissue tracker:HERE
  • Congratulations you have updated the source and theEluna Lua Engine
0 0