Skip to content

Conversation

@hhirtz
Copy link
Contributor

@hhirtz hhirtz commented Jan 28, 2026

This is a patch i started long ago but doesn't work yet.

First commit (will) implement libretro environment variables to pass bk2 sync settings to bsnes. The second commit is for actual opening/saving bk2 files.

This stores extra metadata for libretro cores, like sync settings.
Bk2 files require specific sync settings, so it's required to open them.

The `MovieFile` field is annotated with `#[serde(default)]` so that mvi
can still open old movie files.
Most sync settings can be found in bizhawk sources at snes_init in
waterbox/bsnescore/bsnes/target-bsnescore/bsnescore.cpp

Some sync settings were not ported:
- LimitAnalogChangeSensitivity: mouse-related setting which i dont know
  what is doing in bsnes sync settings
- RegionOverride, UseRealTime and InitialTime: couldn't find the
  equivalent setting in bsnes' interface
@hhirtz
Copy link
Contributor Author

hhirtz commented Jan 29, 2026

Played a bk2 movie without passing environment variables to the bsnes core, and it seemed to sync well. haven't tried with longer movies yet

2026-01-30.00-02-37.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant