BizHawk icon indicating copy to clipboard operation
BizHawk copied to clipboard

Make "Autopause at end of Movie" work in TAStudio

Open vadosnaprimer opened this issue 5 years ago • 4 comments

The option has been there forever and never seemed to work. I tried to set it up in MovieSession and tastudio settings and failed.

see also #3989

vadosnaprimer avatar Feb 13 '21 17:02 vadosnaprimer

This cannot be fixed without first fixing #2292 since currently the end of the movie is not reachable during normal playback in TAStudio (is reachable in recording mode though).

RetroEdit avatar Aug 06 '24 00:08 RetroEdit

How is this supposed to work? Because of the way TAStudio works, when you're at the end of the movie, the movie will continually extend. So effectively you're always "at the end of the movie".

The way this works for normal movies is by detecting whether or not the movie is recording mode: In recording mode, the movie is silently extended, and autopause only has an effect while in play mode. However TAStudio does not enter recording mode upon reaching the end of the movie, so you'd get a pause every frame.

Morilli avatar Sep 12 '24 07:09 Morilli

Pause the frame before the end of the movie then.

YoshiRulz avatar Sep 12 '24 12:09 YoshiRulz

Here's how taseditor does it (reliable source since it's been done there first, and it has no bugs)

https://github.com/TASEmulators/fceux/blob/f980ec2bc7dc962f6cd76b9ae3131f2eb902c9e7/src/drivers/win/taseditor/playback.cpp#L177-L182 https://github.com/TASEmulators/fceux/blob/f980ec2bc7dc962f6cd76b9ae3131f2eb902c9e7/src/drivers/win/taseditor/playback.cpp#L229-L236

vadosnaprimer avatar Sep 12 '24 14:09 vadosnaprimer