View Full Version : playing a mod music file
UPucker
July 16th, 2005, 08:07
I need to play a mod file. Im writing an win32 asm, and need some help. I can use bassmod, but I want to have everything in one exe without using a dll or needing any external files.
Can anyone point me in the right direction
or even how to include the dll in the exe?
JimmyClif
July 16th, 2005, 08:30
PEBundle >> http://www.bitsum.com/pebundle.asp
Silver
July 16th, 2005, 08:37
UPucker, research demoscene community resources. There are loads and loads of open sources for mod players and fasttracker/protracker clones. You will probably be able to build your own lib with the functions you need, rather than hacking bass/fmod/modplug etc to do what you need.
Neitsa
July 16th, 2005, 10:55
There's a minifmod portage for MASM32 (MFMLIB)
This one was translated by Pegasus from REN. (See attachement).
Put your XM in your resource file and do a couple of operation to get a pointer to it :
-FindResource
-SizeOfResource
-LoadResource
-LockResource
Read carefully the .inc everything is explained for the lib itself.
UPucker
July 17th, 2005, 10:28
I found mfmplay while looking around right after I posted this. It worked like a charm. Thanks for the help.
Powered by vBulletin® Version 4.2.2 Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.