How-to:Win2000

From Project Skyfire
Jump to navigation Jump to search

INTRODUCTION

Compiling SkyFire on Windows 2000 requires several extra steps and a more than basic knowledge of how your operating system works to allow the necessary software to find the necessary components. Some of the steps will require an advanced level of computer understanding. Attempt at your own risk

SOFTWARE REQUIRED

The Software Required is the same for any Windows system, Unfortunately you have to install everything in the proper order or things won't see each other. This is the installation order that needs to be followed for proper Compiling of SkyFire:

  • System Setup
  • Install .Net 3.5
  • [OpenSSL 1.0.0c Download-32bit]
  • [MySQL 5.1.*] make SURE you DONT get the Essentials version(the download link will tell you if you do) cause you will NEED the source that comes with the full installer. ATTEMPTING TO INSTALL ANY OTHER VERSION BESIDES 5.1.* MAY END IN A FROZEN COMPUTER. The Installers for the newer versions can freeze under Windows 2000. YOU HAVE BEEN WARNED
  • [GitExtensions] (Includes Git, MySYSGit, and KDiff - be sure to install all three)
  • [CMake]
  • Your Choice of: [SQLYog Community Edition] or [MySQL GUI Tools] or [HeidiSQL] (Good for beginners) DO NOT USE NAVICAT : Due to NaviCat not being able to handle // style comments (standard SQL), we advise all users to stay VERY clear of this product - you have been warned.
  • [Microsoft Visual C++ 2005 Express Edition] Any later versions of Visual C++ (2008, 2010) will not install under Windows 2000. You MAY use a previous version if you so chose, but any earlier versions have been untested.

SYSTEM SETUP

It is necessary to have Windows 2000 fully updated before installing any of the software required to compile SkyFire. Of particular note please make sure that the following windows components have been installed...

Installing .Net 3.5

.Net 3.5 is a necessary piece of software for SkyFire to run. Unfortunately Microsoft did not include .Net 3.5 as a piece of software available to install for Windows 2000, and attempting to run the off line installer for .Net 3.5 on a Windows 2000 machine results in a "you must upgrade your Operating System" error message. There is a work around for this, first you need to install .Net 2.0 SP2. This service pack isn't distributed via Windows Update, and you must have it to use .Net 3.5, so you will have to go get it your self, and even tho it doesn't say on the website, you can install it under Windows 2000.

After installing .Net 2.0 SP2 you will have 2 choices, you can go Here(down as of this writing) or Here and attempt to do a manual install of .net 3.5(be Sure to read ALL of the comments, there is a lot of instruction further down the comments list) or you can download This and have it done automatically. The reason I give you a choice is because the installer is in a combination of English and Japanese, although it is relatively easy to understand. Installation of .Net 3.5 the manual way is VERY DIFFICULT. Attempt a manual install at your own risk.

After Installing .Net 3.5 you can install the rest of the required software in any order, but it is recommended that you follow the outline here to the best of your ability.


Installing OpenSSL 1.0.0c

When you install OpenSSL 1.0.0c the installer MIGHT freeze right at the end of the installer. The reason i say might is because it did so on me, but i was only able to test the installer on one machine. IF the installer freezes you will have to add the location you installed OpenSSL to your path directory. ie. if you installed OpenSSL1.0.0c to C:\OpenSSL then Right Click on My Computer -> click 'Properties' -> click the 'Advanced' tab -> click on the 'Environment Variables...' button. In the Lower box that shows up find the variable named 'Path' and click the 'Edit...' button. Place your cursor in the Variable Value box and press the 'Home' key on your keyboard(so you are at the beginning of the variable list) then type the location of your openssl Directory and a ";" after. Then Click 'OK' all the way back to your desktop.

Installing MySQL

Installation of MySQL *SHOULD* be uneventful if you got the right version. The Instance Configure Wizard needs some special options tho. Go through the prompts with the defaults until you get to the port setting. When you get to the Port Setting make sure that the 'Add Firewall Exception' is UNCHECKED since Windows 2000 doesn't have a built-in Firewall. Continue on until you reach the part where it says "Include Bin Directory in Windows PATH". you have two options at this point. one you can check the box and wait until the configuration wizard finishes the instance setup(which depending on your hardware setup could take quite a bit of time), or you can leave it unchecked and manually add the directory to your path your self. Personally I find it easier and faster to have you add the directory to the PATH your self. To do so Right Click on My Computer -> click 'Properties' -> click the 'Advanced' tab -> click on the 'Environment Variables...' button. In the Lower box that shows up find the variable named 'Path' and click the 'Edit...' button. Place your cursor in the Variable Value box and press the 'Home' key on your keyboard(so you are at the beginning of the variable list) then type the location of your MySQL installation(ie. c:\mysql) followed by a ";". you can then click "OK" all the way back to the Desktop.

Installing Cmake, GitExtensions, A Database Management Program, and VC 2005

The Installation of each of these programs will be uneventful, but make sure to follow the instructions for installing Git on Windows otherwise you will end up with a warning when you compile the server.

Getting the Source Code for SkyFire

To Get(read as Git) the source for SkyFire create a new folder where you want your copy of the source to be(example. C:\SkyfireSource). after you create your folder, Right Click on it, then click 'Git Extensions' then click 'Clone'. In the window that shows up put https://github.com/ProjectSkyfire/SkyFireEMU.git (RIGHT CLICK THIS LINK AND CLICK 'Copy Link Location')in the 'Repository to Clone' box and make sure your directory is in the destination box. Make sure to remove any entry in the sub-directory to create box as well. click clone and in a few minutes you will have your own copy of the Source.

Compiling the Source With VC2005

To Compile your source you will need to follow the instructions for compiling under VC2005-2008 located Here


At this point you can use the NORMAL install instructions starting at Installing the Databases