you must have OpenMSX emulator.
MBFM (moonblaster FM editor).

copy vgmrec.tcl file into your .../OpenMSX/share/scripts/

then run the emulator

open MBFM tracker, load your song.

open the emulator command console, and invoke the script typing:

vgm_startrec

fastly close the command console and start playing the song in the tracker.

(do that as fast as possible)

just before the song ends,

open again the command console and type:

vgm_stoprec

after this a file appears next to the OpenMSX.exe file, in the main openmsx directory.

rename that file to song#.fm

where # is the song number, which depend of what you want to change.

Be sure the recorded file is <= 64K, it bigger won't work.





SONG NUMBERS
-------------


1 up to 3   = MAP songs. The song is selected accourding where the checkpoint tile position in the map X/Y is... its X bit 0, and Y bit 0 will control the 1-4 numbering.

x bit 0, y bit 0 = Song1.fm
x bit 1, y bit 0 = Song2.fm
x bit 0, y bit 1 = Song3.fm
x bit 1, y bit 1 = Song4.fm

The main screen uses song5.fm
the game over screen uses song6.fm
the want to continue screen uses song7.fm
the monster room uses song8.fm
the credits/end game screen uses song9.fm













