[Added][Patch]Query about MikMod usage

Feature requests that have been implemented or discarded.

[Added][Patch]Query about MikMod usage

Postby mnk » 17 Feb 2011 04:10

Right now, it seems in most projects modplug is both more supported and preferred to MikMod.

For the moment, it seem in vavoom it's different.

I'm just about at the point of having a piece of code, that would support modplug,
but
User avatar
mnk
 
Posts: 77
Joined: 27 Mar 2008 10:50
Location: Ełk, Poland

Re: Query about MikMod usage

Postby Firebrand » 17 Feb 2011 14:59

Try wolfen, it's an old version that had some problems to be finished, I think I have fixed version somewhere, but it uses MOD music all around, you can get it from here: [url]http://www.doomworld.com/idgames/index.php?id=12365[/u
User avatar
Firebrand
 
Posts: 1000
Joined: 11 Feb 2004 08:12
Location: Mexico

Re: Query about MikMod usage

Postby mnk » 17 Feb 2011 21:30

An interesting quirk: if I play into 3rd level, once I try to portal back game crashes with following debug.txt:
[code]Dev: Spawning server map01
Log: - VEntity::RemoveFromTIDList
Log: - VEntity::DestroyThinker
Log:
User avatar
mnk
 
Posts: 77
Joined: 27 Mar 2008 10:50
Location: Ełk, Poland

Re: Query about MikMod usage

Postby mnk » 21 Feb 2011 20:20

Well, either SDL_mixer has taken over the moment MikMod got turned off (SDL_mixer is using modplug too - patches from upstream mercurial) or my file works (it even plays music on the first level). Is there a way to tell one way or the other ?

I'm not sur
User avatar
mnk
 
Posts: 77
Joined: 27 Mar 2008 10:50
Location: Ełk, Poland

Re: Query about MikMod usage

Postby Firebrand » 27 Feb 2011 17:39

The only way to tell if your code works fine, would be to make sure SDL mixer doesn't use MikMod to play music, or you could add some kind of CVar to force using ModPlug instead of SDL mixer for doing so.
User avatar
Firebrand
 
Posts: 1000
Joined: 11 Feb 2004 08:12
Location: Mexico

Re: Query about MikMod usage

Postby mnk » 28 Feb 2011 17:37

How does vavoom select the backend anyway ?
It not really clear to me - neither the method nor which backend has priority.

Any ideas about that crash ?

Also, not to nag, but any new ideas about [url=http://vavoom-engine.com/forums/viewtopic.
User avatar
mnk
 
Posts: 77
Joined: 27 Mar 2008 10:50
Location: Ełk, Poland

Re: Query about MikMod usage

Postby Firebrand » 03 Mar 2011 19:54

Vavoom didn't had any way of telling which output to use for music for any format, it seems to create a list of available codecs for music playing but it used the first one it found to play music, I've created a couple of CVars that allow selecting which
User avatar
Firebrand
 
Posts: 1000
Joined: 11 Feb 2004 08:12
Location: Mexico

Re: Query about MikMod usage

Postby mnk » 04 Mar 2011 02:07

Don't mention it.
I simply used the existing code both from here and from those hg patches of SDL_mixer.

Oh, I'm not enough of audiophile to tell, but this was one of the funnier quotes I found:
(found on
User avatar
mnk
 
Posts: 77
Joined: 27 Mar 2008 10:50
Location: Ełk, Poland

Re: Query about MikMod usage

Postby Firebrand » 07 Mar 2011 16:00

Yes, I thought the sound was better for MIDI files with ModPlug, I'll remove the possibility of using it for playing such files.

Since this has been implemented, I'll move it to the closed features suggestions.
User avatar
Firebrand
 
Posts: 1000
Joined: 11 Feb 2004 08:12
Location: Mexico


Return to Closed requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron