Language…
10 users online: codfish1002, eltiolavara9, GiraffeKiller, Ice Man, koffe190, LazyRuns, RicardoDeMelo, SirGabe, yoshi9429, YuriGamer - Guests: 263 - Bots: 412
Users: 64,795 (2,375 active)
Latest user: mathew

AddMusicY Made Easy for Porters (I swear)

ToolTutorial

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.


Usage

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 and template.spc 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:

Code
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

Code
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:

Code
;@@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

Happy porting!

Something I ported with the help of my script
this is great, tcdw! i hope this can inspire some others to port some great yi tracks

by the way, this oriental mountain port sounds tight.
Thanks for your reply!

I just fixed a FATAL issue: I accidentally hardcoded the MML file name to song.mml. Now, it should works fine when you specify other file name.

The upgrade is easy: Just replace these two files with new one.

Also, it's become an issue when AddMusicY ALWAYS exit with code 0 even there are some errors occurred. So, you should look stuff outputed from AddMusicY carefully when porting.
I can see this in future to be something similar to what AddMusicK is for SMW nowdays
keep up the good job tcdw #smrpg{y}
Thank you so much TCDW! I've wanted to try porting with this tool, but I couldn't figure out how to generate spcs. Admittedly, I didn't try very hard but it didn't look straightforward. I haven't tried your tool yet, but your instructions look easy enough. If I run into problems or questions, what's the best way to contact you? Discord?
Make more of less, that way you won't make less of more!
Originally posted by musicalman
Thank you so much TCDW! I've wanted to try porting with this tool, but I couldn't figure out how to generate spcs. Admittedly, I didn't try very hard but it didn't look straightforward. I haven't tried your tool yet, but your instructions look easy enough. If I run into problems or questions, what's the best way to contact you? Discord?

Thanks for your support! You can contact me with both Discord or PM.
It's so easy that I went to give a try myself, who knows... maybe i port some songs for YI?
Have a Listen of what i tried #smw{:TUP:}
While it's interesting to try, I do have a question: where do we get .mml files or do we have to make one?
Originally posted by Rykon-V73
While it's interesting to try, I do have a question: where do we get .mml files or do we have to make one?

Well, it's intended to be used by porters for faster music porting progress. As you can see, we don't have so many music ports for YI now. Maybe you can try to port songs yourself.

I actually recommend you start from SMW, then try to work with AddMusicY with the syntax reference included in AddMusicY Beta.

ToolTutorial