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
What is inp?
-
- Posts: 277
- Joined: Sun Feb 23, 2003 1:16 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
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
-
- Posts: 277
- Joined: Sun Feb 23, 2003 1:16 pm
Re: What is inp?
To record the .inp you can use this .bat. Save it as rec.bat, for example.
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 -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=
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=