Conversion tool for VGM files holding Lynx music to Lynx cartridge images with simple player.
Use CMake. Requires C++17
To recompile vgmplay.asm
use mads and HAMLET similarly to:
mads vgmplay.asm
HAMLET vgmplay.obx vgmplay.bin
xxd -i vgmplay.bin > vgmplay.h
VGM2LNX input.vgm [output.lnx]
If output file is missing, input file is taken with replaced extension to .lnx
Tool does not check whether output file exceeds 512 kB. Generated image won't behave properly in such scenario.