home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p034 / 13.ddi / GRINST.BAT < prev    next >
Encoding:
DOS Batch File  |  1993-09-01  |  3.5 KB  |  128 lines

  1. echo off
  2.  
  3. :disk1
  4. rem echo 1H
  5. rem echo Insert Arc+ Render Diskette No. 1 into Drive %1
  6. :cdisk1
  7. if exist %1\grender1.dsk goto rdisk1
  8. echo 1H
  9. echo Wrong Diskette, Insert Diskette No. 1 into Drive %1
  10. pause Press any key to continue ...
  11. goto cdisk1
  12. :rdisk1
  13. echo 1H1H1H1HSystem Diskette No. 1
  14. if not exist %1\arcasys\*.* echo "Error"
  15. echo 4HCopying files to         %2\arcasys...
  16. copy %1\arcasys\*.* c:\arcasys\*.* >nul
  17. if not exist %1\arca\*.* echo "Error"
  18. echo 4HCopying files to         %2\arca...
  19. copy %1\arca\*.* %2\arca\*.* >nul
  20. if not exist %2\arcarndr\*.* md %2\arcarndr
  21. if not exist %1\arcarndr\*.* echo "Error"
  22. echo 4HCopying files to         %2\arcarndr...
  23. %2
  24. cd\arcarndr
  25. %2\arca\pkunzip -o -d %1\arcarndr\*.zip *.* >nul
  26.  
  27.  
  28.  
  29. :disk2
  30. echo 1H
  31. echo Insert Arc+ Render Diskette No. 2 into Drive %1
  32. :cdisk2
  33. pause Press any key to continue ...
  34. if exist %1\grender2.dsk goto rdisk2
  35. echo 1H
  36. echo Wrong Diskette, Insert Diskette No. 2 into Drive %1
  37. goto cdisk2
  38. :rdisk2
  39. echo 1H1H1H1HSystem Diskette No. 2
  40. if not exist %1\arcaovl\*.* echo "Error"
  41. echo 4HCopying files to         %2\arcaovl...
  42. %2
  43. cd\arcaovl
  44. if exist GRLIGHTS.EXE del GRLIGHTS.EXE
  45. if exist GRCATRIB.EXE del GRCATRIB.EXE
  46. if exist GRMATRIB.EXE del GRMATRIB.EXE
  47. if exist GRTATRIB.EXE del GRTATRIB.EXE
  48. if exist GROVL1.EXE   del GROVL1.EXE
  49. if exist GRTMAIN.EXE  del GRTMAIN.EXE
  50. if exist GMAIN.EXE    del GMAIN.EXE
  51. %2\arca\pkunzip -o -d %1\arcaovl\*.zip *.* >nul
  52. if not exist %1\arcarndr\*.* echo "Error"
  53. echo 4HCopying files to         %2\arcarndr...
  54. %2
  55. cd\arcarndr
  56. %2\arca\pkunzip -o -d %1\arcarndr\*.zip *.* >nul
  57.  
  58. :disk3
  59. echo 1H
  60. echo Insert Arc+ Render Diskette No. 3 into Drive %1
  61. :cdisk3
  62. pause Press any key to continue ...
  63. if exist %1\grender3.dsk goto rdisk3
  64. echo 1H
  65. echo Wrong Diskette, Insert Diskette No. 3 into Drive %1
  66. goto cdisk3
  67. :rdisk3
  68. echo 1H1H1H1HSystem Diskette No. 3
  69. if not exist %1\arcarndr\*.* echo "Error"
  70. echo 4HCopying files to         %2\arcarndr...
  71. %2
  72. cd\arcarndr
  73. %2\arca\pkunzip -o -d %1\arcarndr\*.zip *.* >nul
  74.  
  75. :disk4
  76. echo 1H
  77. echo Insert Arc+ Render Diskette No. 4 into Drive %1
  78. :cdisk4
  79. pause Press any key to continue ...
  80. if exist %1\grender4.dsk goto rdisk4
  81. echo 1H
  82. echo Wrong Diskette, Insert Diskette No. 4 into Drive %1
  83. goto cdisk4
  84. :rdisk4
  85. echo 1H1H1H1HSystem Diskette No. 4
  86. if not exist %1\arcarndr\*.* echo "Error"
  87. echo 4HCopying files to         %2\arcarndr...
  88. %2
  89. cd\arcarndr
  90. %2\arca\pkunzip -o -d %1\arcarndr\*.zip *.* >nul
  91.  
  92. :disk5
  93. echo 1H
  94. echo Insert Arc+ Render Diskette No. 5 into Drive %1
  95. :cdisk5
  96. pause Press any key to continue ...
  97. if exist %1\grender5.dsk goto rdisk5
  98. echo 1H
  99. echo Wrong Diskette, Insert Diskette No. 5 into Drive %1
  100. goto cdisk5
  101. :rdisk5
  102. echo 1H1H1H1HSystem Diskette No. 5
  103. if not exist %1\arcarndr\*.* echo "Error"
  104. echo 4HCopying files to         %2\arcarndr...
  105. %2
  106. cd\arcarndr
  107. %2\arca\pkunzip -o -d %1\arcarndr\*.zip *.* >nul
  108.  
  109. :cont
  110. %2
  111. mkdir %2\arcarndr\texture\2dmap\tmp
  112. cd \arca
  113. ginstutl FindPath %2\arcarndr
  114. if not errorlevel = 1 goto cont1
  115. ginstutl AppAutoExec @rem *************************
  116. ginstutl AppAutoExec @rem *** ARC+ Render *********
  117. ginstutl AppAutoExec @rem *************************
  118. ginstutl AppAutoExec PATH=#PATH#;%2\arcarndr
  119. PATH=%PATH%;%2\arcarndr
  120. :cont1
  121. call gcompile %2
  122. call compile
  123. :endupd
  124.  
  125. :end
  126. cd\
  127. echo 
  128.