Archaic Binary

 
  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • blue color
  • green color
Home arrow Articles arrow Compile and Setup Mangos
Compile and Setup Mangos
Thursday, 24 January 2008
There are alot of guides around the Internet on how to setup MaNGOS but I'll just throw one up here and see if people find it useful. First of all MaNGOS is a MMORPG Server that is Open Source, and written in C++. The client it runs for is World of Warcraft. You have probably heard of it, the game run by Blizzard, costs ~$15.00 a month and has thousands of users. Personally, the game play is great, the graphics are a little kiddie, but are alright. The only thing I dislike, are all the people that sit in a town and beg, or just play around without actually playing the game, or just playing as fast as they can to hit level 70 (current level limit) so they can get some fancy items and such. I would rather get the story line and play around... Call me old fashioned, oh well.

Anyway, back on topic.

For this project, you should have a dedicated server machine. You can run the server off your desktop, and have the game connect to that, but its much more fun to have a dedicated server you and your friends can connect to. (I don't support opening your server to the entire world, and anyone can play, MaNGOS is supposed to be a learning project for C++ and game server understanding, not to play the game for free)

Software needed for this to work is as follows:
~ MySQL Database Engine
~ SVN Client: TortoiseSVN | RapidSVN (Either one will work, TortoiseSVN is a little easer to understand, and members of the forum refer to it more.)
~ A version of Microsoft Visual C++. I use Microsoft Visual Studio 2005 Professional (I got this from work, as I do programming for my job.)
~~ Currently working according to the MaNGOS forums:
~~~ Visual Studio 6 (Version 7/2003)
~~~ Visual Studio 2005 (Version 8/2005)
~~~ Visual C++ 2005 Express Edition (Version 8/2005). Available here for free.
~~~ Microsoft Visual Studio Express 2005
~~~ Microsoft Platform SDK

Software that will help you along the way:
~ Navicat for MySQL or Apache + phpMyAdmin (Anything to help with MySQL Queries and such.)

Lets get started, download and install TortoiseSVN. Create a folder on your desktop, or anywhere.


Right click on your newly created folder, and choose SVN Checkout.


A dialog will popup and ask for some information:

Fill out the URL like I have in the image.
URL: https://mangos.svn.sourceforge.net/svnroot/mangos/trunk
The Checkout Directory will already be filled out with the folder you created, and choose SVN Checkout from.
All other options are fine.
Click OK.

The output will look like so:

When the download is done, click OK at the bottom.

Open the folder you just downloaded the sources too.


Inside here, find the 'win' folder and open it. There will be a file named: mangosdVC??.sln where the ?? is a version number for your version of Microsoft Visual C++. 71, 80, 90.


Open the file that has your version number in it. At the top choose, Build -> Configuration Manager. For the Active Solution Configuration choose: Release this will change all of the projects from Debug mode to Release Mode, and click Close.

At the top choose, Build -> Clean Solution, then Build -> Build Solution. You are now compiling the core.

When this is done, your .exe files will appear in the \bin folder under your SVN MaNGOS folder.
Hits: 1155
Add Comment Comments (0)
Write Comment Write comment
smaller | bigger

busy
 

Support Us

View Donators