snestracker icon indicating copy to clipboard operation
snestracker copied to clipboard

[std] [feat-req] Upload BRR

Open bazz1tv opened this issue 4 years ago • 0 comments

Thought of by @RowanDDR

Enable std to upload BRR into DIR slots for spc modification. Some brief thoughts on this

  • Compute size of the existing BRR sample (Brr class has a size() function for this), and compare with the size of the new BRR. If it's bigger, warn the user of the risk of corrupting surrounding data with a YES/NO dialogue.

IT could be as simple as the above. OR you could get fancier by running a record on which additional BRR slots were taken up by a warned upload. Then, when the user tries to upload directly to one of these "taken" slots, they could be warned that it would damage one of their own uploaded samples!

The GUI should use that record to visually display which BRRs have been overwritten during the session. This could take the form of rendering the font in a different color or assigning an icon next to pertinent DIR entries.

Unfortunately this record won't normally persist once the file has been closed. That can be addressed in a later endeavor (or ignored forever). But here are some brief thoughts on that too: For that, some additional metadata would need to be recorded to an additional file (or somehow transparently into the SPC itself, but that could risk becoming unreadable by other SPC software).

bazz1tv avatar Jun 10 '20 08:06 bazz1tv