Mod Archive Forums

Music Production => Players => PC Players => Topic started by: tzak on January 15, 2011, 12:43:37

Title: hxMikMod - a haXe/Flash port of libmikmod
Post by: tzak on January 15, 2011, 12:43:37
Hello

MODs and Flash anyone?

I've been porting libmikmod to haXe/Flash. So far MOD, XM, S3M, and IT loaders are implemented. All commands and effects for those formats should be supported. AFAIK it's is the first freely available library doing this.

This is a result of about a weeks work and I haven't done extensive testing, so bugs are certain. Any contributions (testing, optimizing, new loaders, player apps, patches...) are most welcome. I'm almost a total haXe/Flash noob (this being about the first serious project) so there may be some silly mistakes there. Let me know if you have ideas of how to do this better.

The LPGL-licensed source and a couple of little demos are available at:

http://code.google.com/p/hxmikmod/

Thank you for your co-operation.
Title: Re: hxMikMod - a haXe/Flash port of libmikmod
Post by: Saga Musix on January 15, 2011, 12:59:13
AFAIK it's is the first freely available library doing this.
Depends on what "this" is. Loading MOD, S3M, XM, IT in Flash? Has been done before, with various self-written loaders as well with a libmodplug port, which is not publically available yet, though. But I wonder why it has to be mikmod, one of the worst mod players out there...
Title: Re: hxMikMod - a haXe/Flash port of libmikmod
Post by: tzak on January 15, 2011, 13:40:35
"Freely available", for a developer, generally means you can use the library for your own productions. I found two MOD loader libraries that come with source. I understood they don't even try to load these >4 channel formats. Of the first few test tunes I tried, they played maybe 30 to 50% wrong. MikMod might not be perfect, but I think it's clearly an improvement. There aren't actually that many free, portable, mature multi-format module player libraries around.