Hello everyone, I am lilsinger and Ive decided to get myself known. So today Im going to show you how to compile for 3.1.x the easy fast and efficent way! I will also tell you how to set up a database as well
Great so lets get started!
Step 1
First lets get our downloads, for this you will need
Tortosie SVN
Visual Stuido C++ Express
.Net Framework
Once you have all of these installed then go on to step 2
Step 2
Obtaining the Core
First of all you need a core to get started, for 3.1.x I suggest Aspire/Hearthstone as its the only one to support it =\
1) Make a new folder anywhere call it "Aspire Core"
2) Right click the folder and click on "SVN Checkout"
3) In the URL Type "svn://svn.AspireDev.org/AspireCore/trunk" without
the quotes
4) Make sure Head Revision is selected and click "OK"
5 A box will appear downloading your core this may take some time, once its done move on to the next step
Step 3
Now we have to do some file movements so that the core will compile correctly. When I say svndir I mean where you checked out the core and visualstudiodir i mean where your visual stuido is isntalled.
1) Navigate to: <svndir>\extras\dependencies
2) First off, we are going to copy the DLL files.
3) Open the 'DLL Files' folder, and copy the 2 .dll files inside.
4) Now navigate to: C:\Windows\system32\
5) Paste the two DLL files inside the system32 folder.
6) Navigate back to: <svndir>\extras\dependencies
7) Copy the files inside <svndir>\extras\dependencies\VC\lib
Copy them to <visualstudiodir>\VC\lib
9) Copy the files inside <svndir>\extras\dependencies\VC\include
10) Copy them to <visualstudiodir>\VC\include
Step 4
Now that those file movements are done we can compile the core!
1) Open "VC90-solution.sln" inside the "<svndir>\extras\dependencies\Sources" folder
2) Change the Build Configuration by going to "Build\Configuration Manager"
3) Change "Debug" to "Release" and click Ok
4) Now go back and open the folder "Output_Release"
5) Copy the files pcre.lib and zlib.lib. to <visualstudiodir>\VC\lib
This only has to be done once per compiler!
When you update Aspire, this doesn't need to be done each time.
6) Navigate to the \win\ folder and open ascentVC90.sln / heartstoneVC90.sln follow the same steps, change the build and compile
7) Navigate to \src\scripts and open scripts2008.sln
Your newly compiled core is located in the \bin\Release\ folder.
Step 5
Now we are going to get our client files
1) Download Client Files
2) Extract them anywhere
3) Copy the files in the MPQE folder over to your World of Warcraft\Data\enUS directory
4) Open command prompt. Navigate to the directory using the cd command, like so;
Code:
cd C:\Program Files\World of Warcraft\Data\enUS
5) Execute the command
Code:
mpqe /p locale-enUS.MPQ DBFilesClient\*.dbc
6) The extracted DBCs can be found in Data\enUS\MPQOUT\DBFilesClient
7) Copy the ad.exe file to your client's root directory - World of Warcraft\. Create a folder called "maps" and start ad.exe. It should start extracting map files from your client. When it's done, copy the "maps" folder directly to your server's directory.
And congrats! You have sucessfully compiled your core! Watch out for my next tutorial on how to set up your database! And how to update your server!
Before we go lets make a outer core so its easyer to see your server
1) Make a folder call it your server name
2) Navigate to the bin\release folder
3) Copy everything inside to the server name folder
4) Navigate to \src\ and copy the config files to the server folder
5) Also copy the DBCs and the maps to the folder as well
Edit your configs and your server will be ready! ENJOY!
Credits: Me
Aspire Wiki for when I was too lazy to find it myself :P
Hope this helped
Dont be a leecher comment it