home *** CD-ROM | disk | FTP | other *** search
/ Doom I/II Collection / DM12.ISO / edit / deusf / demo.bat < prev    next >
DOS Batch File  |  1994-09-13  |  2KB  |  69 lines

  1. echo off
  2. echo     ------------------------------------
  3. echo     DeuTex for Idiots: the demonstration
  4. echo     ------------------------------------
  5. echo  you must put TRINITY.WAD in this directory
  6. echo  DOOM.WAD must be in the \DOOM directory
  7. pause
  8. echo checking existance of TRINITY.WAD
  9. if not exist TRINITY.WAD  goto crash
  10. echo checking existance of DOOM.WAD
  11. if not exist \DOOM\DOOM.WAD goto crash
  12. echo all is OK!
  13. echo ----------------------------------------
  14. echo Now listing the directory of TRINITY.WAD
  15. echo ----------------------------------------
  16. pause
  17.  
  18. rem ***DeuTex***
  19. deutex -doom \doom -wadir TRINITY.WAD   > dir666.txt
  20. type dir666.txt | more
  21. del dir666.txt
  22.  
  23. echo Now trying to extract entries of TRINITY.WAD
  24. pause
  25.  
  26. rem ***DeuTex***
  27. deutex -doom \DOOM -dir . -xtractwad TRINITY.WAD
  28.  
  29. echo -----------------
  30. echo Look at the mess!
  31. echo -----------------
  32. pause
  33. dir /s | more
  34. echo -------------------
  35. echo Here is WADINFO.TXT
  36. echo -------------------
  37. pause
  38. type WADINFO.TXT | more
  39. echo --------------------------
  40. echo Now rebuilding TRINITY.WAD
  41. echo --------------------------
  42. pause
  43.  
  44. rem ***DeuTex*** 
  45. deutex -doom \doom -dir . -makepwad wadinfo.txt trinidad.wad
  46. echo -----------------------------------------------
  47. echo TRINIDAD.WAD was built. successfuly? let's check!
  48. echo -----------------------------------------------
  49. dir
  50. echo ----------------------------------
  51. echo now calling DOOM with TRINIDAD.WAD
  52. echo ----------------------------------
  53. pause
  54. echo copying TRINIDAD.WAD into \DOOM directory 
  55. copy TRINIDAD.WAD \DOOM\TRINIDAD.WAD
  56. cd \DOOM
  57. doom -file TRINIDAD.WAD
  58. pause
  59. echo Are you satisfied?
  60. echo If yes, tell me: mail montanuy@dmi.ens.fr
  61. echo If no, tell me also!
  62. echo And if there was a bug, sorry!
  63.  
  64.  
  65. goto end
  66. :crash
  67. echo There was an error
  68. :end
  69. echo the end