pub fn export_bk2(
movie: &Movie,
opts: &Bk2ExportOpts,
) -> Result<Bk2Text, Bk2Error>Expand description
Serialize a Movie into the two text members of a .bk2 ZIP.
Emits a Header.txt (MovieVersion, Platform NES, region PAL flag,
rerecordCount, optional Author / GameName / SHA1) and an
Input Log.txt ([Input], a LogKey: declaration, one |-delimited frame
line per frame, [/Input]). The frontend writes both into the archive.
Only StartPoint::PowerOn movies export; a StartPoint::SaveState movie
has no portable .bk2 representation.
ยงErrors
Returns Bk2Error::Unsupported if movie is anchored to an embedded save
state.