snes9xgit / snes9x

Snes9x - Portable Super Nintendo Entertainment System (TM) emulator
http://www.snes9x.com
Other
2.55k stars 448 forks source link

Request: a small screenshot behavior change #926

Open ReyVGM opened 1 month ago

ReyVGM commented 1 month ago

Hello team.

I'm requesting a small change to the sequential way snes9x saves and numbers the screenshots you take. This is going to sound stupid, but I assure you it's an annoyance for people that take screenshots.

Let me try to explain. I take tons of sequential images and I usually delete redundant images as I play the game so I don't forget later.

The problem is that when you delete an image that's in the middle of a group of images, then the next time you press the screenshot key, the emulator "refills" that gap with a new image instead of continuing with the next number in the sequence.

So, for example, if you have:

pic 1.png pic 2.png pic 3.png

If you delete "pic 2.png", then the next time you press the screenshot button, instead of creating "pic 4.png" it will create another "pic 2.png", breaking the sequence of your images.

So my request is for the emulator (while you have it open) to ignore if there's a gap in the numbered images and just keep incrementing the number until you close the emulator.

Once you close it down, this behavior would, of course, reset and when it you load the emulator again, it would will look for the earliest number if you take more screenshots.

If you want a visual example of how this should work, just try the FCEUX emulator. Take 3 screenshots, delete the middle one and take a 4th screenshot and you'll see it doesn't try to fill the gap.

Thanks!

qwertymodo commented 1 month ago

Perhaps an alternative might be to just ditch sequential numbering in favor of timestamps (or maybe add an option to switch between the two). Then your files would always be in order.

On Mon, May 27, 2024, 12:53 PM ReyVGM @.***> wrote:

Hello team.

I'm requesting a small change to the sequential way snes9x saves and numbers the screenshots you take. This is going to sound stupid, but I assure you it's an annoyance for people that take screenshots.

Let me try to explain. I take tons of sequential images and I usually delete redundant images as I play the game so I don't forget later.

The problem is that when you delete an image that's in the middle of a group of images, then the next time you press the screenshot key, the emulator "refills" that gap with a new image instead of continuing with the next number in the sequence.

So, for example, if you have:

pic 1.png pic 2.png pic 3.png

If you delete "pic 2.png", then the next time you press the screenshot button, instead of creating "pic 4.png" it will create another "pic 2.png", breaking the sequence of your images.

So my request is for the emulator (while you have it open) to ignore if there's a gap in the numbered images and just keep incrementing the number until you close the emulator.

Once you close it down, this behavior would, of course, reset and when it you load the emulator again, it would will look for the earliest number if you take more screenshots.

If you want a visual example of how this should work, just try the FCEUX emulator. Take 3 screenshots, delete the middle one and take a 4th screenshot and you'll see it doesn't try to fill the gap.

Thanks!

— Reply to this email directly, view it on GitHub https://github.com/snes9xgit/snes9x/issues/926, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNWEBXUP2SUAMEZWYKGMBDZEOFKJAVCNFSM6AAAAABILVV6WGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYTSNZQHE2TGMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ReyVGM commented 1 month ago

Perhaps an alternative might be to just ditch sequential numbering in favor of timestamps (or maybe add an option to switch between the two). Then your files would always be in order.

That would work too.

However, if you are going to do it that way, make sure the milliseconds are included in the filename, because sometimes people mash the key multiple times per second to capture things in rapid succession and if you only go as far as seconds, then only one capture per second will happen and not multiple.