Sunday, March 17, 2019

Arrow Rules in Edit Mode AND In A Song Stage

When I first got into trying to make edit mode edits, I found myself continually frustrated with the inability to place 3 arrows on a beat, or have 2 freeze arrows with an additional 1 or two arrows you'd have to hit either by having your feet placed on the right spot between arrow panels so that stepping triggered both arrows, or by using you your hands.

If you try to do this normally, the old data at that beat is removed, and the newly placed arrow replaces it.

After doing a little digging, I found two areas in DDRMAX2's code that looked promising (pardon the crude graphic where I attempt to put 2 separate pieces of code together):



One piece of code is utilized while attempting to place non-freeze steps, the other used when attempting to place freeze arrows.

So, I just changed the 2 in the SLTI instructions to something higher. So far, so good, right? Sort of. I can place 3 arrows, in any combination of freeze and non-freeze arrows, on a single beat:
But alas, changing this didn't remove all the issues. For one, certain combinations of freeze and non- freeze arrows were still tricky to pull off correctly, and even if I got them eventually placed the way I wanted, the arrows wouldn't show up correctly, regardless of if I was playing back the song in edit mode, or in an actual song stage. The steps are changed to jumps (up and down arrow jumps specifically).

This leaves me to wonder where further checking occurs. Such checks are not done with official stepcharts, which was evident when I fiddled with stepchart data:


So there are clearly other areas where the game checks the validity of the step data. Maybe this happens in a place where the stepdata is converted to the game's internal step format. Regardless of if this is the case or not, I will try to remain decent about timely updates on this, and other DDR hacking matters.

No comments:

Post a Comment