DeSmuME_Movie - Movie recording and playback

class desmume.emulator.DeSmuME_Movie(emu: DeSmuME)[source]

Bases: object

Record and play movies. Should not be instantiated manually!

get_length()[source]
get_name()[source]
get_readonly()[source]
get_rerecord_count()[source]
is_active()[source]
is_finished()[source]
is_playing()[source]
is_recording()[source]
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:

set_readonly(state: bool)[source]
set_rerecord_count(count: int)[source]
stop()[source]

Stops the current movie playback.