Post subject: Help repairing a movie using savestate files.
Active player (328)
Joined: 2/23/2005
Posts: 786
I made a TAS a long while ago, saving a state every level. I have since lost the movie file. If movies are stored within these SGM files (I'm assuming that's how bulletproof recording works), is it possible to re-create my movie? Is there some utility that I can use to do this, or is it possible to trick VBA into not giving me the "This state is not from this movie" error?
Editor, Emulator Coder, Expert player (2157)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
Fortunately, VBA is (AFAIK) the only emulator that stores complete movie-input data inside savestates. WARNING You may try out this hacked VBA with movie-uid check disabled for recovering movies from movie snapshots only. WARNING
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Emulator Coder, Skilled player (1310)
Joined: 12/21/2004
Posts: 2687
klmz wrote:
Fortunately, VBA is (AFAIK) the only emulator that stores complete movie-input data inside savestates.
I think all of the re-recording emulators do that nowadays.
Editor, Emulator Coder, Expert player (2157)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
nitsuja wrote:
klmz wrote:
Fortunately, VBA is (AFAIK) the only emulator that stores complete movie-input data inside savestates.
I think all of the re-recording emulators do that nowadays.
Are you sure? I clearly remember messing up my movie with Gens10a's "bullet-proof recording". Gens11a may have introduced the true bullet-proof recording, though.
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Tompa
Any
Editor, Expert player (2215)
Joined: 8/15/2005
Posts: 1941
Location: Mullsjö, Sweden
FCEUX doesn't do it either... It's highly annoying.
Emulator Coder, Skilled player (1310)
Joined: 12/21/2004
Posts: 2687
Both Gens10a (and later Gens versions) and FCEUX store the movie input in the savestate. Just because you're unable to figure out how to use it to recover a movie file you deleted from the savestate alone (which is not the intended purpose of storing the input there) doesn't mean it's not storing the input there.
Tompa
Any
Editor, Expert player (2215)
Joined: 8/15/2005
Posts: 1941
Location: Mullsjö, Sweden
It should be as simple as it is in VBA and SNES9X... Simply loading the save state in the movie so it rerecords from there, then load the same save state with read only on. And your movie is back.
Experienced player (623)
Joined: 11/30/2008
Posts: 650
Location: a little city in the middle of nowhere
FCEUX must have the movie file stored in the savestate. If that were not the case, if you were on frame say, 1000, and you loaded a state on frame 2000, there would be an error stating that there is no imput for those 1000 frames, but there isn't, so FCEUX must have movie input in it's savestates.
Measure once. Cut twice.
Active player (328)
Joined: 2/23/2005
Posts: 786
Almost forgot to reply to this thread. With that VBA, I was able to revive the movie and finally submit it after four years. So thanks, klmz!
Editor, Emulator Coder, Expert player (2157)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
I didn't mention that VBA stores movie data a little differently: it stores the whole movie inside a savestate, not just the section begins from the start till the current frame.
CtrlAltDestroy wrote:
Almost forgot to reply to this thread. With that VBA, I was able to revive the movie and finally submit it after four years. So thanks, klmz!
You are welcome.
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do