HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: kode54 on 2011-03-15 05:58:14

Title: TFMX decoder
Post by: kode54 on 2011-03-15 05:58:14
It decodes TFMX files. Not much else to say.

[Component page (http://www.foobar2000.org/components/view/foo_input_tfmx)]
Title: TFMX decoder
Post by: mister_tee on 2011-03-15 12:04:28
This is legen... -wait for it- dary! LEGENDARY
Thanks a lot, kode54, works like a charm! 
Title: TFMX decoder
Post by: FooJoe on 2011-03-17 19:49:33
Great work for this Component ! Now I can play my TFMX files with foobar2k.
I usually played them with the DeliPlayer (no more further developement).
I listened to some soundfiles and noticed some playback errors.

Is it possible to correct these errors ?

(I'm able to post a list or send the wrong sounding files.)




Title: TFMX decoder
Post by: kode54 on 2011-03-17 20:14:19
Probably a matter of adding the files which are the oldest or newest formats to the internal compatibility list. (Although some files are probably not fixable without adjusting the files themselves, such as the Turrican series loader tunes having missing drums due to a misplaced volume command.)
Title: TFMX decoder
Post by: deus-ex on 2011-03-18 17:45:05
Kode54,

thank you very much for creating this plugin. It has been quite a while since we last were able to listen to TFMX files with foobar2000. *thumb-up*

Are you aware that your plugin currently does not recognize the subsong flag of merged TFMX modules created with Peter's Winamp plugin In_TFMX? I.e. your plugin always plays the default subsong "0" while Peter's plugin allows to set any other subsong as the default song to be played. I have saved all Turrican, Turrican 2 and Turrican 3 subsongs each to a merged TFMX module. Let me know if I should provide you with example merged TFMX modules to check.

Are you planning to add a configuration interface sometimes, e.g. for adjusting the playback sample rate which currently defaults to 44100 Hz?
Thanks again for another fine plugin of yours.
Title: TFMX decoder
Post by: seVen on 2011-03-18 21:13:55
Greaaat! Thanks! 
Title: TFMX decoder
Post by: kode54 on 2011-03-19 00:39:34
It reads the default subsong, but there is no way to automatically play just that subsong, other than omitting all the others. Or equally bad, reordering them so that the default is the first, which would break if the user somehow changed the default.
Title: TFMX decoder
Post by: bolt on 2012-12-11 11:52:09
The duration seems fixed at 3 minutes flat, regardless of how long the song itself would be. Is it just because I missed something and can change myself, or intentional, or a bug?
Title: TFMX decoder
Post by: bolt on 2012-12-11 16:03:31
And then I discover the options for editing this. Too bad it took long enough that I can't edit or delete my previous post anymore, so mind the double post here.

edit: or not. I've no idea anymore.
Title: TFMX decoder
Post by: kode54 on 2012-12-12 06:49:04
You have to reload the information for the change to take a visible effect outside of playback.

The reason there is no length detection is because some songs loop in ways that make them appear to play forever, while others appear to end too soon. Length detection is not really easy to do reliably for this format.
Title: TFMX decoder
Post by: Nahkranoth on 2012-12-13 14:28:44
Hi kode54!

Is it possible for this decoder to play *.tfe files? Or the format is completely different? (Those are made with TFM Music Maker).

And it seems that the component doesn't expose *.mdat extension to the Shell Integration tab, although the files play fine.

Title: TFMX decoder
Post by: kode54 on 2012-12-14 00:28:54
I've added .TFMX, .TFX, and .MDAT to that list, so now File Open will list them, as well as Shell Integration.

I don't know about the .TFE files. Maybe you could upload or link to some so I can test them first?
Title: TFMX decoder
Post by: Nahkranoth on 2012-12-14 08:20:22
Thank you, kode54! 

*.tfe files can be played with Winamp's in_tfm.dll plugin.


Example files are here:

ftp://modland.ziphoid.com/pub/modules/TFM Music Maker/ (http://ftp://modland.ziphoid.com/pub/modules/TFM%20Music%20Maker/)

Sounds like Adlib or Sega Genesis FM-synthesis.

Title: TFMX decoder
Post by: kode54 on 2012-12-14 20:10:08
Unrelated format, and apparently undocumented. The author does provide a mechanism for exporting TFE files as VGM files with the sequence editor.

It seems the author has removed all traces of his Mega Drive related tools from his own site, so you may search here (http://gendev.spritesmind.net/forum/viewtopic.php?p=17445) for a mirror of whatever tools. You'll want some version of tfmmaker*.zip, which should be able to export to .VGM or .VGZ. If only the former, you can turn it into the latter simply by running it through gzip.
Title: TFMX decoder
Post by: deus-ex on 2012-12-15 10:27:49
Unrelated format, and apparently undocumented.

There's a format description included with the online help of the TFM Music Maker application. The application appears to be removed from the authors page for unknown reasons.
Several releases are available at the usual place: ftp://ftp.modland.com/pub/software/trackers/Windows/TFM%20Music%20Maker/
Title: TFMX decoder
Post by: kode54 on 2012-12-15 18:46:39
Still unrelated to TFMX. It's more likely to end up in foo_gep.
Title: TFMX decoder
Post by: trodas on 2014-08-26 10:52:24
I wonder, if I could use your plugin or any other tool determine the lenght of the TMFX tune.

That is need to integrate them into the TFM file, so they can be added into WinAMP list to play - w/o marked the lenght, they just repeat infinitively.

For my Turrican II tunes, I used the mp3 files or rips to determine the correct times (the WinAMP then play all the subsongs, one after another and the lenght is of all the subsongs included) ...

Results are there:
https://www.oboom.com/HTANIEN9 (https://www.oboom.com/HTANIEN9)
http://www.mediafire.com/?4aqvt49y1dm55il (http://www.mediafire.com/?4aqvt49y1dm55il)
https://www.inclouddrive.com/file/0aCQ8UZ3L...SrYm0Q/Turrican (https://www.inclouddrive.com/file/0aCQ8UZ3LiskzZipSrYm0Q/Turrican) II TMFX mods in tmf format.zip


But for Jim Power music I'm stuck. I cannot find any usable mp3 rip, so the only one way will be then to listen and stopwatch the time...?
Or is there any other way?

And the world 2 seems to be currupted or unsupported ... rest if fine, except for the playing time

https://www.oboom.com/6CQV3K5D (https://www.oboom.com/6CQV3K5D)
http://www.mediafire.com/?q4sxsp5qnl51g8a (http://www.mediafire.com/?q4sxsp5qnl51g8a)
https://www.inclouddrive.com/file/NnH8mFu5p5NKq7Z0EKHSHw/Jim (https://www.inclouddrive.com/file/NnH8mFu5p5NKq7Z0EKHSHw/Jim) Power TFMX soundtrack.zip


...any possible help with the times? Just knowing the times would greatly help me, as I'm only interesed in the world 2 and 5 tunes, maybe