News:

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

Main Menu

Location of vanilla scroll PLM data

Started by benox50, October 14, 2016, 11:18:21 AM

Previous topic - Next topic

benox50

Hi, here a simple one. Wanting to free space in $8F but dont want to lose smile support (so no repoint patch).
So Im thinking about removing all unused old scroll PLM data, cause who use them.
So I want to replace them with FF without going one by one. The question is, are they all close to each other ?
So I can do a massive genocide with FF. Someone knows the starting offset and the ending offset and secure me about that there is nothing else between those offset than scroll PLM data ?

PHOSPHOTiDYL


personitis

The data that tells the engine whether or not a screen is a blue, green, or red scroll when touching the PLM? No, they are not lumped together neatly somewhere in $8F. Rather, they are usually located right after a room header with a room's default scrolling, if any. This ends up being quite spread out as you can imagine.

Scyzer

In order, the data is [Room Header] [Doors] [Room Scrolls] [PLM Scrolls] [Room Header] etc.
So no, the data is everywhere, and would take quite a while to go through it. It's definitely not difficult to find, just time consuming. You get the room's Scroll Pointer, then add however many screens are in the room; that's the location of PLM Scroll data. Everything up until the very next Room Header should be just PLM Scrolls.

That said, both RF and SMILE JX (afaik) can read repointed scroll pointers, so if you use either of those versions you shouldn't have any issues putting the data wherever you want.



squishy_ichigo

If you are adamant about saving space in $8F, I would recommend learning all the data formats in that bank, deleting anything that isn't code, and rewriting everything yourself. The red arrow plms alone take up so much space, its pretty ridiculous, and I prefer having the data seperated by type. PJs link will tell you what everything is, and Kejs Notes can help you to understand the format. specifically, I would have a look at http://jathys.zophar.net/supermetroid/kejardon/sm_misc.txt .

It's a bit to learn, and its a bit of work, but it can really pay off if you are really serious about cleaning out $8F. AND some people even repoint some of the data in $8F to other banks, I don't have the specifics on that, maybe someone else can help with that if needed. Though, its largely unnecessary with proper bank management after you delete everything unless you just have a stupidly big hack.