Page 1 of 1

How can I keep inp recording after load

Posted: Sun Jan 22, 2017 5:25 pm
by mame2003
MAME's inp recording is best option for record game but its only problem is it cannot keep record if I load game.

How can I keep inp recording after load?

Re: How can I keep inp recording after load

Posted: Sun Jan 22, 2017 7:46 pm
by Tafoid
mame2003 wrote:MAME's inp recording is best option for record game but its only problem is it cannot keep record if I load game.
How can I keep inp recording after load?
With MAME, .inp recording is controlled with two commands, -playback and -record.
To record a session of .inp for a game, you can use the following example:
mame pacman -record pacman.inp

To use that .inp in a reload of the game, you must use -playback:
mame pacman -playback pacman.inp

By default, INP files are placed in the folder which your mame.ini has defined as input_directory - which is INP. This folder must be present or else your .inp file may not save or load correctly.

Re: How can I keep inp recording after load

Posted: Tue Jan 24, 2017 9:20 am
by mame2003
For example I load a state (f7) for start stage 2 but inp will instantly fail.

Re: How can I keep inp recording after load

Posted: Tue Jan 24, 2017 10:36 am
by Tafoid
mame2003 wrote: Tue Jan 24, 2017 9:20 am For example I load a state (f7) for start stage 2 but inp will instantly fail.
Both mechanisms are incompatible with each other. You cannot create/load a save state and then record/playback an .inp based on that state.