TASEmulators / TASEmulators/BizHawk

[Feature Request] Save .SaveRAM as the .SaveRAM.bak on restart

Open
#3,386 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

App: EmuHawk Request: Feature/Enhancement Waiting on dev consensus
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.