Version 8, last updated by Lordcorm at March 29, 2008 00:26 UTC

This seems to be the most difficalt part in setting a server up. But, i can assure you that it will be a sinch with this guide :P.

 

Getting all the right tools:

These are the tools you are going to want to download, do not install any of them untill i say so, or you risk ruining your setup.

Microsoft Visual C++ Express Edition 2005 (ONLY 2005 Edition) www.microsoft.com/express/2005/download/default.aspx#

Microsoft Platform Software Development Kit (Most people will need to run the x86 version)

www.microsoft.com/downloads/details.aspx

MySQL Server

dev.mysql.com/get/Downloads/MySQL-5.0/mysql-essential-5.0.51a-win32.msi/from/http://mirrors.24-7-solutions.net/pub/mysql/

Tortoise SVN

downloads.sourceforge.net/tortoisesvn/TortoiseSVN-1.4.8.12137-win32-svn-1.4.6.msi

 

One more tool you will need will be a MySQL Database Editor (this is not required, if you know MySQL Command Line). There are several tools that can perform this task, there is one that comes with your install of MySQL, and there is another less complicated one called Navicat ( www.navicat.com/download.html ).

 

Installing the Tools:

Ok, now we are going to install the tools. First we are going to want to start by installing Microsoft Visual C++.

1. Open vcsetup.exe from where ever you downloaded it.

2. Click Next

3. Check Everything but Microsoft SQL Server 2005.

4. Wait for it to download, then follow additional on-screen instructions.

 

!!!!INSTALL ALL OF THESE IN DEFAULT DIRECTORIES!!!!

Now, after that is complete. Install Microsoft Platform SDK, and keep everything at default (a.k.a do what everyone does when they install something, just keep pressing next till complete ;) ).

After that is complete (which the PSDK takes a while to install), you need to install MySQL, and once again, keep everything at default. Make sure you do a COMPLETE install, not a typical. After you install, if it already hasnt prompted you to set your password, goto the MySQL Instance Config, by going to Start->Program Files->MySQL->Instance Config.

Last, install Tortoise SVN, everything default again. You will need to restart after installing this, so save any unfinished work before installing.

 

Setting Up before Compilation

Here we will setup everything we need to before we compile or get the source code.

This following text was taken from Interestings guide:

1. Open Visual C++ Express Edition.
2. Click on Tools and Options.
3. Click the Box with the "+" inside of it to the left of "Projects and Solutions".
4. Select "VC++ Directories"
5. Click the drop down box under "Platform" and select Win32.
6. Click the drop down box under "Show directories for", and select "Executable files".
7. In the text box below all of the drop down menus, you will see a large amount of text. Click the icon above this box of text, that looks like a Folder with an Asterisk on it.
8. Once you click this icon, a new line of text will appear in the text field. Enter "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin".
9. Repeat step 7, and in the new line of text enter: "C:\Program Files\MySQL\MySQL Server 5.0\bin".
10. Click the drop down box under "Show directories for", and select "Include Files".
11. Repeat step 7, and enter the text: "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include".
12. Repeat step 7, and enter the text: "C:\Program Files\MySQL\MySQL Server 5.0\include".
13. Click the drop down box under "Show directories for", and select "Library Files".
14. Repeat step 7, and enter the text: "C:\Program Files\MySQL\MySQL Server 5.0\lib\opt".
15. Repeat step 7, and enter the text: "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib".
15. Click okay.
16. Exit the application.

 

Getting to Source Code:

1. Make a folder anywhere on your computer that you want to source code to reside in. (Most popular and recommended place to put it is in a folder on your localhardisk (i.e. C:\SWGPreCU\ ).

2. Now right click on the folder, and select "SVN Checkout...". Inside of the URL box, insert "http://svn2.assembla.com/svn/swgprecu/" and press OK.

3. After the source code is downloaded, the OK buttons will become clickable, press it.

 

Compiling the Server:

Now its time to Compile the server!

1. Go to the folder you downloaded the soure code to.

2. Open the folder named "Project Files"

3. Open the the file named "SWGPreCU.sln"

4. Wait a moment for it to load.

5. Press the F7 key.

6. If everything was setup correctly, you should recieve that all builds where successful.

If you recieved any errors (NOT WARNINGS!), please go to the forums for further assistance.

NOTE: IF THIS IS YOUR FIRST TIME COMPILING THE SERVER, IT IS RECOMMENED THAT YOU DO NOT START ANY OF THE SERVERS UNTILL YOU READ SETTING UP THE SERVER.

You have now compiled the server! Yay! (give yourself a pat on the back). Now, you can continue onto the next step on getting a playable, which is setting up the server so it can be played on (i.e. Database, Config, ect...) To continue to the next step go here.