modfile headers in delphi

Started by greg,

greg

I've converted some C and figured out the rest of this.  This basically grabs the stuff I've seen some people (including me) ask for.  It currently only has XM and IT stuff.  It reads the info that BASS skips and skips the info BASS uses.  :)

Some may find some (or all) the code sloppy but it works. :)  Had a very tough time with XM files so I wound up doing it the hard way - but it works without a hitch.  IT files have one small problem (I'm missing something I'm sure).  If the sample/instrument name has a space as the fist character, it seems to get skipped.

Anywayz..  if anyone wants to help out feel free.  I'll keep adding to this as I figure more things out.  There's also some junk in there I've used for other stuff.  All native delphi btw..

//www.viewnoise.com/files/modread.zip

Thanks,
Greg


Ghostwalker

Look at http://www.wotsit.org/

It's (imho) the biggest File-Format-Description-Collection in the net.:) Maybe it help you.

greg

Yep.  It helped a bunch.  That's part of what I used to get things this far.  I've just been too busy to try a few ideas on the small IT problem.  Still plan on adding other formats to it and re-arranging a few things but it works as is aside from the minor IT issue.

Thanks,
Greg