News:

Don't forget to visit the main site! There's lots of helpful docs, patches, and more!

Main Menu

Super Metroid Path Generator

Started by Raccoon Sam, December 12, 2018, 01:31:56 PM

Previous topic - Next topic

Raccoon Sam

How to use:
https://youtu.be/eskg6zGOzl4


Long story short – it was recently discovered that the Evirs before the Draygon fight spell out "Keiko love" before disappearing.
https://www.youtube.com/watch?v=G5ZhziJY_jo
This prompted me to look a bit deeper into the movement data and it turns out, a few things in the game share the same format; at least Phantoon's ∞-pattern, Spore Spawn Spore, Botwoon and the aforementioned Evirs have their movement defined the same way.
Basically, the game reads a large array of byte pairs as signed integers; the first byte for X movement and the second one for Y movement. Editing this by hand/via hex editor is tiresome, so I did something that converts an SVG path to this type of movement data. It's hosted on Codepen so it's an online tool and you can fork it too.
https://codepen.io/vervalkon/full/oJXPgz

DEMO:
Here is a path I drew in Adobe Illustrator (but you could use InkScape or any SVG authoring software too really):


I typed 42E to the Byte amount field, then copied the art to my clipboard (I could've saved it as SVG too, then I would've just copied the SVG code text but whatever) and pasted it into the paste field. I previewed the movement and it looked good, so I pushed Save. I copied the output and pasted it into 0x13E3D0, saved the ROM and got exactly what I wanted:
https://youtu.be/e18uJTG_ny0

Quote from: you just now, probablywait a minute, how did you know phantoon movement is at 0x13E3D0 and is exactly 0x42E bytes?
manual research. Here's what I've got so far:
Botwoon: 0x19A059
Spore Spawn Spore: 0x35D6C
Phantoon: 0x13E3D0
Evirs: 0x12CE07
all addresses error margin ±1 byte

let me know if you have any questions

Quietus

Not that it makes it any less interesting, it was actually discovered back in 2007, though it has only recently become known 'over here'. :^_^:

Raccoon Sam

Quote from: Quietus on December 12, 2018, 03:47:41 PM
Not that it makes it any less interesting, it was actually discovered back in 2007, though it has only recently become known 'over here'. :^_^:
Right, right, but only a few days ago it indeed was discovered that "Keiko Love" isn't the only love letter he left in-game.

There's more path data in the bank, but you only ever see the bottom "Keiko Love". The left and top paths are never loaded or seen, but the data is there. Probably just residue but interesting nonetheless.

Quietus

I'm gonna create my own, and have "Cake, I love" written out. :grin: