PDA

View Full Version : [Tutorial] How to Compile MaNGOS On Windows From scratch



Dorito
18-01-10, 08:23 PM
this is for Windows XP, Vista, seven No other OS
Steps:
1.1, Getting the source,
1.2, Downloading the tools,
1.3, Compiling,
1.4, Setting it up,


Step 1.1,
First of all the most important thing you need is
http://github.com/mangos/mangos/tarball/master
Without that you wont be doing anything at all!
so download that and save it to your desktop (so you remember where it is)
Lets move onto step 1.2.


Step 1.2,
Okay so your gonna need
Microsoft Visual C++ Express 2008 SP1
Download Link: http://www.microsoft.com/express/vc/
Install that, once thats done, Lets continue,
To extract The source code you'll need a program like WinRAR
x86_32 Bit Download Link:http://www.rarlab.com/rar/wrar391.exe
x64_64 Bit Download Link:http://www.rarlab.com/rar/winrar-x64-391.exe
Now once there all installed Lets move on to step 1.3.


Step 1.3 (hardest step)
Okay so lets get everything set up to get you ready to compile you very own mangos core :D.
First of all goto you desktop where you saved mangos-mangos-ac7ef53.tar (the mangos source code) and double click it you should see a button that says Extract To Click it and select C:\MANGOS source\ Than Click OK
Than goto C:\MANGOS source\win\ open mangosdVC90 with Microsoft Visual C++ Express 2008.
Now this is where it can get confusing,
look at all your menu Bar
File, Edit, View, Project, Build, Debug, Tools, Window, Help.
Now you should see a thing that says Debug, Win32
Follow this EXACTLY
http://i45.tinypic.com/vnf3ur.jpg
if you followed that exactly go to The menu bar Build and click Build Solution let it do its work (as this will take awhile even if you have a fast CPU as i have a 2.71ghz and it still takes a bit)
If you got any error from the compiler post you build log here and i'll see what i can,
Most problems can be fixed by simply re-running the compiler.
So once that's finished Lets move onto step 1.4


Step 1.4,
First of all goto you c:\ and make a folder called MaNGOS core
than go into that and make another folder called MaNGOS
okay so make you way to C:\MANGOS source\bin\{32 bit or 64x}\
and copy any *.DLL and any *.EXE and paste them into C:\MaNGOS core\MaNGOS
than go back to C:\MANGOS source\bin\{32 bit or 64x}\ and copy
realmd.config.dist.in and Mangos.config.dist.in and paste them intoC:\MaNGOS core\MaNGOS, Remove the *.DIST.IN or they will not work
This is as much as iam teaching today i might write up a tutorial on how to set up a database so you can make your own mangos server without the need to use a repack :)


I hope i helped a few people and have a great year

Also keep an eye out for my mangos repack that will be release soon :)

If something didn't work for you just ask me i will be happy to help you
and this tutorial is 100% made from scratch by me :)
Dorito,

Apple
18-01-10, 08:37 PM
nice guide , +rep for you.

Dorito
18-01-10, 08:43 PM
thanks you :D

rcpike
03-04-10, 05:12 AM
Nice! keep up the good work. +rep

Nr1reaper
04-04-10, 09:02 AM
nice, already knew this but i know i had problems finding a decent guide during my newbie-ness

myrddinwylt
06-05-10, 12:20 AM
This is a great guide ... unfortunately i can't see the links for whatever reason, and this topic doesn't show up in the mmpro.net search. I could only find it through Google /cry

sine
11-06-10, 10:47 PM
good job:)+rep

Nevermoreftw
23-06-10, 08:24 AM
ahh I got this error

http://img704.imageshack.us/img704/2204/37343934.jpg