The Daily Click ::. Forums ::. Klik Coding Help ::. dmc2 issue, tgf
 

Post Reply  Post Oekaki 
 

Posted By Message

tetsuya_shino



Registered
  12/08/2004
Points
  491
31st March, 2012 at 31/03/2012 07:21:56 -

Greetings. I just put a test mp3 in my game while following Rycon's guide http://www.create-games.com/article.asp?id=1141

The mp3 plays perfectly with no problem. I also was also sure to add code to terminate the bass. So no problems there. On a whim, I just tried to compile my game as a stand alone. The exe won't even open and a small error message saying 'file error' pops up. I go back in, delete all the dmc2 events and the object it's self then complie again. This time the exe opens normally.

Any idea what went wrong? Kinda pointless if my .gam can play mp3s but the compiled exes can't.

 
n/a

Hagar

Administrator
Old klik fart

Registered
  20/02/2002
Points
  1692

You've Been Circy'd!Teddy Bear
31st March, 2012 at 31/03/2012 14:39:03 -

Hi,

Two possible problems. Firstly make sure you use Game drive + Game directory + "\mymp3.mp3" to load your MP3. I do not have MMF or TGF installed on this laptop so I am running off memory. Use this string to change an an alterable string to ensure the path and filename is correct.

Also bass.dll needs to be in either your windows\system32 directory (not recommended) or the compiled games directory.

Hope that helps



 
n/a

nim



Registered
  17/05/2002
Points
  7233
31st March, 2012 at 31/03/2012 15:02:57 -

Sometimes I get "File error" but it usually goes away if I recompile it. Have you tried compiling it more than once with the DMC2 object and events included?

 
//

tetsuya_shino



Registered
  12/08/2004
Points
  491
1st April, 2012 at 01/04/2012 06:49:49 -

Hmm, I assumed I had this bass.dll .. but I guess I didn't. I just downloaded it and now it works like a charm! Thank you!

 
n/a
   

Post Reply



 



Advertisement

Worth A Click