Skip to content

Give a warning pop-up when opening a .bk2 with a different ROM #2328

Description

@ThunderAxe31

When you open a .bk2 movie, BizHawk compares the ROM hash with the one stored in the Header.txt of the .bk2 file. If they don't match, a hud warning message appears for a moment in the lower left: "Warning: Movie hash does not match the ROM". The issue is that, unless you go through the Play Movie dialog, this message is very easy to miss due to its short duration and the presence of other messages at the same time. My request is to have a warning pop-up window for this specific event, so that it can't possibly be missed by the user.

Activity

  1. RetroEdit commented on Aug 24, 2020

    @RetroEdit
    Contributor

    Yeah, this should probably be more high-profile. TAS movies are probably the most common use for the movies feature, and accidentally missing that information when trying to playback a TAS movie is annoying (really, missing that information for any movie is probably annoying, since it could potentially affect sync).

  2. self-assigned this
    on Aug 25, 2020
  3. added a commit that references this issue on Aug 25, 2020
    ee1ea10
  4. RetroEdit commented on Aug 29, 2020

    @RetroEdit
    Contributor

    Unfortunately, this is unlikely to happen soon, because adelikat considers hashes being broken for certain movies a blocker for implementing this. See #2336. The concern here is that in certain cases, the hash warning is wrong, so having a pop-up is considered too hostile to the user.

  5. removed their assignment
    on Apr 11, 2021
  6. RetroEdit commented on Aug 19, 2024

    @RetroEdit
    Contributor

    As of 2024, we should elevate the priority of this.

    Consider this: we show a full dialog box when CycleCount doesn't match! CycleCount is purely informational, and doesn't affect functionality whatsoever.

    By contrast this is actually an important warning, but it's so easy to miss. I missed it just now when trying to play back a movie and it wasted my time.

    If we're concerned about systems where hashes don't match, we can fix the underlying problem, instead of hiding information. If we're extremely concerned, we can caveat the message by adding a line afterwards In certain cases the movie hash may not match the ROM because of how hash calculation currently works. I'll try and submit a patch myself soon.

  7. YoshiRulz commented on Aug 20, 2024

    @YoshiRulz
    Contributor

    It should always go through the Play Movie dialog, problem solved.

    https://gitlab.com/YoshiRulz/yoshis-hawk-thoughts/-/issues/69

  8. vadosnaprimer commented on Aug 20, 2024

    @vadosnaprimer
    Contributor

    It should always go through the Play Movie dialog, problem solved.

    Drag'n'drop exists for a reason.

  9. RetroEdit commented on Aug 20, 2024

    @RetroEdit
    Contributor

    Thought about Yoshi's comment a bit and about what I want as a user and here's what I think: both drag+drop and Recent movies should display an info screen akin to the Play movie screen when loaded, but have a checkbox Show movie info on load that can be unchecked. This resolves the visibility of the hash mismatch and also encompasses other potential movie issues like a movie made in an old version.

    See also: #3735 bullet point 3, although to be clear, I think editing has different considerations than viewing movie info (there's a decent argument to disable it for safety and just tell power users to edit the bk2 as a zip archive).

  10. added this to the 2.9.2 milestone on Aug 21, 2024
  11. Morilli commented on Aug 26, 2024

    @Morilli
    Collaborator

    I support making this OSD message into a warning message box and fixing all erroneous hash mismatches.

  12. YoshiRulz commented on Nov 27, 2024

    @YoshiRulz
    Contributor

    I stand by my opinion that drag+drop should go via the Play Movie dialog, but that will have to wait for the next release. Morilli already increased the duration of the OSD message in time for 2.10.

  13. modified the milestones: 2.10, 2.10.1 on Nov 27, 2024
  14. vadosnaprimer commented on Nov 27, 2024

    @vadosnaprimer
    Contributor

    If I'm already dropping the right rom (99.999999999% of use cases), I'm sure it's what I want, and I don't need a dialog every time asking me if I maybe want something different. It needs to be quick and efficient for users who do this a lot with lots of different games and movies (tasvideos staff).

    If someone wants to be asked every single time whether they really want to load the thing they're loading, it should be an option. But there's a problem with that. If you ask the user a repeated mostly useless question many times, that question becomes noise and their brain filters it out, so even if there's some passive info about a mismatch (if they managed to hit their 0.000000001% chance of wrong rom), they will likely not even notice the problem until it's already loaded.

    So yes if there's a hash in the movie and it exists in our DB for this system, it's trivial to only warn when it mismatches, and I don't mind if the warning is more explicit, because it only happens with 0.000000001% regularity.

  15. added theissue type on Apr 8, 2025
  16. modified the milestones: 2.10.1, 2.10.2 on Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions