cknave/kevedit

Feature request: allow setting values in the full range of XStep, YStep, and Cycle

Closed this issue · 3 comments

At the moment, the stats editor truncates xstep, ystep, and cycle to 8 bits, treating them as bytes. However, the ZZT format specifies that these parameters are all 16-bit. This could be useful for reading from and writing to memory outside of the board area, for quirky mode hacks.

I'm trying to construct an arbitrary code execution proof of concept exploit, which presumably wouldn't even be legal in quirky mode. But the same functionality could be useful for less extreme hacks :-)

Cycle certainly makes some sense to expose the full value of - ZZT's tick counter operates in the 1..420 range. XStep/YStep, too, could be messed with in this way, probably.

As a side note, there's already developed ACEs for ZZT and Super ZZT by GreaseMonkey.

Merged #36, thanks @kristomu and @asiekierka!