FreeCNC Requirements
====================
* A C++ compiler such as G++ >= 3.2 or MS Visual C++ >= 6.
  The Microsoft Visual C++ Toolkit that can be freely downloaded from here
http://www.microsoft.com/downloads/details.aspx?FamilyId=272BE09D-40BB-49FD-9CB0-4BFA122FA91B&displaylang=en
  should work although we haven't yet tested it.
* A recent version of SDL 1.2.x.
* A recent version of SDL_mixer.
* The required MIX files from Command & Conquer (listed below)

Compiling with GNU tools
=========================
Run make in the freecnc directory. This should produce an executable called
freecnc and some developer tools (audplay, shpview, tmplinied).

Compiling with Mingw
====================
The above approach should work, but MSYS (and SDL) must be installed
and functional.

Compiling with MSVC
===================
Projects for MSVC 6 and 7.1 are available in the projects directory.
NOTE: The project files for MSVC6 are unmaintained at this time, if you want to
see better support for this compiler, you are invited to maintain these files.
NOTE: If you use MSVC 6, you must use the latest service pack as our code
triggers a few compiler bugs.

Getting the Data Files
=======================
At this point you should have an executable and some plugins (at least mix.vfs).
You will now need some data files.

(Note that Tiberian Dawn is the first version of Command & Conquer)

FreeCNC works with the data files from these versions:
C&C: Tiberian Dawn DOS
C&C: Tiberian Dawn Gold (Windows 95 edition)
C&C: Tiberian Dawn Demo
(English versions only, others might work but not guaranteed)

C&C: Tiberian Dawn Mac CD and Demo versions aren't yet supported.  Instead, Mac
users can use the PC versions.

Red Alert datafiles can be used, but it isn't fully supported at the moment.

Tiberian Dawn Demo Files
=========================
The MIX files in this archive is sufficient to preview FreeCNC:
ftp://ftp.westwood.com/pub/cc1/previews/demo/cc1demo1.zip

If you want video and music, get this file as well:
ftp://ftp.westwood.com/pub/cc1/previews/demo/cc1demo2.zip

Extract the MIXfiles from these archives into data/mix, relative to the freecnc
executable.

Tiberian Dawn DOS Files
========================
The following files are required:
     * conquer.mix
     * general.mix (contains the mission data for one campaign)
     * desert.mix
     * temperat.mix
     * winter.mix
     * local.mix (located in the install subdirectory of the CD)
     * speech.mix (located in the aud1 subdirectory of the CD)

The following files are recommended, but not required
     * scores.mix
     * sounds.mix
     * movies.mix
     * transit.mix

C&C Gold or SVGA disk files.
============================
In addition to the files listed above, the Gold version also needs the files
below; each one must be placed alongside the others.  Unfortunately, these mix
files are contained within an InstallShield archive on the disk.
At this time, the only way to get them is from an existing C&C installation.
(if you find an extractor that works, let us know).
Wine can be used to run the installer.
     * cclocal.mix
     * updatec.mix
     * deseicnh.mix
     * tempicnh.mix
     * winticnh.mix
     * speech.mix

Covert Ops CD
==============
The files on this disk may be used in conjunction with either setup listed above.
Copy them to the same directory (data/mix)
     * sc-000.mix
     * sc-001.mix

Red Alert
=========
First note that Red Alert isn't fully supported.
Only two mixfiles are needed:
    * redalert.mix
    * main.mix (contains several mixfiles)
Both files can be found on either Red Alert CD.  Both CDs have the maps for both
campaigns but only the videos for one.

The demo version can be downloaded from here:
    ftp://ftp.westwood.com/pub/redalert/previews/demo/ra95demo.zip

If the only mix files you have in data/mix are the Red Alert ones, you only have
to pass "-ra" to freecnc when running (or edit the game value in
data/settings/freecnc.ini -- see comments in that file for details)

If you have other versions available, the default behaviour is to try the
various versions of Tiberian Dawn first and then Red Alert.  This is determined
by the numbering of the game keys in files.ini.  You can change the numbers so
that Red Alert is tried first or move the files into distinct subdirectories and
change which path(s) are made available.
Regardless of your choice in this matter, you'll still need to pass "-ra" on the
command line.

The messiness of this situation should be fixed by 0.4.
