The Daily Click ::. Forums ::. Klik Coding Help ::. I cannot, for the life of me, get MODs to work with DMC2 in TGF.
 

Post Reply  Post Oekaki 
 

Posted By Message

Matt [cash money klikaz]



Registered
  10/07/2002
Points
  289
23rd August, 2006 at 08:33:23 -

I can get .wav's and mp3s to work, but not MODs for some reason...

ideas?

 
cash money klikers

WHAT WHAT

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
23rd August, 2006 at 08:38:23 -

More information please.

tell us what are you doing step by step, so we can see what you're doing wrong.

 
.

Deleted User
23rd August, 2006 at 08:43:50 -

When playing a mod file you must use OpenModule instead of OpenStream.

 

Matt [cash money klikaz]



Registered
  10/07/2002
Points
  289
23rd August, 2006 at 08:44:48 -

Start of Level: InitBASS()
OpenModule(file="c:\music\m02.mod", looping=0)
Timer=1 second: PlayModule()

 
cash money klikers

WHAT WHAT

Deleted User
23rd August, 2006 at 08:52:34 -

That should work...

 

Matt [cash money klikaz]



Registered
  10/07/2002
Points
  289
23rd August, 2006 at 08:55:50 -

Image

 
cash money klikers

WHAT WHAT

DanielRehn



Registered
  18/09/2002
Points
  139
23rd August, 2006 at 09:09:04 -

If I'm not misstaken it requires a dll to get mods to work.. Think it's called bass.dll... do you have that one?

 
n/a

Matt [cash money klikaz]



Registered
  10/07/2002
Points
  289
23rd August, 2006 at 09:24:56 -

edit: I'm pretty sure I have bass.dll in the right place -- I put it in the windows\system folder AND in the same folder as the game file.

Image Edited by the Author.

 
cash money klikers

WHAT WHAT

Spiriax



Registered
  25/05/2005
Points
  277
23rd August, 2006 at 11:31:54 -

If mp3's have worked then it doesn't have with bass.dll to do at all as bass.dll is needed for mp3 use also with the DMC2.

Firstly, I personally never include the partitions when telling the DMC2 what to play. If the file in question is in the same folder as your program then just tell it to play "m02.mod", or "music/m02.mod", if you have a music folder there of course. If playing music with DMC2 would work when placing the file on a whole different place on your computer than your program, then the people who downloads it would have to place it under the exact same folder and partition as you.

Other than that you may want to separate the events between "InitBASS()" and "OpenModule", maybe, as a little thing.

 
n/a

Matt [cash money klikaz]



Registered
  10/07/2002
Points
  289
23rd August, 2006 at 11:54:19 -

I've tried putting the file in various folders, and I've even tried using different MOD files with different filetypes, like .mod and .it, but nothing works. I have also separated the actions (initBASS, openmodule, playmodule) into different events, and I have tried various ways of capitalizing the name of the MOD file, and nothing works.

ARHGHGHGHGGHHG

 
cash money klikers

WHAT WHAT

The_Antisony

At least I'm not Circy

Registered
  01/07/2002
Points
  1341

VIP MemberStarSnow
23rd August, 2006 at 12:04:15 -

Try grabbing a newer version of bass.dll. I know it probably doesn't make any sense what-so-ever, but I was running into near random problems playing MP3 files through DMC2. Sometimes the file would start, and sometimes it wouldn't. Sometimes it'd even lock up TGF and force me to CTRL-ALT-DEL my running .gam project.

Also, ensure DirectX is enabled, as bass.dll requires it.

You should be able to download an updated bass.dll from here:
http://www.un4seen.com/



 
ChrisD> Employer: Say, wanna see a magic trick?
ChrisD> Employee: Uhh… sure, boss.
ChrisD> Employer: Your job! It just disappeared! Pack your things and leave! Pretty good trick, huh?

Matt [cash money klikaz]



Registered
  10/07/2002
Points
  289
23rd August, 2006 at 12:24:33 -

I downloaded what I think is a newer version of bass.dll, but no dice. This is beyond frustrating.

 
cash money klikers

WHAT WHAT

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
23rd August, 2006 at 12:43:20 -

Put up your .gam file somewhere - if the same thing works on other computers then we'll have more idea where the problem is.

 
http://www.davidn.co.nr - Games, music, living in America

Matt [cash money klikaz]



Registered
  10/07/2002
Points
  289
23rd August, 2006 at 13:48:56 -

http://www4.ncsu.edu/~mrwilso3/dmc2.zip

Give it a shot. Maybe it's just my system.

 
cash money klikers

WHAT WHAT

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
23rd August, 2006 at 13:50:38 -

Redownload the extension, it should have the correct version of BASS, and fix any problems the extension might have had (like a corrupt file?).

 
Old member (~2004-2007).

Matt [cash money klikaz]



Registered
  10/07/2002
Points
  289
23rd August, 2006 at 13:57:20 -

Tried redownloading the extension and bass.dll, but didn't work.

I'm thinking it must be a problem with my machine.

 
cash money klikers

WHAT WHAT

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
23rd August, 2006 at 14:05:27 -

I remember someone having problems with a LOT of extensions, and all of these problems faded away after reinstalling MMF. Don't worry, your extensions won't be deleted when you do that...

Also, some random things might be unstable if you're using Windows Vista...

 
Old member (~2004-2007).

Spiriax



Registered
  25/05/2005
Points
  277
23rd August, 2006 at 17:31:23 -

The thing is, if you would have detailed your situation more; like what you've tried and not, then people wouldn't have to write a whole lot of posts solely in vain. At least that's advice about the next time you need help.

I absolutely thought my piece of advice would solve your problem, but it seems not. Your problem seems even more serious. As of now I cannot help you personally, but I hope you'll fix it, and good luck.

 
n/a

Tina Petersen



Registered
  19/09/2003
Points
  350
23rd August, 2006 at 17:36:47 -

ur download seems corrupt. tried it twice now.. so cant help.

 
- Eternal Life, Or Your Money Back -
http://www.befun.dk/
Currently looking for a home (team)

Matt [cash money klikaz]



Registered
  10/07/2002
Points
  289
23rd August, 2006 at 17:50:00 -

It is, I've tried uploading it twice, but every time it gets corrupted. I'm giving up on this for now and working on something else.

Thanks all.

 
cash money klikers

WHAT WHAT
   

Post Reply



 



Advertisement

Worth A Click