nsf2vgm

This is a small command line tool that converts NSF files into VGM 1.61 
file format. Unlike NSF, which is a chunk of 6502 code and music data 
that requires to emulate a good portion of the NES hardware in order to 
play, VGM is just a linear, easy to parse register dump. The tool also 
supports human readable plain text export format. This is supposed to be 
useful for demoscene productions, or some automated low level analytics 
of the NES music. 

Please note that at this moment the tool is intended to work with 
FamiTracker produced files only. Other NSF file sources may not work 
correctly. There is no expansion chips support too, because the latest 
version of the VGM file format does not seem to consider them. 



Usage: nsf2vgm [options] file.nsf [file.vgm]

-s N selects a sub song within a given NSF file
-a processes all sub songs (default)
-c stop processing at C00 command in FamiTracker (which is a $4015 change)
-d NNN is time in seconds before processing stops (180 seconds by default)
-p force PAL
-n force NTSC (default)
-f set format, -fv (VGM, default), -ft (plain text)

VGM format specs found at http://www.smspower.org/Music/VGMFileFormat



History

v1.1 06.11.19 - Bankswitching support added
v1.0 06.11.19 - Initial release, 2A03 only, VGM and plain text output support


Mail:	 shiru@mail.ru
Web:     http://shiru.untergrund.net
Support: https://www.patreon.com/shiru8bit