TASEmulators / TASEmulators/BizHawk

States can be loaded across movies with the same name but in different locations

Open
#2,484 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

App: EmuHawk
Dominant language
C#
Stars
2.8k
Forks
468
PR merge metrics
No merged PRs in 30d

Description

As the title says, if you create movies of the same name in different locations, if you make a state in one you can load it into the other (as long as the frame counts match up.)

I would speculatively guess that this is probably the cause of some of the recent desync issues.

EDIT: Maybe each movie should have a unique hash code so that each state is only associated with that instead of the name?

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

Reproduce the issue by creating same-named movies in different locations, saving a state in one, and loading it in the other with matching frame counts. Trace the movie and state loading entry points to determine how movie identity is compared. Done means a state from one distinct movie cannot load into another merely because the names and frame counts match.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.