home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / bbs_opus / dmagic10.arj / GAMES.BAT < prev    next >
Encoding:
DOS Batch File  |  1991-07-02  |  2.0 KB  |  141 lines

  1. @echo off
  2.  
  3. :loop
  4.  
  5. ******* make sure fossil is active
  6.  
  7. xu capture:on
  8. cls
  9. f:
  10. cd\dormagic
  11.  
  12. ******* delete any old dmexit files hanging around for this task.
  13.  
  14. del dmexit%1.* > nul
  15. del dorparm%1.dat > nul
  16.  
  17. ******* Fire up Dormagic. Use the param file of DORMAGI1.PRM for task 1
  18.  
  19. dormagic /P f:\dormagic\dormagi%1.prm
  20.  
  21. ******* Fatal exits first..(in case a dmexit file left lying around.
  22.  
  23. if exist dmexit%1.bye goto end
  24. if exist dmexit%1.$$2 goto end
  25. if exist dmexit%1.$$5 goto end
  26.  
  27. ******* Check for the games flag files.
  28.  
  29. if exist dmexit%1.who goto whodunit
  30. if exist dmexit%1.lch goto leech
  31. if exist dmexit%1.fsh goto fish
  32. if exist dmexit%1.sft goto star
  33. if exist dmexit%1.kob goto king
  34. if exist dmexit%1.yt goto game3
  35. if exist dmexit%1.tw goto game1
  36. if exist dmexit%1.trk goto trek
  37. if exist dmexit%1.pha goto phantasia
  38. if exist dmexit%1.gw goto game2
  39. if exist dmexit%1.bar goto barons
  40. if exist dmexit%1.con goto conquest
  41. goto end
  42.  
  43.  
  44. ******* Leech the Card Game.
  45.  
  46. :leech
  47. g:
  48. cd\leech
  49. leech g:\leech
  50. f:
  51. cd\opus
  52. goto loop
  53.  
  54. ******* WhoDunnit the Cluedo Game.
  55.  
  56. :whodunit
  57. g:
  58. cd\whodun
  59. whodunit whodunit.cfg
  60. goto loop
  61.  
  62. ******* Fresh Water Fishing
  63.  
  64. :fish
  65. call g:\ffs\fish %1
  66. goto loop
  67.  
  68. ******* Star Fight  WARNING needs LOTS of memory. 512K min.!
  69.  
  70. :star
  71. call g:\star\sfight %1
  72. goto loop
  73.  
  74. ******* Land of the Barons. (Yes it DOES work)
  75.  
  76. :barons
  77. call g:\baron\bars %1
  78. goto loop
  79.  
  80. ******* Tradewars
  81.  
  82. :Game1
  83. cls
  84. g:
  85. cd\twars
  86. call twars112.bat %1
  87. goto loop
  88.  
  89. ******* Galactic Warzone.
  90.  
  91. :game2
  92. cls
  93. f:
  94. cd\opus
  95. call g:\galwar\gal112.bat %1
  96. goto loop
  97.  
  98. ******* Yankee Trader
  99.  
  100. :game3
  101. cls
  102. g:
  103. cd\yt
  104. call trader.bat %1
  105. f:
  106. cd\opus
  107. goto loop
  108.  
  109. *******  Phantasia
  110.  
  111. :phantasia
  112. g:
  113. cd\phan
  114. phant %1
  115. f:
  116. cd\opus
  117. goto loop
  118.  
  119. *******  King of the Boards.
  120.  
  121. :king
  122. call g:\king\king.bat
  123. goto loop
  124.  
  125. *******  Galactic Conquest.
  126.  
  127. :conquest
  128. call g:\conquest\conq.bat %1
  129. goto loop
  130.  
  131. *******  Head back to the BBS.
  132.  
  133. :end
  134. capture
  135. del dmexit%1.* > nul
  136.  
  137. r:
  138. cd\opus
  139. cls
  140.  
  141.