Author   : Mongoose <stu7440@westga.edu>
Contents : Convert MD2 to MDL kit
Contacts : #quakeforge irc.openprojects.net
Licensce : Read COPYING


ag_pallete.c :    Automaticly generated palette converter
build_pal.c  :    Build a 'ag_pallete.c' from 2 ascii images
mddc.c       :    Convert MD2s into MDLs 
                  Textures passed must be in the quake palette
                   either load qw/base.pcx and paste the md2 skin 
                   on it and save as indexed in gimp ( crop too )
                   OR use the pal_build package ( unfinished )
pcx.c        :    With -DTEST_PCX makes ascii images from PCX
                   otherwise a support file for mddc
ppm.c        :    For exporting RGB images
quake.pal    :    Palette for quake
quake2.pal   :    Palette for quake2


PROBLEMS:

  Some of this code is fruity.  I mean I wrote an ascii output for PCX,
  how werid is that?  I also wrote scaling and reverse video effect for
  said ascii output.  If you fear ANSI C run now.  This is in ANSI C,
  because quakeforge is in ANSI C.  I may make a C++ converter later, 
  and have it handle all the common model formats.

  I haven't had time to fix the misaligned textures, if you do fix this
  email me the patch with your name for credits please.  The problem is
  with the 'onseam' and texCoord packing in Build_Quake_texCoord*.  

  I'm not done with the QC patch to make the models use all their frames
  in quake yet.  If you'd like to do it get a copy of actor.* from q2 src
  and the QC source and have at it.  Also I didn't allow grouping of
  frames, since you can hack the QC not to need it iirc.

  I spent ~3 days on this, so don't expect to see extreme details.

  I didn't make a Makefile, since it wasn't nessacary.
   gcc -Wall -g -o mddc mddc.c pcx.c


Byte checksums for files:  
  -rw-rw-r--    1 mongoose mongoose    17976 Mar  8 22:23 COPYING
  -rw-rw-r--    1 mongoose mongoose     2394 Mar  8 22:52 README
  -rw-rw-r--    1 mongoose mongoose     4210 Mar  8 19:43 ag_pallete.c
  -rw-rw-r--    1 mongoose mongoose      993 Mar  8 19:31 build_pal.c
  -rw-r--r--    1 mongoose mongoose    31542 Mar  8 22:49 mddc.c
  -rw-r--r--    1 mongoose mongoose     5967 Mar  8 11:56 mddc.h
  -rw-rw-r--    1 mongoose mongoose     4089 Mar  8 19:41 pcx.c
  -rw-rw-r--    1 mongoose mongoose     1229 Mar  7 17:22 pcx.h
  -rw-rw-r--    1 mongoose mongoose     2351 Mar  7 16:20 ppm.c


All my barrowed code is credited, so credit me too.  =)

This is a GPLed release.


 - Mongoose <stu7440@westga.edu>