Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fm2 movies for FDS games cause an IndexOutOfRangeException #3779

Open
TakuikaNinja opened this issue Sep 24, 2023 · 2 comments
Open

fm2 movies for FDS games cause an IndexOutOfRangeException #3779

TakuikaNinja opened this issue Sep 24, 2023 · 2 comments
Labels
App: EmuHawk Relating to EmuHawk frontend re: Movie importers Repro: Affects 2.9.1 Reproducible bug Should only be added to issues with a `Repro: Affects` label.

Comments

@TakuikaNinja
Copy link

Summary

Attempting to play an FDS movie converted from fm2 files (drag & drop/import movie) causes an IndexOutOfRangeException. From what I can tell in the source code, this functionality does not appear to be finished.

Repro

  1. Start an FDS game. (games tried: SMB2J, Tonkachi Mario)
  2. Drag and drop an fm2 file, or import it and then play the converted movie file.
  3. "Fatal Error: IndexOutOfRangeException" window appears

Output

image

Host env.

  • BizHawk 2.9, Linux (EndeavourOS)
@YoshiRulz YoshiRulz added App: EmuHawk Relating to EmuHawk frontend Reproducible bug Should only be added to issues with a `Repro: Affects` label. Repro: Affects 2.9.1 labels Sep 24, 2023
@YoshiRulz
Copy link
Member

YoshiRulz commented Sep 24, 2023

Full stacktrace when importing https://tasvideos.org/3348M (taken on ebe3cad):

System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at BizHawk.Client.Common.Bk2Controller.SetFromMnemonic (System.String mnemonic) [0x0005b] in <973fb7a12a68494182a2aa93dd31a9ec>:0 
  at BizHawk.Client.Common.Bk2Movie.GetInputState (System.Int32 frame) [0x0007a] in <973fb7a12a68494182a2aa93dd31a9ec>:0 
  at BizHawk.Client.Common.MovieSession.LatchInputToLog () [0x00017] in <973fb7a12a68494182a2aa93dd31a9ec>:0 
  at BizHawk.Client.Common.MovieSession.HandleFrameBefore () [0x00082] in <973fb7a12a68494182a2aa93dd31a9ec>:0 
  at BizHawk.Client.EmuHawk.MainForm.StepRunLoop_Core (System.Boolean force) [0x0034d] in <4ecfa9309b57435ebe194da8a64e8a1d>:0 
  at BizHawk.Client.EmuHawk.MainForm.ProgramRunLoop () [0x001e7] in <4ecfa9309b57435ebe194da8a64e8a1d>:0 
  at (wrapper remoting-invoke-with-check) BizHawk.Client.EmuHawk.MainForm.ProgramRunLoop()
  at BizHawk.Client.EmuHawk.Program.SubMain (System.String[] args) [0x003dd] in <4ecfa9309b57435ebe194da8a64e8a1d>:0 

@YoshiRulz YoshiRulz added re: Movie importers App: EmuHawk Relating to EmuHawk frontend and removed App: EmuHawk Relating to EmuHawk frontend labels Oct 12, 2023
@YoshiRulz
Copy link
Member

YoshiRulz commented Oct 14, 2024

adelikat ran into a separate failure https://tasvideos.org/Forum/Posts/532313

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App: EmuHawk Relating to EmuHawk frontend re: Movie importers Repro: Affects 2.9.1 Reproducible bug Should only be added to issues with a `Repro: Affects` label.
Projects
None yet
Development

No branches or pull requests

2 participants