How to compile/build SFC2 EAW or OP Missions

(EAW Scripting API)
(OP API R2.2 - Scripting API)
Line 57: Line 57:
 
* download: [http://klingon.pet.dhs.org/sources_and_utils/SFCOP_API_R2.zip SFCOP_API_R2.zip]  
 
* download: [http://klingon.pet.dhs.org/sources_and_utils/SFCOP_API_R2.zip SFCOP_API_R2.zip]  
 
** Installation instructions: [[OP API R2.2 readme.txt]]
 
** Installation instructions: [[OP API R2.2 readme.txt]]
 +
* also see: [[SFC-related_missions,_sources,_patches_and_misc_utilities]]
  
 
=== ShipList API ===
 
=== ShipList API ===

Revision as of 23:24, 9 June 2011


Contents

Software Pre-requirements

Windows 95/98/Me/NT/2000/XP 32bit

The StarFleet Command 2 games were compiled on a 32-bit host, which was quite normal for the days around 1999-2001. Compiling the missions scripts will require the same. Additionally, it's necessary to install certain support software onto this build environment. I do NOT recommend you use your primary computer to do this.

FireSoul's example: I have a home PC with Windows Vista Home Premium 64, and thus decided not to use this as my build OS. I decided to look into using a Virtual Machine environment, setting up Windows XP SP3.

My Virtual Machine specs:

  • 1.5GB of memory
    • I could do with far less, but I also use 3DSMax R5 to create/modify my SFC 3D models
  • 40 GB diskspace
    • diskspace is cheap now-a-days. I have a 1TB drive in the main host.
  • 2 CPU cores
    • I have a Intel I7 Quad Core system. I decided to increase the number of cores in the VM from the default of 1 to 2 so that I can do other stuff while it compiles.

Microsoft Visual C++ 6.0

It has to be Microsoft Visual C++ 6.0. Nothing else will work.

No .NET. No "2005" or younger.

MSVC++ 6.0. Really.

Service Pack 5 for MSVC++ 6.0

IMPORTANT! Do not use Service Pack 6!

I cannot legally redistribute SP5 on my site, but I definitely have kept a copy around. It is true that SP6 is far easier to find, but it will SCREW THINGS UP if you install it!

EAW Scripting API

This is the part that links the sources to SFC2 EAW: the mission API. It will contain library files, c++ header files and some template mission scripts.

Be sure to follow the installation instructions!

OP API R2.2 - Scripting API

This is the part that links the sources to SFC OP: the mission API. It will contain library files, c++ header files and some template mission scripts.

Be sure to follow the installation instructions!

ShipList API

Other APIs.. maybe your own?

-->