MAMEWorld >> EmuChat
Index   Flat Mode Flat  

mahlemiut
MAME Fan
Reged: 06/20/07
Posts: 60
Loc: New Zealand
Send PM
Re: Why does mame input playback fall out of sync?
05/27/22 11:44 PM


> I use Mame itself.
>
> First I call mame with the command line option to record input:
>
> mame robotron -record robot.rkd
>
> I then play the game through and quit mame.
>
> Next I use the command line to replay the game using the recorded input:
>
> mame robotron -playback robot.rkd
>
> On my last attempt it was fine until level 13 and then falls out of sync.

The thing with input recordings, is that you need to start playback in the same state as when you started the recording. I think Robotron saves scores in NVRAM, so that could likely be the cause of the desync. You'll need to reset NVRAM before both recording and playback. The easiest way to do this is to move or delete the NVRAM files/folders via a script or batch file before recording or playback. An alternative is to set nvram_directory to NUL (or /dev/null for Linux/OS X/BSD) in mame.ini or on the commandline (-nvram_directory NUL)


- Barry Rodewald
Editor at MARP - http://replay.marpirc.net







Entire thread
Subject Posted by Posted on
* Why does mame input playback fall out of sync? JHake 05/26/22 04:06 PM
. * Re: Why does mame input playback fall out of sync? Cheesoid  05/26/22 06:42 PM
. * Re: Why does mame input playback fall out of sync? Dullaron  05/26/22 06:33 PM
. * Re: Why does mame input playback fall out of sync? JHake  05/26/22 07:06 PM
. * Re: Why does mame input playback fall out of sync? mahlemiut  05/27/22 11:44 PM
. * Re: Why does mame input playback fall out of sync? Dullaron  05/26/22 07:31 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 206 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 254