What is inp?

General Chit-Chat about MAME and other emulators.
openformi
CheatFinder Private
Posts: 5
Joined: Tue Apr 01, 2008 5:20 am

What is inp?

Postby openformi » Sat Apr 12, 2008 7:07 am

Hi guys,

Rather stupid question here but i was trying to record to inp for my gameplay and when i tried to playback the file, it doesnt seems to be my previous gameplay?

Any advise?

Cheers

User avatar
mike_myers
CheatFinder Staff Sergeant
CheatFinder Staff Sergeant
Posts: 277
Joined: Sun Feb 23, 2003 1:16 pm

Postby mike_myers » Fri May 23, 2008 7:21 pm

That happens with games that use NVRAM (in neogeo games, for example)
To avoid that, you've to open your MAME.INI (if it doesn't exist use -cc option to create it) and look for nvram line. change it to

Code: Select all

nvram_directory     NUL


:)
Image

User avatar
mike_myers
CheatFinder Staff Sergeant
CheatFinder Staff Sergeant
Posts: 277
Joined: Sun Feb 23, 2003 1:16 pm

Re: What is inp?

Postby mike_myers » Sun Dec 20, 2009 1:48 pm

To record the .inp you can use this .bat. Save it as rec.bat, for example.

Code: Select all

@echo off
cls
SET BEGIN=%TIME%
rem if you want to run in a window, use -w instead of -now
if "%2"=="" mame %1 -rec %1.inp -now -nocheat -nvram_directory NUL
rem this one than can be useful if you want to create the inp with another name
if not "%2"=="" mame %1 -rec %2.inp -now -nocheat -nvram_directory NUL
SET END=%TIME%
echo ROM %1: %BEGIN% -- %END%
SET BEGIN=
SET END=


To playback the inp you can use this one. Save it as play.bat , for example:

Code: Select all

@echo off
cls
SET BEGIN=%TIME%
rem if you want to run in a window, use -w instead of -now
if "%2"=="" mame %1 -pb %1.inp -now -cheat -pause_brightness 1.0000
rem this one than can be useful if you renamed the inp
if not "%2"=="" mame %1 -pb %2.inp -now -cheat -pause_brightness 1.0000
SET END=%TIME%
echo ROM %1: %BEGIN% -- %END%
SET BEGIN=
SET END=
Image


Return to “Emulation Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests