home *** CD-ROM | disk | FTP | other *** search
/ Quake 'em / QUAKEEM.BIN / doom_i / program / doomtx.exe / DOOMTEX.BAT < prev    next >
Encoding:
DOS Batch File  |  1995-07-16  |  297 b   |  12 lines

  1. @echo off
  2. rem %1 is p or f (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. bin\wad2lmp temp.wad %2.lmp
  8. del temp.wad
  9. goto end
  10. :usage
  11. echo Usage: doomtex [pf] <gifname> (no extensions)
  12. :end