home *** CD-ROM | disk | FTP | other *** search
/ Doom I/II Collection / DM12.ISO / edit / dmtex09b / doomtex.bat < prev    next >
DOS Batch File  |  1994-07-21  |  304b  |  12 lines

  1. @echo off
  2. rem %1 is picture, sprite, patch or flat
  3. if not exist bin\%1.wad goto usage
  4. if not exist %2.gif goto usage
  5. copy bin\%1.wad temp.wad > nul
  6. dmgraph %1 -s %2.gif -f temp.wad
  7. wad2lmp temp.wad %2.lmp
  8. del temp.wad
  9. goto end
  10. :usage
  11. echo Usage: doomtex picture/sprite/patch/flat giffile
  12. :end