home *** CD-ROM | disk | FTP | other *** search
/ Arcade Explosion / ae.mdf / arcexp / descent / levels / devil / devil.bat < prev    next >
DOS Batch File  |  1995-05-22  |  975b  |  33 lines

  1. @echo off
  2. rem Available values are
  3. rem vesa  --  This is the mode which should work everywhere
  4. rem et4000  --  Tseng ET4000 chipset
  5. rem cl5426  --  Cirrus Logic chipset
  6. rem mach64  --  ATI
  7. rem stdvga  --  DEVIL will work but you can't fit textures
  8. rem s3svga  --  This is accelerated. If you've a S3-card give it a chance.
  9. rem I don't know if they all will work, I've only tested vesa and s3svga
  10. set grx20drv=vesa
  11. rem This is for key moving
  12. mode CON: Rate=32 Delay=1
  13. copy >nul levels\tmpdevil.msn .. 
  14. d %1 %2
  15. :loop
  16. if errorlevel 2 goto done
  17. copy >nul levels\tmpdevil.rdl ..\tmpdevil.rdl 
  18. cd ..
  19. call descent
  20. cd devil
  21. d tmpdevil
  22. goto loop
  23. :done
  24. if errorlevel 1 goto ok
  25. echo Devil ended with an error. Here's the file devil.err:
  26. type devil.err |more
  27. :ok
  28. if exist levels\tmpdevil.rdl del levels\tmpdevil.rdl
  29. if exist ..\tmpdevil.rdl del ..\tmpdevil.rdl
  30. del ..\tmpdevil.msn
  31. rem This is that you can type in the normal way
  32. mode CON: Rate=21 Delay=2
  33.