[Epic] How to make 4.0.6 WoW Server - Compiling SkyfireEmu
heres how to make your own 4.0.6a core/repack enjoy!
IF GIT FAILS TO GET THE CORE AND DATABASE FILES THEN GET THEM HERE DIRECTLY: 2Shared
Step 1: Getting the tools we need.
Git Download
Visual C++ 2008 Express or Visual C++ 2010 Express (Express doesnt support x64 compiling so beware. for x64 u need ultimate which costs money.)
MySQL server
.NET Framework 3.5 (you should already have it via your Windows updates)
HeidiSQL
DO NOT USE NAVICAT : Due to NaviCat not being able to handle // style comments (standard SQL) but i recommend using it to create accounts in the db so get it here: Navicat Lite
CMake 2.8.3 for Windows
OpenSSL for Windows
Microsoft Visual C++ 2008 Redistributable Package SP1 [x86] / [x64]
Microsoft Visual C++ 2010 Redistributable Package [x86] / [x64]
Step 2: Compiling AND Pulling the Source
Before you start this step you need to have installed Git and Visual Studio.
go to c:/ and make a SkyFireEMU folder
Example: C:/SkyFireEMU
Right click the folder and press "Git GUI Here" and press clone repository and fill in the data as follows:
Code:
Source Location: git://github.com/SkyFire/SkyFireEMU.git
Target Directory: C:\SkyFireEMU\Core
Click on 'clone'. and this might take some minuts up to 20minutes depending on the machine. When its done we will have the core in C:/SkyFireEMU/Core
Note Before Continuing:
Code:
Also, if you have downloaded the required software above, then you should have the MySQL / OpenSSL headers and related files already.
- For OpenSSL, do NOT use the light version
- For MySQL, if you use anything other than 5.1.x, do NOT use the "essential"-version
.
Now open up Cmake, it will say:
Code:
Where is source code:
Where to build the binaries:
fill in the data as follows:
Code:
Where is source code: C:/SkyFireEMU/Core
Where to build the binaries: C:/Build
if it asks to create the build folder select yes. when u filled in the data as noted u need to click "Configure" choose Visual Studio 10 or Visual Studio 10 WIN64
After clicking Finish it will start checking through the source code and analyze the CMakeLists.txt spread all over the source tree.
When done it will show you a list of options (the red parts). the ones that needs to be checked are:
Code:
Scripts
Servers
Tools
USE_COREPCH
USE_MYSQL_SOURCES
USE_SCRIPTPCH
click on Configure again to make it confirm the options we chose and build the neccessary files. when its done it will say
now click Generate, when its done close cmake and go to c:/Build and open up the Microsoft Visual Studio Solution named SkyFire.
Step 3: Compiling the Source
Go on the top menu 'Build' and click on Configuration Manager. Make sure you set the build to release Win32 or release x64 depending on your OS.
Code:
Warning: Visual C++ 2008 Express edition does not support the 64 bit platform. You will need the fully bought one. (thank god for torrents ;))
Now go back to the 'Build' menu and click on Build. This might take 15-30 Minutes depending on the machine.
When done it will say:
Code:
========== Build: 19 succeeded, 0 failed, 1 up-to-date, 1 skipped ==========
or ========== Build: 19 succeeded, 0 failed, 0 up-to-date, 1 skipped ==========
now we can find all our freshly new compiled binaries in the Build folder that we specified in the Cmake proccess.
You will need the following files in order for the core to function properly:
Code:
ace.dll
authserver.conf.dist
authserver.exe
genrev.exe
libmysql.dll
worldserver.conf.dist
worldserver.exe
Delete any other file which is not in the above list, as you will not need them.
take all of these files to a folder in the desktop called: Step 4: Importing the database and playing
Go here:
Code:
C:\SkyFireEMU\Core\sql\base
and import:
Code:
characters_database
auth_database
in mysql, the auth_database.sql goes into a database called auth which u need to create and the same for characters.
make a folder called SkyFireDB in C:/
example:
right click in and press "Git GUI Here" and press clone repository and fill in the data as follows:
Code:
Source Location: git://github.com/SkyFire/SkyFireDB.git
Target Directory: C:/SkyFireDB/Database
and press "Clone" when its done close Git.
Go to "C:/SkyFireDB/Database/Tools" and open up the "Database_Installer.bat" and enter your MySQL information as follows
http://img828.imageshack.us/img828/9...staller.th.png
and import the world database.
Continue To Next Step:
now open the SkyFire folder at desktop and put the files that u get HERE / Mirror! in the folder and delete the authserver.conf.dist and worldserver.conf.dist
use the extractors located in:
Code:
C:\Build\406a_extractors
to extract maps,dbs,vmaps but before u run the tools go to WTF folder and Open Config.wtf with notepad and change:
Code:
SET accounttype "LK"
To
Code:
SET accounttype "CT"
there run the tools and take all the new files to this location:
Code:
C:\Users\USERNAME\Desktop\SkyFireEMU\Data
open skyfireemu folder in desktop. now open up authserver.exe and let it load and type this in:
Code:
account create admin admin
after that type this in:
account set gmlevel admin 3 1
start your worldserver.exe let it load and edit your realmlist to: set realmlist 127.0.0.1 and login with
Username: admin
Password: admin
DONE!
Enjoy Playing World of Warcraft if you wanna play alone or with your friends :)
If you don't have 4.0.6 WoW Client you can download it from here
http://thepiratebay.se/torrent/70058...aft__Cataclysm
CREDITS For GUID GOES TO KnaPPEn
downloaded: openssl-1.0.0d. is that the right one and where does it need to go?
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES)
Call Stack (most recent call first):
C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
cmake/macros/FindOpenSSL.cmake:175 (find_package_handle_standard_args)
CMakeLists.txt:53 (find_package)