DeSmuME_Movie - Movie recording and playback¶
- class desmume.emulator.DeSmuME_Movie(emu: DeSmuME)[source]¶
Bases:
objectRecord and play movies. Should not be instantiated manually!
- play(file_name: str)[source]¶
Load a movie file from a file and play it back.
- Raise:
RuntimeError If playback failed.
- record(file_name: str, author_name: str, start_from: StartFrom = StartFrom.START_BLANK, sram_save: str = '', rtc_date: DeSmuME_Date = None)[source]¶
Record a movie.
- Parameters:
file_name – The name of the file to save to.
author_name – Name of the author of the movie.
start_from – Where to start the recording from.
sram_save – Filename of the SRAM save to use, optional.
rtc_date – Date to set the real-time-clock to, optional, defaults to now.
- Returns: