vgmrips

The forum about vgm files
It is currently 2017-08-22, 7:16:43

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: CMF to VGM?
PostPosted: 2012-10-25, 14:52:10 
Offline

Joined: 2011-11-30, 17:26:44
Posts: 454
Location: Italy
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.

_________________
My webhost decided to shut down most of my webspace without a warning. If you find any broken Digilander link in any of my posts (basically all of them should be), please inform me.


Top
 Profile  
 
 Post subject:
PostPosted: 2012-10-25, 15:20:53 

Musicians Musicians
Contributors Contributors
Offline

Joined: 2012-09-29, 11:45:48
Posts: 205
Location: Australia
List of games from Epic Megagames/Safari Software that used CMF music (mostly composed by Dan Froelich):



There's probably more but I don't have them on me. :) (I'm sure you could easily source the CMF's, I have them on hand but i forgot to categorise them :oops:) EDIT: Here, unsorted: https://dl.dropbox.com/u/1287967/danfroelich%20cmf.rar

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

_________________
-dj.tuBIG/MaliceX


Last edited by MaliceX on 2012-10-25, 16:01:32, edited 3 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: 2012-10-25, 15:39:35 
Offline

Joined: 2011-11-30, 17:26:44
Posts: 454
Location: Italy
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.

_________________
My webhost decided to shut down most of my webspace without a warning. If you find any broken Digilander link in any of my posts (basically all of them should be), please inform me.


Top
 Profile  
 
 Post subject:
PostPosted: 2012-10-25, 15:47:45 

Musicians Musicians
Contributors Contributors
Offline

Joined: 2012-09-29, 11:45:48
Posts: 205
Location: Australia
See the unsorted archive in the archive. Alternatively, look at the .ddt files on the game files. ;)

_________________
-dj.tuBIG/MaliceX


Top
 Profile  
 
 Post subject:
PostPosted: 2012-10-25, 15:48:56 
Offline

Joined: 2011-11-30, 17:26:44
Posts: 454
Location: Italy
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 ;)

_________________
My webhost decided to shut down most of my webspace without a warning. If you find any broken Digilander link in any of my posts (basically all of them should be), please inform me.


Top
 Profile  
 
 Post subject:
PostPosted: 2012-10-25, 15:59:36 

Musicians Musicians
Contributors Contributors
Offline

Joined: 2012-09-29, 11:45:48
Posts: 205
Location: Australia
WinRipper'd the Highway Hunter CMF's just now and upped in my post. Some of the CMF's crash AdPlug for some reason though. :s

_________________
-dj.tuBIG/MaliceX


Top
 Profile  
 
 Post subject:
PostPosted: 2012-10-25, 18:55:22 
Offline

Joined: 2011-11-30, 17:26:44
Posts: 454
Location: Italy
Another game that uses CMF files is "Traffic Department 2192", by Safari Software. I added it to the RAR file.

_________________
My webhost decided to shut down most of my webspace without a warning. If you find any broken Digilander link in any of my posts (basically all of them should be), please inform me.


Top
 Profile  
 
 Post subject:
PostPosted: 2012-10-25, 22:30:47 

Staff Staff
Programmers Programmers
Musicians Musicians
Contributors Contributors
Online
User avatar

Joined: 2011-12-01, 20:20:07
Posts: 2772
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
Code:
If (song_is_not_playing) Then
    PlaySong()
End If

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.


Top
 Profile  
 
 Post subject: Re: CMF to VGM?
PostPosted: 2014-06-22, 20:19:44 
Offline

Joined: 2014-06-20, 18:02:46
Posts: 4
Location: The Netherlands
Thanks!
Kiloblaster and Xargon have more music files in my copy, maybe shareware versus registered versions?


Top
 Profile  
 
 Post subject:
PostPosted: 2017-03-26, 20:34:50 

Contributors Contributors
Smack talkers Smack talkers
Offline

Joined: 2016-12-27, 3:21:40
Posts: 54
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.


Top
 Profile  
 
 Post subject:
PostPosted: 2017-04-01, 4:45:56 
Offline
User avatar

Joined: 2015-06-08, 20:42:22
Posts: 30
Location: Argentina
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.

Thank you for doing so much DOS stuff! :mrgreen:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group