bensweeneyonbass's Feed

bensweeneyonbass
05-02-2018 at 07:31 AM
4 Comments
Rate this Entry

MAME INP Verification Guide

Hey everyone!

If you've adjudicated MAME submissions, you'll notice that people usually post an analysis of several frames of command line readout as proof that they analyzed the INP and that it all checks out. This is a straightforward process but it's not for everyone.

Today I'm going to describe how you can do your own simpler analysis without the use of batch files to determine the following things about an INP:

*Date and time created
*MAME version used to record (Wolf or not)
*Settings/DIPs used
*Recording speed (as a percentage, 100 being true speed)

To make sure we're all on the same page, please check out my related blog post HERE which instructs how to setup MAME at the command line. This can be done with "modern" versions of MAME. It does NOT work with v.106 and INP View was not even created until about v.110 when it was a separate source that needed to be patched into MAME. INP view was integrated into MAME at v.153

NOTE: You must play back the INP using the same version that recorded it. If someone is using WolfMAME v.195 and you only have v.196 setup, you'll have to setup v.195 also in order to look at the INP.

COMMAND LINE: Playing back an INP at the command line is easy, and enabling INP View is also easy.

Simply playing back an INP goes like this - 'mame64 dkong -playback dkong.inp' where dkong.inp is the name of the INP to be played back.

Playing back an INP with INP View goes like this - 'mame64 dkong -playback dkong.inp -iv 1' where -iv 1 is the command to add input view to the playback.

Once the playback begins, you'll notice a semi-transparent bar at the bottom of the screen/window. This bar will display inputs as they occur. While the playback proceeds, you can press and hold the Delete key to display what settings are in effect at that time. I recommend checking settings at the very beginning, then shortly after the beginning, then once in the middle, then right before the final score displays. That's a personal preference. Be warned that if the settings are changed before or after you check them, and don't check them more than once, you'll be missing that bit.

Here's an attachment I made for my currently open submission for Galactic Warriors:



It shows the command line and the INP playback with INP View enabled, and I'm holding Delete at the time of the screenshot so the settings will be displayed.

Settings applied are those listed first. Default settings are those listed in brackets.

Pressing F11 displays the frame count and recording speed in the upper right corner.

INP timestamp and version information is displayed in the command window, not in the playback window.



That's about it. Now go get to it!


Thanks to @Almighty Dreadlock and @Barra for their help with this.
Comments
  1. Barthax's Avatar
    Good show. Haven't got time to examine the post yet... will revisit. :)
    Thanksbensweeneyonbass thanked this post
  2. Barthax's Avatar
    Great stuff. :D
    Thanksbensweeneyonbass thanked this post
  3. Barra's Avatar
    Good stuff Ben

    It should be noted that this won’t work up until 149 (?). Makes 106 INPs/DIPs much more difficult to verify as you have to analyse it through a hex editor. Just one of many reasons to use newer versions!

    :)
    Thanksbensweeneyonbass thanked this post
  4. bensweeneyonbass's Avatar
    Quote Originally Posted by Barra
    Good stuff Ben

    It should be noted that this won’t work up until 149 (?). Makes 106 INPs/DIPs much more difficult to verify as you have to analyse it through a hex editor. Just one of many reasons to use newer versions!

    :)
    Thank you sir! I will update the original post.

    YES everyone pleeeeease stop using v.106. Please.
Join us