I released a new Nesmock version.
It now allows copying a savestate from FCEU movie A to FCEU movie B.
$ nesmock --help
nesmock v1.4.0 - Copyright (C) 1992,2005 Bisqwit (http://iki.fi/bisqwit/)
Usage: nesmock [<options>] <inputfile> <outputfile>
Transforms NES movie files to different formats.
--help, -h This help
--offset, -o Insert delay at <frame>,<length>
Example usage: -o 14501:1
Delay length may also be negative, in which case
existing frames are deleted instead of copied.
Frame numbers are relative to the original movie.
Short syntax -o 10 uses frame number 0 by default.
--set, -s Set <var>=<value>
Note: All movie formats don't support all values
or may have length/type limitations.
Available vars:
PAL 0 or 1
RecordCount 0..n
EmuName string
MovieName string
ROMName string
MD5 string (can be a 32-char hex or a filename)
FCEUver 0..n (example: 9812 (=0.98.12))
Example usage: -spal=0 -srom="Mario Bros.nes" -smd5=mario.nes
--state, -t Copy savestate from <file>
Example: nesmock a.fmv a.fcm -t'orig.fcm'
Will also make fcm files reset-based (default: poweron-based)
--version, -V Displays version information
Supported formats:
FMV (Famtasia 5.1) - Read & Write
FCM (FCEU 0.98.12) - Read & Write
NMV (Nintendulator 0.950) - Read & Write
VMV (VirtuaNES) - Read
Example:
nesmock -o2 smb1a.fcm smb1a.fmv
Example use:
$ nesmock long.fcm long.fmv
$ nesmock short.fcm short.fmv
$ dd if=long.fmv of=short.fmv conv=notrunv bs=1 skip=$[144+2000*2] seek=$[144+1900*2]
$ nesmock short.fmv -tlong.fcm newfile.fcm
Copy movie from "long.fcm" from frame 2000 into "short.fcm" at frame 1900. Leave originals unchanged, save into "newfile.fcm". Take savestate from "long.fcm".
So... who will compile the Windows version?
Note: Nesmock saves reset-based FCEU movies automatically as
poweron-based. If a savestate is given, then it will make them reset-based instead. You can use this to mend desperate desync situations when your movie would otherwise not work after running nesmock.