Qhimm.com Forums

Miscellaneous Forums => Scripting and Reverse Engineering => Topic started by: smf052910 on 2010-06-21 21:16:09

Title: [FF8]MIDI Segments
Post by: smf052910 on 2010-06-21 21:16:09
I'm fairly sure FF8 uses DirectMusic to play the MIDI segments. The question at hand is whether or not it would be worth going through the trouble to wrap the DirectMusic interface (through EAX) to play MP3s.

So, would it be worth the trouble, and would the community benefit from this?
Title: Re: [FF8]MIDI Segments
Post by: pyrozen on 2010-06-21 21:19:52
honestly, the handful of FF8 people around here woud appreciate it, but you'd have a much larger impact if you could remake a program similar to FF7music. FF7music is very hacky, and while it does work i would hardly call it a solution.

If your deadset on FF8 though, i say go for it. Right now FF8 has very minimal modifications, and even less programs to do it with.
Title: Re: [FF8]MIDI Segments
Post by: smf052910 on 2010-06-21 21:26:17
I'm not familiar with how that program works, but I'll take a look and see if it's plausible. If even one person would benefit it's good enough for me.
Title: Re: [FF8]MIDI Segments
Post by: pyrozen on 2010-06-21 22:31:39
excellent! we have a couple of resident programmers who code apps for FF7/FF8 and it's always nice to see a new face!
Title: Re: [FF8]MIDI Segments
Post by: Kranmer on 2010-06-21 22:45:17
Sounds like an interesting project, a way of playing MP3's in FF8 as already been done though i believe, but its always nice to see new people getting interested in these things, And if you can come up with another method of using MP3's in FF8 then thats good as well (just because 1 method already exists doesn't mean progress stops there), plus the current method isnt universal so if you could make one that is, that would be even better, anyway good luck with this.
Title: Re: [FF8]MIDI Segments
Post by: smf052910 on 2010-06-21 22:57:13
Could you elaborate more about the current method?

Currently, I am wrapping EAX and detouring CoCreateInstance. The only limitations, because I am using MS Detours 2.1 Express, are 64-bit operating systems. I had planned to mute or even stop the playback of MIDI segments and use a different interface (DirectShow, for example) to play MP3s.

Is what I'm doing different than what is already being done, and if so, how?
Title: Re: [FF8]MIDI Segments
Post by: Kranmer on 2010-06-21 23:22:28
well i dont really use it so i dont know exactly how it works, but the original thread is at
http://forums.qhimm.com/index.php?topic=8734.msg129440
Title: Re: [FF8]MIDI Segments
Post by: smf052910 on 2010-06-22 02:16:00
It appears he hasn't been active for quite some time now. I remember testing this and being disappointed, which is what initially sparked my interest. I had assumed this to be incomplete, which is why I didn't consider it to be a confirmed method. Wrapping the DirectMusic interface should be much more flexible and allow for more control.
Title: Re: [FF8]MIDI Segments
Post by: Timber on 2010-06-22 07:36:14
honestly, the handful of FF8 people around here woud appreciate it, but you'd have a much larger impact if you could remake a program similar to FF7music. FF7music is very hacky, and while it does work i would hardly call it a solution.

I second this, while I would like MP3's in FF8, I would LOVE a better solution for FF7. FF7Music just doesn't work well enough.
Title: Re: [FF8]MIDI Segments
Post by: smf052910 on 2010-06-22 08:06:38
I think one of the biggest hurdles to overcome will be creating a custom Loader, for DirectMusic, to play MP3s. I could use a third party library or DirectShow, but I want to use the same interface.
Title: Re: [FF8]MIDI Segments
Post by: pyrozen on 2010-06-22 19:44:39
i know currently that FF7music uses the DLLs that come with winamp to load MP3s. Not sure if it is any help to you though, i know nothing about things such as this.
Title: Re: [FF8]MIDI Segments
Post by: Adhira on 2010-06-26 00:57:33
Just writing to say i'd be really, really grateful if you managed to get this done for FF8! It's too bad Detours Express 2.1 needs a pro version for x64, ima try to look around and see if i get my hands on it, if you want, but i can't help more than that currently...
Title: Re: [FF8]MIDI Segments
Post by: smf052910 on 2010-06-26 01:09:02
I haven't started yet, but I will eventually. I need to learn more about DirectMusic before I even attempt to tackle this project.