Welcome to SWG Emu Core 1!

     Modules
· Home
· Documents
· FAQ
· Forums
· Links
· Search
· Submit News
· Topics
· Your Account

     Who's Online
There are currently, 0 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here

Compiling Core 1 From Scratch
How to download the source and compile everything from scratch




Required Tools You can substitute your own, but we may not be able to help you configure them

The following tools are not required, but are helpful:
Configuring Visual C++ Express Edition

From SWGServers.com
  1. Open Visual C++ Express Edition.
  2. Click on Tools then Options.
  3. Click on the "+" next to Projects and Solutions.
  4. In the new dropdown menues below Projects and Solutions, click VC++ Directories.
  5. At the top right of the window, select Include Files from the Show Directories For: dropdown menu.
  6. Click on the button below the Show Directories For: dropdown menu that looks like a yellow folder with a star.
  7. In the menu a new line will now be highlighted. Enter in your MySQL Include directory. (we are assuming you installed MySQL to C:Program FilesMySQLMySQL Server 5.0. So enter C:Program FilesMySQLMySQL Server 5.0include in the highlighted line.
  8. Click the button below the Show Directories For: dropdown menu that looks like a yellow folder with a star again.
  9. In the menu a new line will now be highlighted again. Enter in your Microsoft Platform SDK Include directory. (we are assuming you installed Microsoft Platform SDK to C:Program FilesMicrosoft Platform SDK. So enter C:Program FilesMicrosoft Platform SDKInclude in the highlighted line.
  10. We now need to specify the Lib directories. At the top right of the window, select Library Files from the Show Directories For: dropdown menu.
  11. Click on the button below the Show Directories For: dropdown menu that looks like a yellow folder with a star.
  12. In the menu a new line will now be highlighted. Enter in your MySQL Library directory. (we are assuming you installed MySQL to C:Program FilesMySQLMySQL Server 5.0. So enter C:Program FilesMySQLMySQL Server 5.0libopt in the highlighted line.
  13. Click the button below the Show Directories For: dropdown menu that looks like a yellow folder with a star again.
  14. In the menu a new line will now be highlighted again. Enter in your Microsoft Platform SDK Library directory. (we are assuming you installed Microsoft Platform SDK to C:Program FilesMicrosoft Platform SDK. So enter C:Program FilesMicrosoft Platform SDKlib in the highlighted line.
  15. At the bottom of the window, click OK. You have now configured Visual C++ Express Edition.

Downloading the Latest Source Code via Tortoise SVN

From SWGServers.com
  1. Create a new folder on your desktop.
  2. Right click on the folder and click SVN Checkout.
  3. When the new window pops up, paste http://opensvn.csie.org/SWGEmuPub/ in the URL of repository box input and click OK.
  4. Tortoise SVN will now start downloading all the source files to your folder on your desktop. This may take a few minutes on a slow connection.
  5. Once the download is complete, the last line will display the Revision you just downloaded. This will be the latest revision of the source code. The OK button will become clickable so click it.
  6. You have now downloaded the SWGEmu Source Code.

Open & Compile the Project

  1. The project is located in win32/swgemu-vc8.sln
  2. Double Click that or choose to open a Project/Solution
  3. From the Build Menu, choose Build Solution.
  4. You'll get a lot of warnings but at the end it should say Build: 8 successfull, 0 failed, 0 up-to-date. If you have nothing failed, it's successful. On your first compile it should also have none up-to-date (as they don't exist yet)

Load the Database

  1. [Start] -> Run -> "cmd"
  2. mysql -uroot -p
  3. (enter password)
  4. mysql> source "C:PathToCore1FilesmysqlFullDB.sql"

Configure the Server

  1. Open debug/swgemu.cfg and change the DBPass variable to whatever password you set up for the root account on MySQL.
  2. IF the server and the client (the server and the game) are on different computers, edit the servers table and change the IP from 127.0.0.1 to the IP of the machine where the server is running.
  3. Run swgemu.exe
  4. Connect to the server









Copyright © by SWG Emu Core 1 All Right Reserved.

Published on: 2007-02-21 (1692 reads)

[ Go Back ]






All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2005 by me.
You can syndicate our news using the file backend.php or ultramode.txt
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 3.17 Seconds