Page 1 of 1

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

Posted: Sun Mar 21, 2004 8:53 am
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=

Posted: Sun Mar 21, 2004 8:54 am
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=