TASEmulators / TASEmulators/BizHawk
[Feature Request] Save .SaveRAM as the .SaveRAM.bak on restart
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2.8k
- Forks
- 468
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
Currently, the .bak file is only written twice as far as I can tell, when you open a ROM and when you close a ROM. I would like to request two more situation be added where it is updated:
1- On core reset
2- On hard reset
That way, it remove the need to unload the whole thing to get a backup in longer play session.
The issue can be mitigated by using the AutoSaveRAM feature, but as described in the feature request https://github.com/TASEmulators/BizHawk/issues/3385, it is not it is not enough to prevent progress loss currently.
I will admit the previously mentioned request would make this less impactful, but still argue it can be independently useful, for example in the case the RAM gets corrupted without game crash
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Trace the existing .SaveRAM.bak handling used when opening and closing a ROM, then locate the core reset and hard reset entry points. Done means both reset paths update the backup without requiring the ROM to be unloaded, while preserving the existing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100