ejona86 / taus

Tetris - Actually Useful Statistics and other mods

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement battery saves

PDJazzHands opened this issue · comments

Please implement a battery save feature

Kirjava recently made one and shared it on the CTM Discord. persistent_highscores.zip I've not tried it out yet.

While that IPS works fine as a one off hack, I think there are other things I think that should be done before integrating it into a main hack.

Some mechanism for clearing the scores is required - this could be as simple as holding select on boot.

SRAM detection might be needed. There are some environments / carts (cheap EEPROMS) that will report that SRAM is working but will just load garbage data instead - which could lead to impossible to beat scores in the list. I'm not sure what the 'correct' way to do this is but perhaps some writes to SRAM and then reads to confirm the data is correct is a sensible approach.

With #23 merged I'm going to close this. While us perfectionists may still want to eek a bit more out of the idea most players should be good with the merged state. The next release will include it, but until then save-highscores.dist.zip. This version should have expanded compatibility with other mods, but is otherwise similar to what I linked to earlier.

thank you!