Final Fantasy I map generator, by Andrew Church <achurch@dragonfire.net>.
This software is public domain.

NOTE: The instructions below (and the programs themselves) assume a Unix
      system.  If you're using something else, you're on your own.  If it
      breaks, you're on your own.  I will not offer any support for this
      software.

How to install:

- Compile ff1-maps/src/map2gif.  Running "make" in the ff1-maps/
  directory should be sufficient; warnings can be ignored.  You may need
  to change some definitions in the Makefile; in particular, check the
  endian flag definition (leave it alone for Intel systems, comment it out
  for Sun or 680x0 systems).  

- Move ff1-maps/src/map2gif (the executable file) one directory up, i.e.
  directly under ff1-maps/ .

- Put the "ff1-maps" directory anywhere you have access to.

- Modify the defines at the top of public_html/cgi-src/{getmap,getmap2}.c
  as appropriate.  You will need the full path to the ff1-maps directory
  from the last step, as well as the URL path (no trailing slash) to
  wherever you will install the CGI programs (see below).

- Compile public_html/cgi-src/{getmap,getmap2}.c, and name the executables
  {getmap,getmap2}.cgi.  On most systems, "cc FILENAME.c -o FILENAME.cgi"
  should be sufficient.

- Move the two executables (*.cgi) to wherever your web server can see
  them and recognized them as executables (as opposed to returning them as
  plain files).

- Edit public_html/ff1-maps.html and public_html/FF1maps/*.{html,map} to
  reflect the correct path to the CGI programs (you will need to correct
  several locations; search for "cgi-bin").  Also make sure the links in
  public_html/FF1maps/*.html point to a working "imagemap" program (if you
  do not have one, the imagemaps will not work).

- Move public_html/ff1-maps.html and public_html/FF1maps somewhere visible
  to your web server (they must both go into the same directory).

- Access ff1-maps.html from a web browser and ensure that everything works
  correctly.  If trying to display a map results in a "broken image file"
  icon, then check the path to map2gif in getmap.c.  If that's not the
  problem, then map2gif is likely not working correctly; you can try
  changing the Makefile settings, but if that doesn't help, you're out of
  luck.
