This is a guide on how to compile ArcEmu. Compiling is a process that combines source files into executables, or files that can be run (.exe's). The objective of this guide is to teach the user how to compile their own ArcEmu server.
Download Prerequisites:
Microsoft Visual C++ Express Edition - [Only registered and activated users can see links. ]
TortoiseSVN: [Only registered and activated users can see links. ]
I. Why learn to compile ArcEmu?
Learning to compile your own ArcEmu server comes with a number of advantages. First, you can control the amount and frequency of updates for your server. If you use a repack, you have to wait until the repack is updated. Second, you can make what are called "core edits". These allow you to make modifications without having to create your own script. Examples include modifying the mail send delay and a custom startup message. Third, you are able to compile DLLs (C++ files). If you have ever seen a C++ script released and wondered how to add it to your server, you have to have compiled ArcEmu first. Those are some good reasons for learning to compile ArcEmu.
II. Checking out the SVN
Before we compile our server, we are going to need the files first. I assume you already have TortoiseSVN downloaded & installed (see top of guide). First, create a folder named "ArcEmu". Right click the folder and choose "SVN Checkout...". For the Url of Repository field, enter "svn://arcemu.info/svn/" (Without quotes) in the field. Then click ok.
Advanced Users Only - If you are looking for a specific revision, click that radio button and enter in the revision in the text field.
The download should begin, automatically downloading the latest revision available. This download time can range anywhere from one minute to one hour, so be patient.
III. ArcEmu-Windows-Libraries Navigate to the \trunk\extras\arcemu-windows-libraries folder. If you are x32, open the folder called "DLL Files". If you are x64, open the "DLL Files x64. Move these DLLs into your binary folder, or "C:\Windows\System32". Now open up the folder labed VC. Navigate to the directory. "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. Now you are ready to continue on to the next step.
IV. Compiling Your Server
This is the part that will have to be repeated to update your server. All the steps above are irrelevant after your first compile. First, if you are going to make any "core edits" make them now, before you compile your realm. Now go into the "trunk/win" folder and doubleclick the solution named "arcemuVC90". Set the build to "Release" (As we did before when compiling our Ascent-Windows-Libraries) and hit F7. The build will begin and may take anywhere from 5 minutes to 30 minutes. After this is complete, go into the "trunk/src/scripts" folder and select the solution "Scripts2008". Set the build to "Release" and hit F7. Again, this could take anywhere from 5 to 30 minutes.
When this process is finished, exit out of Visual Studio. Now go to your "trunk/bin/Release" folder and copy these files to a new folder elsewhere and call it "Compiled Server". Now browse over to "trunk/configs" and copy the .conf files listed, not the folder though. Create a folder named configs in your "Compiled Server" folder. Paste the configs in your "configs" folder. You have now officially compiled ArcEmu! It becomes a very short and easy process to do after your first couple tries. You will still need to download the DBC files and Map files from somewhere, or extract them yourself (I will be making a guide on this). You will also need an up-to-date database. I recommend you download this from NCDB at [Only registered and activated users can see links. ].
Remember, a video is to come along with other guides to help you further understand the world of emulation.
Extra Downloads:
DBC Files: [Only registered and activated users can see links. ] Map Extractor: [Only registered and activated users can see links. ]
If I have forgotten something, or if there is something you would like me to add to the guide, please feel free to PM me. If you have a question or error during this process, just reply the this thread. Otherwise I will not respond.
Thanks and hope this guide helped alot.
-Vindicated
__________________
To Write Love On Her Arms <3
Last edited by Vindicated; 03-21-2009 at 03:21 PM.
Donate to remove ads, get your "DONATOR title, and get access to the MMOwned community's elite Shoutbawx.
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Join Date: Feb 2009
Posts: 3
Reputation: 1
when i build VC90-solution i dont get an "Output_Release" folder i get two folders named 'zlib__Win32_Release" and "pcre__Win32_Release" Its my first time compiling and i realise that its probably a setting or something that i need to change becuase in all the guides it says i should get an "Output_Release" folder. but i dont. something to do with Win32? Also no .lib files? assume that will come with the setting that i need to change. But thanks. speed would be appreciated.
Seems that the output location changed. It's now in "extras\arcemu-windows-libraries\VC\lib" (after you compile it ofc). Updated guide to prevent future users from getting into the "mixup".
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Join Date: Oct 2008
Posts: 21
Reputation: 1
Your DLL compiling link is broken, can you get a better one so I can edit the dll files? thanks, ONe more thing Could you Add some links to download the MAPS, DBC, and anything else that is need along those lines please. :beg: