Recently I want to try porting music with AddMusicY, but the way to get your SPC is too awkward. So, I wrote my own script to make things automatic.
As you can see, I can build the mml.bin and SPC file, then open the SPC player automatically with a single command. If you load previous commend with up arrow key
, you would get AddMusicK's porter mode like experience when porting stuff.
1. Get Node.js
2. Get AddMusicY Made Easy
and AddMusicY beta
3. Download the repository with GitHub's Download ZIP feature, unzip it, and copy porter.js
into your AddMusicY directory
4. Open terminal, and change your working directory to your AddMusicY directory. If you using Windows, you can actually hold Shift key and right click in the directory, then you can simply launch the terminal from your directory via something like "Open Powershell here"
5. Run command:
node porter.js MML File Name of Your Song
for example, if your song is located in your AddMusicY directory, and called "derp.mml", your commend world be
node porter.js derp.mml
Also, the file name shouldn't contain any spaces, or AddMusicY won't recognize.
Then, all of the things will be handled automatically, and your generated SPC will be opened with your preferred SPC player.
You can also define your SPC ID666 tags with these special syntax:
;@@title song title, 32 characters max
;@@game game title, 32 characters max
;@@artist artist's name, 32 characters max
;@@dumper dumper's name, 16 characters max
;@@comments comments, 32 characters max
;@@length music length in seconds, 999 seconds max
;@@fadeout music fadeout in milliseconds, 99999 milliseconds max
Something I ported with the help of my script