How to play MOD files???

Started by
3 comments, last by Reunion 21 years, 2 months ago
Hello everybody. Could you help me: how can I play a MOD - file using DirectX 7. Thank you.
Advertisement
Well, you can try to work your way through the format at www.wotsit.org , but it will tkae a good amoutn of work to get it done right. I suggest looking into some middleware solutions, like BASS at www.un4seen.com or FMOD at www.fmod.org
Thanks a lot.
But this is not exectly what I wanted. I want to load a MOD-file into a IDirectSoundBuffer or to a IDirectMusicSegment. How can I do this???
I really don''t think you can. I haven''t played with DirectX more than to familiarize myself with the API at present, so anyone is apt to prove me wrong after this, and they are welcome to. But, considering the underground nature of the MOD scene, and the fact that there -are- middleware solutions almost solely meant for playing MODs in DirectX(BASSMod, at un4seen, is BASS stripped down solely to provide MOD support, not Ogg or MP3), that it''s not plug-and-play, so to speak. MOD and all its variants are a crazy format, sometimes the best way to describe some of them(like .XM) is hodgepodge.

If you''re keen on doing it all on your own, your probably going to be cracking the file open, loading out the sample data, and parsing the patterns and columns, and mixing your own buffer.
Try MikMod at
http://www.mikmod.org

There''s a DX based player library called MikWin at
http://www.cfxweb.net/modules.php?name=News&file=article&sid=1175
http://www.bitplanet.de/mikwin/

MikMod plays MOD/S3M/XM well, a bit lousy in IT, but it''s free (LGPL) and pretty good.
MicroMan, MicroJackson.....

This topic is closed to new replies.

Advertisement