Welcome to Cele's video compile tutorial.
Over the next few days I will be adding:
How to compile ArcEmu and Mangos. (Starting with Hearthstone)
How to compile custom scripts.
How to extract DBC files, and vmaps.
Please note that my videos are audio free, and this will continue to be true unless I see a need to add a voice over.
Also I am assuming you already have a SVN program and a compiling program.
If not here are the programs I use.
tortoisesvn.tigris.org
Visual Studio 2008 Express Editions <--- Free version and will work fine.
If you use VS 2008, you may need.
Download details: Visual Studio 2008 Service Pack 1
Starting off here is the video of how to compile Hearthstone.
[ame=http://www.youtube.com/watch?v=X9gUgPw2d8M]YouTube - Hearthstone Compile[/ame]
Created by Camtasia Studio 6 <---- Probably better quality.
Written guide to go along with video.
Step One: Getting SVN
Go to AspireDev and click on the button labeled SVN.
A pop up will appear, select your SVN client and click OK. A window will appear with the SVN at the top, copy that.
Step two: Downloading SVN
Make a new folder wherever you want to download the SVN to, in the video I made a folder on my desktop called Hearthstone, now right click on the folder and click "Checkout SVN". Paste the SVN url we copied in the previous step.
Step three: Dependencies.
Go to the extras folder in the trunk and open the read me, I do exactly what it says in the video. Below is a copy of the read me.
Code:
Hearthstone Win32/64 Libraries Distribution
======================================
Installation Instructions:
Navigate to the directory of your chosen compiler (adjust paths if necessary):
VS 2003: C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
VS 2005: C:\Program Files\Microsoft Visual Studio 8\VC
VS 2008: C:\Program Files\Microsoft Visual Studio 9.0\VC
Copy the files in VC\include to VC\include.
Copy the files in VC\lib to VC\lib.
Next, you need to compile the zlib and PCRE libraries.
Depending on your compiler, open the solution under Sources:
VS 2003: VC71-solution.sln
VS 2005: VC80-solution.sln
VS 2008: VC90-solution.sln
Depending on the architecture you want to build for, build the configuration:
Release/Win32 if you are under Win32,
Release/x64 if you are under Win64.
This should make a folder called Output_Release, or Output_x64_Release if you are building for X64.
In this folder you should find pcre.lib and zlib.lib.
Copy these two .lib files into:
(for Win32)
VS 2003: C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib
VS 2005: C:\Program Files\Microsoft Visual Studio 8\VC\lib
VS 2008: C:\Program Files\Microsoft Visual Studio 9.0\VC\lib
(for Win64)
VS 2005: C:\Program Files\Microsoft Visual Studio 8\VC\lib\amd64
VS 2008: C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\amd64
The two DLL files provided with this distribution should go in your binary folder, OR
under C:\Windows\System32.
This only has to be done once per compiler!
When you update Hearthstone, this doesn't need to be done each time.
Now you can build Hearthstone as normal.
Step four: Core
Go in the trunk and open win, open Hearthstone, and the version that corresponds to your compiler version, now open it up and let it compile.
Step five: Scripts
Go to the scripts folder and open scripts20xx compile it like the core and wait for it to finish.
Step six: Maps
Go back to your extras folder and find map_extractor, open it up and compile the AD.sln, once it is finished move it to your world of warcraft root directory and run it.
More to come today and all week.
If you have any suggestions to improve the video(s) feel free to leave them.
Support: Please post any questions that you have, but if you are going to quote my post, only quote parts that you need, otherwise you will make the pages very long.
Also if you cannot at least type a sentence that is read able, please don't post at all.