divyang4481 / bizhawk

Automatically exported from code.google.com/p/bizhawk
0 stars 0 forks source link

Crash on reading converted Movie (FM2 -> BK2/BKM) #269

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load an NES Game (Mega Man 1/Rockman 1 in this case)
2. Load the Movie FM2-movie (or a converted (to BK2 or BKM one) by drag'n'drop
3. Crash

What is the expected output? What do you see instead?
I expected to go into the playing-movie-mode, where i can see the movie, but 
instead it crashes.
However, it does play fine on 1.7.3 and below. (althrough it desyncs later)

What version of the product are you using? On what operating system?
Windows 7 (Home Premium, 64-Bits)
BizHawk 1.5.3, 1.7.0, 1.7.3 (they work) 1.7.4, 1.8.1 (they crash)

Please provide any additional information below.
Movies: http://tasvideos.org/1686M.html 
    and http://tasvideos.org/2601M.html 
Crashreport:
System.IndexOutOfRangeException:
   at BizHawk.Client.Common.Bk2ControllerAdapter.SetControllersAsMnemonic(String mnemonic)
   at BizHawk.Client.Common.Bk2Movie.GetInputState(Int32 frame)
   at BizHawk.Client.Common.MovieSession.LatchInputFromLog()
   at BizHawk.Client.Common.MovieSession.HandleMovieOnFrameLoop()
   at BizHawk.Client.EmuHawk.MainForm.StepRunLoop_Core()
   at BizHawk.Client.EmuHawk.MainForm.ProgramRunLoop()
   at BizHawk.Client.EmuHawk.Program.SubMain(String[] args)

Original issue reported on code.google.com by N3ui....@gmail.com on 20 Sep 2014 at 2:32

GoogleCodeExporter commented 9 years ago
I checked the converted files and they worked for me on SVN r7865

Original comment by hegyak on 21 Sep 2014 at 12:45

GoogleCodeExporter commented 9 years ago
try doing it without drag and drop. on some systems with junky security 
software, drag and drop can be broken.

post the fm2 youre testing with, maybe theres a problem with it.

i just tested smb3 in 1.8.1 and it worked fine.

Original comment by zero...@zeromus.org on 21 Sep 2014 at 1:11

GoogleCodeExporter commented 9 years ago
Ok, i have tested today more..
A movie, converted with 1.7.3 does work on 1.8.1 and r7852.
If i try to convert a movie with 1.8.1, it crashes but leaves an BK2-File.
If i try this file to open with 1.8.1 or r7852, it still crashed with the 
OutOfRange-Error.
However it i try to open it with drag'n'drop on 1.7.3, a message with 
"Essential zip section not found: Header" comes up. The movie-file doesn't show 
up on the movie-selection-window.

Now, i tried out r7865. It is the same as 1.8.1, but it can convert the 
FM2-movie and play it own converted file fine. 1.8.1 still dont eat the r7865's 
bk2-file.

Note, it seems i have to open the FM2-Movie with drag'n'drop as it doesn't show 
up in the movie-selection-window.

Movie and their outputs: 
https://drive.google.com/file/d/0B4KIu0jlrAjhTnVPMXpkOXQwUUE/edit?usp=sharing
(Note, it is the http://tasvideos.org/2601M.html movie)

Original comment by N3ui....@gmail.com on 21 Sep 2014 at 9:53

GoogleCodeExporter commented 9 years ago
You don't have to use drag and drop.  Go to File -> Movie -> Import Movie

Original comment by andres.d...@gmail.com on 22 Sep 2014 at 3:53

GoogleCodeExporter commented 9 years ago
so... whats the status? that was too much to read. i only want to know how to 
make the latest svn break. 

breaking it by loading a broken BK2 file doesnt count. "crashes, but leaves a 
BK2-file" -> "try to open this file" well what do you expect? it's a broken 
file since bizhawk crashed while writing it.

Original comment by zero...@zeromus.org on 27 Sep 2014 at 9:37

GoogleCodeExporter commented 9 years ago
I tested this against r9151 using http://tasvideos.org/2601M.html file.  Drag 
and Drop while the game was running (Rockman), the movie converted, played and 
there was no BK2 created.  I did get a message about "Using Current Core 
settings" but using NESHawk, the movie fully synced to the end.

Considering this closed unless you wanted a BK2 to be created.

Original comment by hegyak on 28 Feb 2015 at 5:05