While I've haven't (yet!) made a ROM hack myself, I've been playing hacks and watching Barb, Dode, Ldad, Panga and others on Twitch for a few years now. I have an idea for a machine learning project to use neural networks to build SMW levels (think randomly generated levels). I would like to use levels hosted here as input data.
I would like to learn enough ASM to do the following:
* download a patch
* read the patch (into Lunar Magic? into a text editor? not sure here.)
* map each tile of a level to a number (or possibly character). For example ground = 1, air = 2, block = 3, Goomba = 4... etc.
* encode a level as a rectangular array of said numbers
* write that array to a csv file (just a comma separated values file, or text file where the values are separated by commas)
All the tutorials I can find here are directed to people wanting to make their own hacks (for good reason, of course!), but if anyone could recommend a resource that can help me learn just enough ASM to make some functions to encode the tiles, to read in the patch, to write to csv, then I would be terrifically grateful!