/usr/share/doc/fceu/Documentation/fcm.txt is in fceu 0.98.12-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | FCE Ultra Movie File Format
- Updated March 22, 2004
The FCM file format is a somewhat "joined" file format. The first part of a FCM
file will contain an FCS-format state save. After this data, the FCM-specific data
begins, which is being referred to from this point.
Currently, the only supported input scheme for a FCM is four joysticks.
The FCM data consists of a stream of joystick commands:
dLLjjbbb
d = Dummy update, if set. Used to reset frame timestamp.
LL = timestamp length, in bytes(maximum of 3 bytes).
jj = Which joystick(0-3).
bbb = Which button(0-7).
If the dummy update bit is set, a command can also have occurred. Look at the
lower 5 bits:
0 = Just a dummy update.
1 = Reset
2 = Power
The timestamp is stored after the joystick command, in LSB-first format. It is
the number of frames since the last event. A timestamp length of "0" is valid, to
be used when several different buttons need to change state at the same time(same frame,
at least).
|