Developer
Staff member
Developer
- Joined
- Mar 11, 2007
- Messages
- 929
- Reaction score
- 2,179
Hi, lots of people have asked this question for quite some time now. Well, I have finally decided to write up a simple little tutorial to compile the source. The code for the most part compiles directly out-of-the-box as long as you know what to open and which configs to compile. This tutorial assumes you already have downloaded the source code and the sdk. If you have not, here are the mega links.
Make sure your root folder structure is set up like this.
We will first compile the Client. Go into Develop/Game. Inside the folder create a SVNRevision.h file and fill it with what is below.
To make this build very easy, I recommend using Microsoft's AppLocale to put Visual Studio 2008 using the korean locale. (so we can read comments, and it is more like their environment) I will give a simple picture by picture how-to below.
MAKE SURE YOU HAVE SP1 INSTALLED!
If you do not know if you do or not, goto Help->About Microsoft Visual Studio and these will show up under your Installed Products. They may be far down on the list for you or not.
Open Game.sln from the Develop/Game folder using the newly opened Visual Studio. The Solution Explorer should be open, right click the GameLib Project and click Properties. This will take you to the Project Properties Window. Click the arrow next to Build Events, then click on Pre-Build Event. Make sure Excluded from Build is set to Yes.
Click Ok, and now we are ready to build. There are a lot of different build configurations, but there are only 3 we will ever care about. (Debug, Release, Release_publish)
Select the Release config. And then Click Build->Rebuild Solution.
Give it a bit of time, and if you followed directions properly, this will show up.
Next Open Develop/Server/AppServer/AppServer_App.sln using the same visual studio.
Set the Build Configuration to Release, next Open CSFormatString.cpp on line 19
add crl:: infront of it so it will look like this,
Next, Right click CSCommon and click Properties, and then click Librarian. Add
to the Additional Dependencies box.
Click Ok, and then Rebuild the Solution. Wait again for a bit of time, and this should be the result.
Now open Develop/Server/GameServer/GameServer_App.sln with the same Visual Studio, First You want to copy and paste the SVNRevision.h file you made from the Develop/Game folder into the Develop/Server/GameServer/app folder. Then Go into the GameServer_app Project properties inside Visual Studio and make the the Pre-Build event is Excluded from the build.
Click ok, Make sure you are set to the Release build configuration, then you click Build Solution. If you have been following along, you should get.
Next Open Develop/Server/LoginServer/LoginServer_App.sln using the same Visual Studio ofcourse. Next make sure the Build Configuration is set to Release, then you click Build Solution. You will end up with this.
Now Open Develop/Server/MasterServer/MasterServer_App.sln with once more the same visual studio. Make sure the Build Config is set to Release, and then Build the Solution. You will end up with the same thing,
That's It! Everything should now be built. The Exes all go to Develop/Game/Runtime.
Inside the Dev Folder are the server Exes. I hope this tutorial works for you, if you have any questions please go ahead and ask them.
Code:
[COLOR=#333333]Maiet SDK.rar (1.92 GB)[/COLOR]
[URL]https://mega.co.nz/#%219pQgxLIR%21Bu2qZGy4qLV45oD8A6ta7XQ_yDBzkSd8RPtR9HOkCPU[/URL]
[COLOR=#333333]RaiderZ_Develop.7z (959.8 MB)[/COLOR]
[URL]https://mega.co.nz/#%215xYhxBAJ%21DI35o2UhZDd3rp5ypEDP6WI5bQJ8xJKvRZAMJujSi9w[/URL]
SoulHunterZ SVN
[URL]https://xp-dev.com/svn/SHZPublicDev[/URL]
Make sure your root folder structure is set up like this.
We will first compile the Client. Go into Develop/Game. Inside the folder create a SVNRevision.h file and fill it with what is below.
Code:
#pragma once
#define SVN_REVISION "28451"
#define SVN_DATE "2011-05-30 ¿ÀÈÄ 11:54:46"
To make this build very easy, I recommend using Microsoft's AppLocale to put Visual Studio 2008 using the korean locale. (so we can read comments, and it is more like their environment) I will give a simple picture by picture how-to below.
Code:
C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe
Code:
This last part is optional, I make a shortcut because it makes it easier to go back to it. Just click finish and it will open.
If you do not know if you do or not, goto Help->About Microsoft Visual Studio and these will show up under your Installed Products. They may be far down on the list for you or not.
Open Game.sln from the Develop/Game folder using the newly opened Visual Studio. The Solution Explorer should be open, right click the GameLib Project and click Properties. This will take you to the Project Properties Window. Click the arrow next to Build Events, then click on Pre-Build Event. Make sure Excluded from Build is set to Yes.
Click Ok, and now we are ready to build. There are a lot of different build configurations, but there are only 3 we will ever care about. (Debug, Release, Release_publish)
Select the Release config. And then Click Build->Rebuild Solution.
Give it a bit of time, and if you followed directions properly, this will show up.
Next Open Develop/Server/AppServer/AppServer_App.sln using the same visual studio.
Set the Build Configuration to Release, next Open CSFormatString.cpp on line 19
Code:
AString::Split(strParam, strSeparator, vecParam);
Code:
crl::AString::Split(strParam, strSeparator, vecParam);
Next, Right click CSCommon and click Properties, and then click Librarian. Add
Code:
../crl/Lib/crlMD.lib
Click Ok, and then Rebuild the Solution. Wait again for a bit of time, and this should be the result.
Now open Develop/Server/GameServer/GameServer_App.sln with the same Visual Studio, First You want to copy and paste the SVNRevision.h file you made from the Develop/Game folder into the Develop/Server/GameServer/app folder. Then Go into the GameServer_app Project properties inside Visual Studio and make the the Pre-Build event is Excluded from the build.
Click ok, Make sure you are set to the Release build configuration, then you click Build Solution. If you have been following along, you should get.
Next Open Develop/Server/LoginServer/LoginServer_App.sln using the same Visual Studio ofcourse. Next make sure the Build Configuration is set to Release, then you click Build Solution. You will end up with this.
Now Open Develop/Server/MasterServer/MasterServer_App.sln with once more the same visual studio. Make sure the Build Config is set to Release, and then Build the Solution. You will end up with the same thing,
That's It! Everything should now be built. The Exes all go to Develop/Game/Runtime.
Inside the Dev Folder are the server Exes. I hope this tutorial works for you, if you have any questions please go ahead and ask them.
Last edited: