The Daily Click ::. Forums ::. General Chat ::. Could someone with MMF help me, please?
 

Post Reply  Post Oekaki 
 

Posted By Message

Nudlez



Registered
  14/03/2006
Points
  1081
25th May, 2006 at 20:46:57 -

I am some what a newbie on GTF, but I am sure one cant put MP3 files into ones games. Now; me and my friend have made some MP3 music we would like to have in our GTF-made games. How ever, it seems impossible. Therefore we are in a desperate need of some one who could open our game in MMF (which I for some reason belive can be used for putting MP3-music into games) and ad the music, save the game and send it back to us. Can this be done, will anyone do it? If so, we would be very greatful.

// Nudlez

 
Fore those that speak swedish: http://logografen.blogspot.com

Deleted User
25th May, 2006 at 21:11:20 -

Download the extension DMC 2 Object from:
http://www.clickteam.info/extensions/extlist.php?cat=11

Put it into your TGF directory.
Then put the file 'bass.dll' in your 'C:\Windows\System' directory...
Now you can use the extension to play mp3:s in your game...

TO play a mp3, do the following:
Go to the frameeditor of your game and create a DMC 2 object.
Go into the event editor and add the events:
- Start of level
-> (DMC 2) Ínitialize Bass
-> (DMC 2) Stream/ Open stream; (then input the filename for the mp3. example "tree.mp3", the mp3 must be in the same folder as the .gam file.)
-> (DMC 2) Stream/ Play Stream; (then input 1 to make the mp3 loop)

THIS ONE IS REALLY IMPORTANT:
- End of game
-> (DMC 2) Stream/ Stop Stream
-> (DMC 2) Stream/ Close Stream
-> (DMC 2) Terminate Bass

Thats it... hope i didnt forget anything, just ask again if it doesnt work!


 

Deleted User
25th May, 2006 at 21:12:15 -

When you want to share your game with others, like upload it on this site, dont forget to put the 'bass.dll' in the games folder... along with all mp3-tracks used in the game!

Btw, this must be included in every frame:
- End of game
-> (DMC 2) Stream/ Stop Stream
-> (DMC 2) Stream/ Close Stream
-> (DMC 2) Terminate Bass

Image Edited by the Author.

 

Nudlez



Registered
  14/03/2006
Points
  1081
25th May, 2006 at 22:03:42 -

OMG! This is very useful information for us! Thanks a lot Aiko Airdrake! And I will look into that page too.

 
Fore those that speak swedish: http://logografen.blogspot.com

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
25th May, 2006 at 22:39:49 -

What's GTF?

DMC2 is allright for playing mp3, but some people seem to have problems with it crashing the game and stuff like that. Try the ModFX objects, they don't suck. I think.

 
n/a

Deleted User
25th May, 2006 at 22:43:02 -

Heh, i have never used ModFX so i dont know.
But DMC2 has always worked for me. The reason it may crash is if you forget to put the stop/close/terminate mp3 at the end of the game... If you just do that, it SHOULD work.

 

vortex2



Registered
  27/05/2002
Points
  1406
25th May, 2006 at 23:20:19 -

Be advised that if you wish to sell your games, bass.dll has a $100 commercial fee.

 
A bit of insanity with every bite!

Nudlez



Registered
  14/03/2006
Points
  1081
26th May, 2006 at 00:41:54 -

I cant find the "frameeditor" Aiko Airdrake refered to. What is it and where is it?

Image Edited by the Author.

 
Fore those that speak swedish: http://logografen.blogspot.com

Deleted User
26th May, 2006 at 01:13:57 -

Oh, im sorry.
Im too used to MMF! ^^
I just meant the Level Editor(Frame Editor in MMF), when you put out the objects and backgrounds.
Click the 'Create new object' icon and then create the DMC 2 object. Just place it anywhere in the level. (To do this you must first have downloaded the extension DMC 2 and put it in the same folder as the TGF .exe file)
Then go to the Event Editor and create the events that i posted above.
Hope you can figure the rest out...

Image Edited by the Author.

 

Nudlez



Registered
  14/03/2006
Points
  1081
26th May, 2006 at 01:24:32 -

Every thing should work by now, I have placed all the DMC2-files where you suggested, but when I run TGF and check for the DMC2-object, I cant find it. Should I do something to get it there or should it just appear?

 
Fore those that speak swedish: http://logografen.blogspot.com

Deleted User
26th May, 2006 at 01:28:20 -

Download this:
http://www.freewebs.com/airdrake/mp3.zip

Its an example, it also includes all files you need. Now i really hope it will work!
I made it as simple as i could...

 

Deleted User
26th May, 2006 at 01:31:11 -

Oh, and if it still doesnt work, your version of TGF is old. Update it here: http://www.clickteam.com/English/download_section.php?PID=11&SID=3&Sname=Updates by downloading "English Update to V 1.06". The older version cant use extensions, so that can be why it isnt working.

Image Edited by the Author.

 

Nudlez



Registered
  14/03/2006
Points
  1081
26th May, 2006 at 01:35:12 -

Thanks for your answers, however I just got the message "read error" while trying to open that file in TGF.

 
Fore those that speak swedish: http://logografen.blogspot.com

Deleted User
26th May, 2006 at 01:37:13 -

Argh... no.... hm... i really have no clue whats the problem... Have you tried the update and everything?

 

Nudlez



Registered
  14/03/2006
Points
  1081
26th May, 2006 at 01:44:54 -

Update? Update what?

 
Fore those that speak swedish: http://logografen.blogspot.com
   

Post Reply



 



Advertisement

Worth A Click