<html> <head> <title>.fcm</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="generator" content="HelpNDoc Personal Edition 3.8.0.560"> <link type="text/css" rel="stylesheet" media="all" href="css/reset.css" /> <link type="text/css" rel="stylesheet" media="all" href="css/base.css" /> <link type="text/css" rel="stylesheet" media="all" href="css/hnd.css" /> <!--[if lte IE 8]> <link type="text/css" rel="stylesheet" media="all" href="css/ielte8.css" /> <![endif]--> <style type="text/css"> #topic_header { background-color: #EFEFEF; } </style> <script type="text/javascript" src="js/jquery.min.js"></script> <script type="text/javascript" src="js/hnd.js"></script> <script type="text/javascript"> $(document).ready(function() { if (top.frames.length == 0) { var sTopicUrl = top.location.href.substring(top.location.href.lastIndexOf("/") + 1, top.location.href.length); top.location.href = "fceux.html?" + sTopicUrl; } else if (top && top.FrameTOC && top.FrameTOC.SelectTocItem) { top.FrameTOC.SelectTocItem("fcm"); } }); </script> </head> <body> <div id="topic_header"> <div id="topic_header_content"> <h1>.fcm</h1> <div id="topic_breadcrumb"> <a href="Technicalinformation.html">Technical Information</a> ›› <a href="Movieformats.html">Movie & Savestate formats</a> ›› </div> </div> <div id="topic_header_nav"> <a href="Movieformats.html"><img src="img/arrow_up.png" alt="Parent"/></a> <a href="fm2.html"><img src="img/arrow_left.png" alt="Previous"/></a> <a href="fcs.html"><img src="img/arrow_right.png" alt="Next"/></a> </div> <div class="clear"></div> </div> <div id="topic_content"> <p></p> <p><span class="rvts12">FCE Ultra Movie File Format</span></p> <p> - Updated March 22, 2004</p> <p><br/></p> <p>The FCM file format is a somewhat "joined" file format. The first part of a FCM</p> <p>file will contain an FCS-format state save. After this data, the FCM-specific data</p> <p>begins, which is being referred to from this point.</p> <p><br/></p> <p><br/></p> <p>Currently, the only supported input scheme for a FCM is four joysticks.</p> <p><br/></p> <p>The FCM data consists of a stream of joystick commands:</p> <p><br/></p> <p> dLLjjbbb</p> <p><br/></p> <p> d = Dummy update, if set. Used to reset frame timestamp.</p> <p> LL = timestamp length, in bytes(maximum of 3 bytes).</p> <p> jj = Which joystick(0-3).</p> <p> bbb = Which button(0-7).</p> <p><br/></p> <p> If the dummy update bit is set, a command can also have occurred. Look at the</p> <p> lower 5 bits:</p> <p> 0 = Just a dummy update.</p> <p> 1 = Reset</p> <p> 2 = Power</p> <p><br/></p> <p> The timestamp is stored after the joystick command, in LSB-first format. It is</p> <p> the number of frames since the last event. A timestamp length of "0" is valid, to</p> <p> be used when several different buttons need to change state at the same time(same frame,</p> <p> at least).</p> <p><br/></p> <p></p> <p class="rvps2"><span class="rvts13">Created with the Personal Edition of HelpNDoc: </span><a class="rvts14" href="http://www.helpndoc.com/help-authoring-tool">Create HTML Help, DOC, PDF and print manuals from 1 single source</a></p> </div> <div id="topic_footer"> <div id="topic_footer_content"> 2016</div> </div> </body> </html>