So, a few hours ago I was looking for more PC games with good soundtracks to make VGM rips of them, and I found an old CD with some Epic Megagames on it. While checking the files, I noticed that Epic often used standard CMF files, although with different extensions, but still easily recognizable by the well-known "CTMF" signature and the MIDI-like file structure.
As an experiment I wanted to see if vgmplay.exe could play those, and to my surprise it worked :O
So, I wonder how feasible a cmf2vgm converter would be, it would be useful to create VGM rips of some Epic Megagames without dumping and trimming and whatnot.
I include the CMF files (with proper extensions) from six random games here: http://dl.dropbox.com/u/17315175/cmf.rar
I like brix\SFILE3.cmf, for example.
CMF to VGM?
Technical discussion about the VGM format, and all the software you need to handle VGM files.
Moderator: Staff
CMF to VGM?
Also known as nineko.
List of games from Epic Megagames/Safari Software that used CMF music (mostly composed by Dan Froelich):
While there were a few good tunes here and there, Brix II I think was the worst soundtrack of them all (though I didn't like much of Dan Froelich's music to begin with). Wouldn't it be enough to simply play back the CMFs in DOSBOX and dumping them that way?
NB: Oddly enough there's a ROL2CMF converter as well and it seems to lose a lot of data in the process as well...mainly pitch modulation stuff.
EDIT: In the meantime, here's the ripped CMF soundtrack to Pea Shootin' Pete (Dan Froelich, David Bredesen): https://dl.dropbox.com/u/1287967/pea%20 ... %20cmf.zip
- Jill of the Jungle (1/2/3)
- KiloBlaster (1/2/3)
- Solar Winds (I/II)
- Traffic Department 2192 (Alpha/Beta/Gamma) *composed by Robert Allen and Michael Pallett-Plowright* : https://dl.dropbox.com/u/1287967/TD2192%20cmf.zip
- Brix (1/2)
- Xargon (1/2/3)
- Highway Hunter *composed by Serge Shishkin* : https://dl.dropbox.com/u/1287967/Highwa ... %20cmf.zip Does not seem to all play?
While there were a few good tunes here and there, Brix II I think was the worst soundtrack of them all (though I didn't like much of Dan Froelich's music to begin with). Wouldn't it be enough to simply play back the CMFs in DOSBOX and dumping them that way?
NB: Oddly enough there's a ROL2CMF converter as well and it seems to lose a lot of data in the process as well...mainly pitch modulation stuff.
EDIT: In the meantime, here's the ripped CMF soundtrack to Pea Shootin' Pete (Dan Froelich, David Bredesen): https://dl.dropbox.com/u/1287967/pea%20 ... %20cmf.zip
Last edited by MaliceX on 2012-10-25, 16:01:32, edited 3 times in total.
-dj.tuBIG/MaliceX
Disregard what I wrote before, I was doing something wrong.
CMF files from "Jill Of The Jungle" and "Solar Winds" have been added to the archive in my previous post.
CMF files from "Jill Of The Jungle" and "Solar Winds" have been added to the archive in my previous post.
Also known as nineko.
Yes I was doing a very stupid mistake, I edited my previous post (you just don't see that because I have mod powers), and I added two more games in the archive in the first post too
Also known as nineko.
Another game that uses CMF files is "Traffic Department 2192", by Safari Software. I added it to the RAR file.
Also known as nineko.
- ValleyBell Offline
- Posts: 4823
- Joined: 2011-12-01, 20:20:07
- Location: Germany
CMF2VGM would be a nice idea, but there're 2 things:
1. If I write one, it has to behave exactly the same as Creative's CMF driver.
2. It may be possible, that some games use their own CMF engines. Most of them don't seem to need SBFMDRV.COM - is the CMF engine compiled into the games?
I was able to find the string "FMDRV" in the EXE of "Dyna Blaster", but not in "In Search of Dr. Riptide". (I wasn't able to find anything about it in its RAM either.)
I have rips of both games, btw. I also cracked Riptide's archive format a while ago.
3. PLAY.EXE doesn't loop the songs and the DYNA.EXE loops only certain songs. I guess this works like
Conclusion: I'd prefer a direct game rip, if possible, especially if the songs loop. Also the CMF players act strangely after the song ends (they sort of reset the chip). It sounds better ingame.
btw: The Highway Hunter CMFs are very interesting. The all contain track/instrument names and lots of other things including something that looks like executable code.
Some of them crash VGMPlay, too and don't even play with Creative's offical CMF player. (SBFMDRV.COM + PLAY.EXE)
In 123_0010.CMF the MIDI data pointer points to 0x115E, but the file has only 0x101C bytes. (I guess that's the case with all not-working CMF files.)
Files with an incorrect MIDI data offset are: _0000, _0006, _0009, _0010. _0007 seems to contain some directory names.
1. If I write one, it has to behave exactly the same as Creative's CMF driver.
2. It may be possible, that some games use their own CMF engines. Most of them don't seem to need SBFMDRV.COM - is the CMF engine compiled into the games?
I was able to find the string "FMDRV" in the EXE of "Dyna Blaster", but not in "In Search of Dr. Riptide". (I wasn't able to find anything about it in its RAM either.)
I have rips of both games, btw. I also cracked Riptide's archive format a while ago.
3. PLAY.EXE doesn't loop the songs and the DYNA.EXE loops only certain songs. I guess this works like
Code: Select all
If (song_is_not_playing) Then
PlaySong()
End If
btw: The Highway Hunter CMFs are very interesting. The all contain track/instrument names and lots of other things including something that looks like executable code.
Some of them crash VGMPlay, too and don't even play with Creative's offical CMF player. (SBFMDRV.COM + PLAY.EXE)
In 123_0010.CMF the MIDI data pointer points to 0x115E, but the file has only 0x101C bytes. (I guess that's the case with all not-working CMF files.)
Files with an incorrect MIDI data offset are: _0000, _0006, _0009, _0010. _0007 seems to contain some directory names.
- witchspace Offline
- Posts: 4
- Joined: 2014-06-20, 18:02:46
- Location: The Netherlands
Re: CMF to VGM?
Thanks!
Kiloblaster and Xargon have more music files in my copy, maybe shareware versus registered versions?
Kiloblaster and Xargon have more music files in my copy, maybe shareware versus registered versions?
- NewRisingSun2 Offline
- Posts: 54
- Joined: 2016-12-27, 3:21:40
I made a CMF2VGM utility that runs under DOSBox, using SBFMDRV of a user-chosen version. Source code is included. Read CMF2VGM.TXT for instructions on how to use the program.
- kyusawamura Offline
- Posts: 33
- Joined: 2015-06-08, 20:42:22
- Location: Argentina
- Contact:
Thank you for doing so much DOS stuff!NewRisingSun2 wrote:I made a CMF2VGM utility that runs under DOSBox, using SBFMDRV of a user-chosen version. Source code is included. Read CMF2VGM.TXT for instructions on how to use the program.