Batch file -- Playback one (or more) .inp files

General discussion on MAME, MARP, or whatever else that doesn't belong in any of the other forums

Moderators: mahlemiut, seymour, QRS

Post Reply
User avatar
mike_myers
Button Masher
Button Masher
Posts: 61
Joined: Sat Dec 20, 2003 10:38 pm
Contact:

Batch file -- Playback one (or more) .inp files

Post by mike_myers »

PB.BAT (playbacks with sound)

Code: Select all

@echo off
:: playbacks inp
:: -cheat option is useful if you want to search infinite lives/ammo/time...
:: cheats while you playback ;)
:playback
if "%1"=="" goto end
set game=%1
:: Playbacks game
echo PLAYBACK .INP: %game%
mamep -pb %game% -skip_disclaimer -pause_brightness 1.00 -nvram_directory NUL -cheat
shift
if "%1"=="" goto end
pause
echo.
echo ------------------------------------------------
echo.
goto playback
:end
set game=
Image
User avatar
mike_myers
Button Masher
Button Masher
Posts: 61
Joined: Sat Dec 20, 2003 10:38 pm
Contact:

Post by mike_myers »

PB2.BAT (playbacks without sound)

Code: Select all

@echo off
:: playbacks inp
:: -cheat option is useful if you want to search infinite lives/ammo/time...
:: cheats while you playback ;)
:playback
if "%1"=="" goto end
set game=%1
:: Playbacks game
echo PLAYBACK .INP: %game%
mamep -pb %game% -skip_disclaimer -pause_brightness 1.00 -nvram_directory NUL -cheat -nosound
shift
if "%1"=="" goto end
pause
echo.
echo ------------------------------------------------
echo.
goto playback

:end
set game=
Image
Post Reply