Page 1 of 1

Help Needed For Extracting Music From Videogame

Posted: Sun Nov 19, 2023 2:43 pm
by Gordinator
I was browsing through my downloaded files and found something I hadn't seen in a while, and thought it'd be a good thing to try.
HOVER! is a game slash demo released with CD versions of Windows 95. It's available all over the place, and it's really good.

However, something I noticed was that the music files appear to be in a proprietary format. Because the music is really good, and I want to listen to it in the highest fidelity possible, I thought I'd try somehow extracting the music.

Unfortunately, I have no idea how to do that, so I'm enlisting the help of the KC Forums. Here's what I have so far.

I have uploaded the music files to my personal website in case you don't have a copy and want to give ripping the music a try: https://winfan3672.codeberg.page/etc/HoverMusic/.

Also, the hexdump (seen below) does seem to suggest that the file format is RIFF, which doesn't bode well for me, as that's a generic container format.

Code: Select all

00000000  52 49 46 46 60 ba 01 00  4d 49 44 53 66 6d 74 20  |RIFF`...MIDSfmt |
00000010  08 00 00 00 c0 00 00 00  00 10 00 00 64 61 74 61  |............data|
00000020  44 ba 01 00 1c 00 00 00  00 00 00 00 fc 0f 00 00  |D...............|
00000030  00 00 00 00 00 00 00 00  61 50 06 01 00 00 00 00  |........aP......|
00000040  00 00 00 00 cf 50 00 00  00 00 00 00 00 00 00 00  |.....P..........|
If anyone can find a way to rip the music into something like a WAV file, please get back to me. Thanks in advance and I hope you have a nice day.

Re: Help Needed For Extracting Music From Videogame

Posted: Sun Nov 19, 2023 8:57 pm
by MattKC
Ahh Hover, I love that game! I've been wanting to do something with it for a while, but I've obviously got a lot of other things going on right now.

As for the file you're looking at, could it be an RMI? Basically a RIFF-based MIDI format created by Microsoft (I believe the actual data is more or less the same as the standard MIDI format, just wrapped in a RIFF container).

Re: Help Needed For Extracting Music From Videogame

Posted: Mon Nov 20, 2023 9:38 am
by unsimp
after doing a bit of googling the magic MIDSfmt, gave me this link https://www.vgmpf.com/Wiki/index.php?title=MDS for the "Midi stream" format It matches the time period and the header also matches. it can be played with foobar and winamp. Here is a player for it from the doomlegacy source https://sourceforge.net/p/doomlegacy/sv ... mid2strm.c

Re: Help Needed For Extracting Music From Videogame

Posted: Mon Nov 20, 2023 9:51 am
by unsimp
seems like its not entirely MDS as MIDIPLEX dosent seem to want to load it due to chunk sizes being weird (the format chunk is bigger than 12 bytes hmm ). Ill try and see if i can use the Midiplex source code and force it to load but im in school rn so i cant lol

Re: Help Needed For Extracting Music From Videogame

Posted: Sun Dec 03, 2023 12:14 pm
by Gordinator
unsimp wrote: Mon Nov 20, 2023 9:51 am seems like its not entirely MDS as MIDIPLEX dosent seem to want to load it due to chunk sizes being weird (the format chunk is bigger than 12 bytes hmm ). Ill try and see if i can use the Midiplex source code and force it to load but im in school rn so i cant lol
Hi,

I just wanted to ask if any progress has been made on that front since we last spoke, as it has been some time since you updated your progress.

(NOTE TO SELF: Re-word that to be less formal)

Re: Help Needed For Extracting Music From Videogame

Posted: Fri Mar 21, 2025 8:34 pm
by Gordinator
Earlier today I randomly remembered this post and decided to give converting the MDS into MIDI files. Turns out Foobar2000 has a plugin that allows for converting a MDS file into General Midi, so I have done exactly that. The files are on my personal website's FTP server: https://ftp.gordinator.org/HoverMusic/

This really turned out to be simpler than expected. Oh well, sometimes life surprises you.

Re: Help Needed For Extracting Music From Videogame

Posted: Fri Mar 21, 2025 8:35 pm
by Gordinator
Also GAAAH I joined this forum two years ago where did the time go!?

Re: Help Needed For Extracting Music From Videogame

Posted: Sat Mar 22, 2025 7:22 am
by MonkeyMan
Hello! Just grabbed these midis and recorded the output of my sc55 mkii, if anyone wants em theyre here!

https://pixeldrain.com/u/wBTWGEC8 - MUSIC1.MID
https://pixeldrain.com/u/trsM1xsB - MUSIC2.MID
https://pixeldrain.com/u/NDUJuwAi - MUSIC3.MID

Re: Help Needed For Extracting Music From Videogame

Posted: Fri Apr 04, 2025 9:33 pm
by Gordinator
MonkeyMan wrote: Sat Mar 22, 2025 7:22 am Hello! Just grabbed these midis and recorded the output of my sc55 mkii, if anyone wants em theyre here!

https://pixeldrain.com/u/wBTWGEC8 - MUSIC1.MID
https://pixeldrain.com/u/trsM1xsB - MUSIC2.MID
https://pixeldrain.com/u/NDUJuwAi - MUSIC3.MID
That sounds a LOT closer to how I remember it than I was able to reproduce. Then again it's been so long that I don't remember, since Wine doesn't seem to implement enough APIs to play the MIDI streams.