home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Doom I/II Collection
/
DM12.ISO
/
edit
/
dmtex09b
/
doomtex.bat
< prev
next >
Wrap
DOS Batch File
|
1994-07-21
|
304b
|
12 lines
@echo off
rem %1 is picture, sprite, patch or flat
if not exist bin\%1.wad goto usage
if not exist %2.gif goto usage
copy bin\%1.wad temp.wad > nul
dmgraph %1 -s %2.gif -f temp.wad
wad2lmp temp.wad %2.lmp
del temp.wad
goto end
:usage
echo Usage: doomtex picture/sprite/patch/flat giffile
:end