Author Topic: modfile headers in delphi  (Read 3106 times)

greg

  • Posts: 8
modfile headers in delphi
« on: 14 May '03 - 03:20 »
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..

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

Thanks,
Greg


Ghostwalker

  • Posts: 35
Re: modfile headers in delphi
« Reply #1 on: 14 May '03 - 19:06 »
Look at http://www.wotsit.org/

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

greg

  • Posts: 8
Re: modfile headers in delphi
« Reply #2 on: 15 May '03 - 00:03 »
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