Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Reunion

How to play MOD files???

This topic is 5584 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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???

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!