home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Doom Univers Paralleles
/
DoomUniversParalleles.iso
/
lmp
/
doom1
/
doomfilm
/
view.bat
< prev
Wrap
DOS Batch File
|
1993-02-14
|
2KB
|
46 lines
@echo off
rem *************************************
rem OBJECT: Playe a DOOM demo (*.lmp) file
rem WRITER: Mark Mitchelson (70001,1255) or (76515,2207)
rem DATE: 02/13/94
rem
rem INPUT: %1 - episode
rem %2 - map #
rem
rem HELP: make /?
rem *************************************
if %1!==! goto ERROR1
if %2!==! goto ERROR1
if %1%==/? goto ERROR1
if not exist demo%1%2.lmp goto ERROR_FOUND
echo ╒══════════════╡ Play ╞═════════════
echo │ Playing Demo of episode %1 map %2
echo ╘═══════════════════════════════════
doom -devparm -playdemo demo%1%2
goto END
:ERROR1
echo ╒═══════════════════════════╡ Play Doom Demo ╞═════════════════════════════╕
echo │ Play a Doom demo │
echo │ │
echo │ - The version must be the same as the *.lmp file version. │
echo │ │
echo │ SYNTAX: play <episode> <map #> │
echo │ i.e. play 2 1 <--Play demo of episode 2 map 1 │
echo ╘══════════════════════════════════════════════════════════════════════════╛
goto END
:ERROR_FOUND
echo ╒═══════════════════════════╡ Play Doom Demo ╞═════════════════════════════
echo │ ERROR: A demo for episode %1 map %2 was not found
echo ╘══════════════════════════════════════════════════════════════════════════
goto END
:END