TFM Music Maker

Talk about development tools here

Moderator: BigEvilCorporation

freezedream
Interested
Posts: 13
Joined: Tue Sep 29, 2009 6:08 am
Location: Adelaide, Australia
Contact:

Post by freezedream » Fri May 07, 2010 4:55 am

OK. Interesting. I thought of an obvious and simple way to fix the pitch problem. Just pitch down the whole track by 1 semitone and it's pretty close then.

How can one export TFD files via command line?

Shiru
Very interested
Posts: 786
Joined: Sat Apr 07, 2007 3:11 am
Location: Russia, Moscow
Contact:

Post by Shiru » Fri May 07, 2010 8:46 am

Read help.

Conleon
Newbie
Posts: 1
Joined: Mon Jun 21, 2010 4:44 pm

Post by Conleon » Mon Jun 21, 2010 4:48 pm

..I've been browsing the forums for a very long time , and recently i tried this wonderful tool & im really impressed with it ,
so i thought it was a great chance to register and say a huge thanks for making this! :D

Wiz
Newbie
Posts: 3
Joined: Tue Mar 06, 2007 3:11 am

Post by Wiz » Wed Jun 30, 2010 7:42 pm

(Been lurking for more than 3 years now and this is my first post, so err ... Hi ! I love you guys ! :D )

Shiru (yeah I love you too :o), I'd like to make a small converting tool, from TFM MM editable modules (*.tfe format) to another MD sound driver format (Cube/Iwadare), for a Shining Force hacking community.

I'm currently trying to read TFE files thanks to TFM MM's help file (v1.4, the english section ;) ) and I believe your description is not 100% accurate, as I find variable length where it is not supposed to be variable, and then the described offsets are wrong.

I can try to guess the format but before making unnecessary efforts I wanted to make sure about something : you don't have some more complete and up to date documentation about it, do you ?

If not, then I might have to go into more detailed questions :P ... But basically, I just need to know how to find offsets for raw data (order list, instruments and patterns).

Thanks !

Shiru
Very interested
Posts: 786
Joined: Sat Apr 07, 2007 3:11 am
Location: Russia, Moscow
Contact:

Post by Shiru » Wed Jun 30, 2010 8:10 pm

Check Uwol's source code, /tools_src/wyz2tfm/mod_loadsave.h - it has the code from the editor, which saves the modules.

Wiz
Newbie
Posts: 3
Joined: Tue Mar 06, 2007 3:11 am

Post by Wiz » Wed Jun 30, 2010 9:08 pm

Ok, I see that most fields are RLE compressed actually, I get it now. And mod_rle.h has everything I need to get how it works, so that should do the trick.

Thank you ! :)

Shiru
Very interested
Posts: 786
Joined: Sat Apr 07, 2007 3:11 am
Location: Russia, Moscow
Contact:

Post by Shiru » Wed Jun 30, 2010 9:16 pm

The module is actually compressed entirely, as single binary stream, without division by fields (except for signature).

Wiz
Newbie
Posts: 3
Joined: Tue Mar 06, 2007 3:11 am

Post by Wiz » Wed Jun 30, 2010 10:29 pm

OOooohhhh now I realize my mistake. I misunderstood your documentation because I thought only raw data chunks were individually RLE compressed.

But the whole file is RLE compressed, and your offsets actually describe the file once it is RLE uncompressed.

Ahah ! Your format description looks so clear now, I wonder how I could understand it otherwise :)

rhysredwhyne11
Newbie
Posts: 2
Joined: Tue Apr 05, 2011 5:39 pm
Location: GB

This might sound a bit ridiculous but...

Post by rhysredwhyne11 » Tue Apr 05, 2011 5:42 pm

How do I change the instrument? I open a new one from my files and select it from the instrument tab, then use it, but when I repeat this process to make a different sound the instrument won't change. PLEASE HELP, I'm very much a beginner.

Thanks

Rosie

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Tue Apr 05, 2011 6:16 pm

There is an instrument column in the pattern part, next to volume column. Number spcifies what instrument to load or what volume to set. You can see how to use them from the example files.
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

rhysredwhyne11
Newbie
Posts: 2
Joined: Tue Apr 05, 2011 5:39 pm
Location: GB

Post by rhysredwhyne11 » Tue Apr 05, 2011 6:24 pm

Thanks, I think I'm starting to get the hang of it now.

Cheers for getting back to me :)

Shiru
Very interested
Posts: 786
Joined: Sat Apr 07, 2007 3:11 am
Location: Russia, Moscow
Contact:

Post by Shiru » Mon Jun 13, 2011 11:33 am

TFM Music Maker v1.5

Code: Select all

+ SMPS instruments format support
+ Exchange channels in the pattern menu has not worked
+ Quoted parameters in the command line have not worked
+ Selection of the row number to highlight
+ Current directories now remembers correctly
+ When export a file, a filename is entered automatically
+ BPM display
+ Option to switch off the volume fade out for WAV export
+ Option to move the cursor horizontally when enter a parameter into the
  pattern
+ Numberic keys sticking in the instrument editor is fixed
+ 'Editor' window is renamed to 'Preferences'
+ YM2203 code is now in an external DLL
+ Speed interleaving has been messed sometimes after click on the order
  list while the music plays
+ TFD export code is completely rewritten, to fix the unstable export problem,
  and also to make files smaller
+ Algorithm preview when hovering the mouse cursor on a button
+ Replacement of reserved characters in the filename when saving an instrument
+ Group save for instruments
+ TL modification for an instrument or group (changes the volume)
+ Automatic backup of previous version when saving a module
+ Undo/Redo
+ Other changes and fixes
And of course, some brand new bugs are probably there too. Don't rely on the undo too much, report if something that should be undoable is not.

Shiru
Very interested
Posts: 786
Joined: Sat Apr 07, 2007 3:11 am
Location: Russia, Moscow
Contact:

Post by Shiru » Mon Jun 20, 2011 4:50 am

TFM Music Maker v1.51. Previous version was seriously broken, no one reported about it.

Code: Select all

* Background in the preview window has not erased with reducing of the font size
* Selection highlight has not taken row highlight settings into account
* Fadeout option for WAV export worked from the editor only
* WAV export from command line has been broken
* Scale slots TL feature has not worked properly
* Undo for operations that altered whole module has not worked
* Current pattern has been not updated with changing order position
* Changing instrument parameters with numberic key has not worked

Chilly Willy
Very interested
Posts: 2984
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy » Mon Jun 20, 2011 9:40 pm

Been very busy and didn't have time to check it.
:oops:

Shiru
Very interested
Posts: 786
Joined: Sat Apr 07, 2007 3:11 am
Location: Russia, Moscow
Contact:

Post by Shiru » Wed Jun 22, 2011 12:31 pm

You can consider this project obsolete now.

Post Reply