Skip to main content

Topic: TFMX decoder (Read 9983 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • kode54
  • [*][*][*][*][*]
  • Administrator
TFMX decoder
It decodes TFMX files. Not much else to say.

[Component page]

TFMX decoder
Reply #1
This is legen... -wait for it- dary! LEGENDARY
Thanks a lot, kode54, works like a charm! 

  • FooJoe
  • [*]
TFMX decoder
Reply #2
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.)





  • kode54
  • [*][*][*][*][*]
  • Administrator
TFMX decoder
Reply #3
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.)

  • deus-ex
  • [*][*][*][*]
TFMX decoder
Reply #4
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.
Best regards
deus-ex (MODLAND co-admin: ftp://ftp.modland.com)

  • seVen
  • [*][*]
TFMX decoder
Reply #5
Greaaat! Thanks! 

  • kode54
  • [*][*][*][*][*]
  • Administrator
TFMX decoder
Reply #6
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.

  • bolt
  • [*]
TFMX decoder
Reply #7
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?

  • bolt
  • [*]
TFMX decoder
Reply #8
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.
  • Last Edit: 11 December, 2012, 11:27:55 AM by bolt

  • kode54
  • [*][*][*][*][*]
  • Administrator
TFMX decoder
Reply #9
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.

  • Nahkranoth
  • [*][*]
TFMX decoder
Reply #10
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.


  • kode54
  • [*][*][*][*][*]
  • Administrator
TFMX decoder
Reply #11
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?

  • Nahkranoth
  • [*][*]
TFMX decoder
Reply #12
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/

Sounds like Adlib or Sega Genesis FM-synthesis.


  • kode54
  • [*][*][*][*][*]
  • Administrator
TFMX decoder
Reply #13
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 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.
  • Last Edit: 14 December, 2012, 03:17:42 PM by kode54

  • deus-ex
  • [*][*][*][*]
TFMX decoder
Reply #14
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/
Best regards
deus-ex (MODLAND co-admin: ftp://ftp.modland.com)

  • kode54
  • [*][*][*][*][*]
  • Administrator
TFMX decoder
Reply #15
Still unrelated to TFMX. It's more likely to end up in foo_gep.

  • trodas
  • [*]
TFMX decoder
Reply #16
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
http://www.mediafire.com/?4aqvt49y1dm55il
https://www.inclouddrive.com/file/0aCQ8UZ3L...SrYm0Q/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
http://www.mediafire.com/?q4sxsp5qnl51g8a
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