Offtopic: Into Commodore 64 (6502) coding, pixeling or music?
Xentax is looking for new members for the C64 activities!
Just drop us a message at forum@xentax.com and join the Scene Team!

Forum rules: Click here

Mechwarrior 2 SFL files

Get help on any and all audio formats, or chip in and help others!
Post Reply
Splynncryth
ultra-n00b
Posts: 1
Joined: Tue Jul 31, 2007 5:39 am

Mechwarrior 2 SFL files

Post by Splynncryth » Wed Aug 01, 2007 3:47 am

I'm trying to figure out the MW2 SFL file format. Some of the files appear to be a header with PCM data and what maybe cure points in the data (very odd looking ticks that look like they would be safe to discard). Others must be something else, but I don't have enough expertise to recognize what. I have a few sample files in the zip attached to this post.

Here is what I think I have worked out so far, it's not much :(
char[4]=SFLX;
uint16 EOFOffset; //add this to the current address to get pointer to the next file
uint16 EOHOffset; // end of header offset? For files containing PCM data, points to start of PCM data.
uint16? unknown1=0x0080; //Flags? It's been 0x0080 in all the fiels I've check so far.
uint16? unknown2; //I have no idea what this is for

Optional data appears to follow this in some cases. This is the set of offsets between the last value in the header and start of data so it could be a stripped down header for another audio format, cue information, etc.

The PCM data may also have cue points, there are odd ticks, typically one sample and no regular patter of distribution I can discern that can be safely removed. I'd liek to figure out is there is any ryme or reason to these as they will be harder to figure out in the encoded data unless they conform to a standard.
You do not have the required permissions to view the files attached to this post.

Post Reply