home *** CD-ROM | disk | FTP | other *** search
/ Virtual Reality Homebrewer's Handbook / vr.iso / runme.bat < prev   
DOS Batch File  |  1996-06-10  |  6KB  |  335 lines

  1. @echo off
  2.  
  3. :start
  4. cd \system
  5. menu disk.dta
  6. if errorlevel 18 goto 3dgraph
  7. if errorlevel 17 goto wauthor32
  8. if errorlevel 16 goto acroread
  9. if errorlevel 15 goto brender
  10. if errorlevel 14 goto vdemo
  11. if errorlevel 13 goto claywrks
  12. if errorlevel 12 goto carpet
  13. if errorlevel 11 goto height
  14. if errorlevel 10 goto wauthor16
  15. if errorlevel 9 goto rwcyber
  16. if errorlevel 8 goto virtus
  17. if errorlevel 7 goto wtk
  18. if errorlevel 6 goto 2mro
  19. if errorlevel 5 goto rend386
  20. if errorlevel 4 goto 3dware
  21. if errorlevel 3 goto vroom
  22. if errorlevel 2 goto vr386
  23. if errorlevel 1 goto avril
  24. if errorlevel 0 goto exit
  25.  
  26. goto exit
  27.  
  28. :avril
  29. cls
  30. echo"
  31. echo Loading Avril demo...
  32. cd \avril
  33. av.exe sample.wld
  34. cls
  35. echo"
  36. echo The Avril library, manual and examples can be found on the CD-ROM
  37. echo in the \AVRIL subdirectory.
  38. echo"
  39. echo"
  40. echo Returning to main software menu...
  41. pause
  42. goto start
  43.  
  44. :vr386
  45. cls
  46. echo"
  47. echo Loading VR386 demo...
  48. cd \vr386
  49. vr386.exe rides.wld
  50. cls
  51. echo"
  52. echo The VR386 software and documentation can be found on the CD-ROM
  53. echo in the \VR386 subdirectory.
  54. echo"
  55. echo"
  56. echo Returning to main software menu.
  57. pause
  58. goto start
  59.  
  60. :vroom
  61. cls
  62. echo"
  63. echo Installing VROOM files...
  64. cd \vroom
  65. \system\filecopy C:\VROOM namedemo.exe
  66. cls
  67. echo"
  68. echo There are plenty more demos in the new directory.
  69. echo Read READ.ME for more details.
  70. echo"
  71. echo Returning to main software menu.
  72. pause
  73. goto start
  74.  
  75. :3dware
  76. cls
  77. echo"
  78. echo Installing Virtek 3D-Ware...
  79. cd \3dware
  80. install.exe
  81. cls
  82. echo"
  83. echo Virtek 3d-Ware installation complete.
  84. echo"
  85. echo To run the demo, change to the 'demos' subdirectory and run 'demo.bat'
  86. echo"
  87. echo A full manual in Adobe Acrobat form can be found on the CD ROM in the
  88. echo \3DWARE\MANUAL subdirectory. The Adobe Acrobat reader can be installed
  89. echo through the main software menu.
  90. echo"
  91. echo"
  92. echo Returning to main software menu.
  93. pause
  94. goto start
  95.  
  96. :rend386
  97. cls
  98. echo"
  99. echo Loading Rend386 demo...
  100. cd \rend386\room
  101. ..\demo4.exe room5.wld
  102. cls
  103. echo"
  104. echo Returning to main software menu...
  105. goto start
  106.  
  107. :2mro
  108. cls
  109. echo"
  110. echo Loading World Builder demo...
  111. cd \2mro
  112. demo
  113. cls
  114. echo"
  115. echo Please wait...
  116. 2mwb.exe
  117. cls
  118. echo"
  119. echo Returning to main software menu...
  120. goto start
  121.  
  122. :wtk
  123. cls
  124. echo"
  125. echo Loading WorldToolKit for Windows demo...
  126. cd \wtk_win
  127. win setup.exe
  128. cls
  129. echo"
  130. echo Returning to main software menu...
  131. goto start
  132.  
  133. :virtus
  134. cls
  135. echo"
  136. echo Loading Virtus Player...
  137. cd \virtus
  138. win vplayer.exe
  139. cls
  140. echo"
  141. echo Returning to main software menu...
  142. goto start
  143.  
  144. :rwcyber
  145. cls
  146. echo"
  147. echo Loading Renderware CyberStreet demo...
  148. echo"
  149. echo This could take some time.
  150. echo"
  151. pause
  152. cd \rwcyber
  153. win rwcyber.exe
  154. cls
  155. echo"
  156. echo Returning to main software menu...
  157. goto start
  158.  
  159. :wauthor16
  160. cls
  161. echo"
  162. echo Loading WadAuthor demo (16 bit version)...
  163. cd \wauthor
  164. \system\filecopy C:\WAUTHOR wauthr16.bat
  165. cls
  166. echo"
  167. echo Returning to main software menu...
  168. goto start
  169.  
  170. :wauthor32
  171. cls
  172. echo"
  173. echo Loading WadAuthor demo (32 bit version)...
  174. cd \wauthor
  175. \system\filecopy C:\WAUTHOR wauthor.bat
  176. cls
  177. echo"
  178. echo Returning to main software menu...
  179. goto start
  180.  
  181. :3dgraph
  182. cls;
  183. echo"
  184. echo Example code from chapter 2 is in directory \3DGRAPH
  185. echo C code is in \3DGRAPH\C
  186. echo Pascal code is in \3DGRAPH\PASCAL
  187. echo"
  188. echo Example CyberMaxx tracking code is in directory \CYBERMAX
  189. echo C code is in \CYBERMAX\C
  190. echo Pascal code is in \CYBERMAX\PASCAL
  191. echo"
  192. echo"
  193. echo Loading one example from chapter 2
  194. echo"
  195. pause
  196. cd \3dgraph\pascal
  197. chap2_12
  198. cls
  199. echo"
  200. echo Returning to main software menu...
  201. goto start
  202.  
  203. :height
  204. cls
  205. echo"
  206. echo Loading Height terrain demo...
  207. cd \terrain
  208. height
  209. cls
  210. echo"
  211. echo Returning to main software menu...
  212. goto start
  213.  
  214. :carpet
  215. cls
  216. echo"
  217. echo Loading Magic Carpet demo...
  218. cd \carpet
  219. carpet.exe
  220. cls
  221. echo"
  222. echo Returning to main software menu...
  223. goto start
  224.  
  225. :claywrks
  226. cls
  227. echo"
  228. echo Loading Clayworks tool...
  229. cd \claywork
  230. claywrks.exe
  231. cls
  232. echo"
  233. echo Returning to main software menu...
  234. goto start
  235.  
  236. :vdemo
  237. cls
  238. echo"
  239. echo Installing Veriscope files...
  240. cd \vscope
  241. \system\filecopy C:\VSCOPE vdemo.exe
  242. cls
  243. echo"
  244. echo Returning to main software menu...
  245. goto start
  246.  
  247.  
  248. :acroread
  249. cls
  250. echo"
  251. echo Installing Adobe Acrobat reader.
  252. echo"
  253. echo After installation you can find the Virtek 3D-Ware manual on the CD-ROM
  254. echo in the \3DWARE\MANUAL directory as MANUAL.PDF
  255. echo"
  256. pause
  257. cd \3dware\manual\acrobat
  258. win acroread.exe
  259. cls
  260. echo"
  261. echo Returning to main software menu...
  262. goto start
  263.  
  264. :brender
  265. cd \system
  266. menu brender.dta
  267. if errorlevel 5 goto spacerig
  268. if errorlevel 4 goto fly
  269. if errorlevel 3 goto bis
  270. if errorlevel 2 goto broom
  271. if errorlevel 1 goto rdemo
  272. if errorlevel 0 goto start
  273. goto start
  274.          
  275. :rdemo
  276. cls
  277. echo"
  278. echo Loading BRender Reflection demo...
  279. cd \brender\rdemo
  280. runme
  281. cls
  282. echo"
  283. echo Returning to BRender demo menu...
  284. goto brender
  285.  
  286. :broom
  287. cls
  288. echo"
  289. echo Loading BRender BROOM demo...
  290. cd \brender\broom
  291. broom
  292. cls
  293. echo"
  294. echo Returning to BRender demo menu...
  295. goto brender
  296.  
  297. :bis
  298. cls
  299. echo"
  300. echo Loading BRender in Space demo...
  301. cd \brender\bis
  302. game.exe
  303. cls
  304. echo"
  305. echo Returning to BRender demo menu...
  306. goto brender
  307.  
  308. :fly
  309. cls
  310. echo"
  311. echo Loading BRender Fly demo...
  312. cd \brender\fly
  313. flylo.bat
  314. cls
  315. echo"
  316. echo Returning to BRender demo menu...
  317. goto brender
  318.  
  319. :spacerig
  320. cls
  321. echo"
  322. echo Loading BRender Space Rig demo...
  323. cd \brender\spacerig
  324. runme.bat lowres
  325. cls
  326. echo"
  327. echo Returning to BRender demo menu...
  328. goto brender
  329.  
  330. :exit
  331. cd \
  332. cls
  333. echo Happy homebrewing!
  334. echo"
  335.