tewtal / sm_practice_hack

Super Metroid Practice Hack
The Unlicense
27 stars 19 forks source link

Demo Improvements #211

Closed idlechild closed 1 month ago

idlechild commented 4 months ago

Freed up even more space so we can add demos at will (as long as we keep to four demo sets; I suspect a bit more work would be needed to support more sets).

Reduced time to start demos from 15 seconds to 5 seconds.

Added TAS dance demo, which required a new command allowing WRAM to be set (so moonwalk can be turned on).

Added scripts to go back and forth from .bk2 demo format (which is what I got the TAS dance from).

Added support for PAL Debug mode, which is not currently used, but simple enough to add with: dw DemoInstruction_ModifyWRAM, !PAL_DEBUG_MOVEMENT, $0000

Note that if you have any tools for creating demos, those will need to be updated to drop the new input column. That was just a big waste of space by Deer Force. Calculating the new input from current and previous input worked like a charm (copying Deer Force's own algorithm in the normal input handler routine).