- #!/bin/bash
- sdlBrt converter_a_1j.sdlbas song.csv 6 > 1a.txt
- sed 's/]/]\n/g' 1a.txt > 1b.txt
- sed -r '/^\s*$/d' 1b.txt > 1c.txt
- cat 1c.txt | grep -wv nul > 1d.txt
- sdlBrt converter_b_ym2612_1b.sdlbas 1d.txt > 1e.txt
- cat 1e.txt | cut -f1 -d";" > 1f.txt
- xxd -r -p 1f.txt song.vgm
- mkdir _debug_
- mv 1*.txt _debug_/
- vgmplay song.vgm
- #rm song.vgm
- #rm _.hex
|