home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual Reality Homebrewer's Handbook
/
vr.iso
/
runme.bat
< prev
Wrap
DOS Batch File
|
1996-06-10
|
6KB
|
335 lines
@echo off
:start
cd \system
menu disk.dta
if errorlevel 18 goto 3dgraph
if errorlevel 17 goto wauthor32
if errorlevel 16 goto acroread
if errorlevel 15 goto brender
if errorlevel 14 goto vdemo
if errorlevel 13 goto claywrks
if errorlevel 12 goto carpet
if errorlevel 11 goto height
if errorlevel 10 goto wauthor16
if errorlevel 9 goto rwcyber
if errorlevel 8 goto virtus
if errorlevel 7 goto wtk
if errorlevel 6 goto 2mro
if errorlevel 5 goto rend386
if errorlevel 4 goto 3dware
if errorlevel 3 goto vroom
if errorlevel 2 goto vr386
if errorlevel 1 goto avril
if errorlevel 0 goto exit
goto exit
:avril
cls
echo"
echo Loading Avril demo...
cd \avril
av.exe sample.wld
cls
echo"
echo The Avril library, manual and examples can be found on the CD-ROM
echo in the \AVRIL subdirectory.
echo"
echo"
echo Returning to main software menu...
pause
goto start
:vr386
cls
echo"
echo Loading VR386 demo...
cd \vr386
vr386.exe rides.wld
cls
echo"
echo The VR386 software and documentation can be found on the CD-ROM
echo in the \VR386 subdirectory.
echo"
echo"
echo Returning to main software menu.
pause
goto start
:vroom
cls
echo"
echo Installing VROOM files...
cd \vroom
\system\filecopy C:\VROOM namedemo.exe
cls
echo"
echo There are plenty more demos in the new directory.
echo Read READ.ME for more details.
echo"
echo Returning to main software menu.
pause
goto start
:3dware
cls
echo"
echo Installing Virtek 3D-Ware...
cd \3dware
install.exe
cls
echo"
echo Virtek 3d-Ware installation complete.
echo"
echo To run the demo, change to the 'demos' subdirectory and run 'demo.bat'
echo"
echo A full manual in Adobe Acrobat form can be found on the CD ROM in the
echo \3DWARE\MANUAL subdirectory. The Adobe Acrobat reader can be installed
echo through the main software menu.
echo"
echo"
echo Returning to main software menu.
pause
goto start
:rend386
cls
echo"
echo Loading Rend386 demo...
cd \rend386\room
..\demo4.exe room5.wld
cls
echo"
echo Returning to main software menu...
goto start
:2mro
cls
echo"
echo Loading World Builder demo...
cd \2mro
demo
cls
echo"
echo Please wait...
2mwb.exe
cls
echo"
echo Returning to main software menu...
goto start
:wtk
cls
echo"
echo Loading WorldToolKit for Windows demo...
cd \wtk_win
win setup.exe
cls
echo"
echo Returning to main software menu...
goto start
:virtus
cls
echo"
echo Loading Virtus Player...
cd \virtus
win vplayer.exe
cls
echo"
echo Returning to main software menu...
goto start
:rwcyber
cls
echo"
echo Loading Renderware CyberStreet demo...
echo"
echo This could take some time.
echo"
pause
cd \rwcyber
win rwcyber.exe
cls
echo"
echo Returning to main software menu...
goto start
:wauthor16
cls
echo"
echo Loading WadAuthor demo (16 bit version)...
cd \wauthor
\system\filecopy C:\WAUTHOR wauthr16.bat
cls
echo"
echo Returning to main software menu...
goto start
:wauthor32
cls
echo"
echo Loading WadAuthor demo (32 bit version)...
cd \wauthor
\system\filecopy C:\WAUTHOR wauthor.bat
cls
echo"
echo Returning to main software menu...
goto start
:3dgraph
cls;
echo"
echo Example code from chapter 2 is in directory \3DGRAPH
echo C code is in \3DGRAPH\C
echo Pascal code is in \3DGRAPH\PASCAL
echo"
echo Example CyberMaxx tracking code is in directory \CYBERMAX
echo C code is in \CYBERMAX\C
echo Pascal code is in \CYBERMAX\PASCAL
echo"
echo"
echo Loading one example from chapter 2
echo"
pause
cd \3dgraph\pascal
chap2_12
cls
echo"
echo Returning to main software menu...
goto start
:height
cls
echo"
echo Loading Height terrain demo...
cd \terrain
height
cls
echo"
echo Returning to main software menu...
goto start
:carpet
cls
echo"
echo Loading Magic Carpet demo...
cd \carpet
carpet.exe
cls
echo"
echo Returning to main software menu...
goto start
:claywrks
cls
echo"
echo Loading Clayworks tool...
cd \claywork
claywrks.exe
cls
echo"
echo Returning to main software menu...
goto start
:vdemo
cls
echo"
echo Installing Veriscope files...
cd \vscope
\system\filecopy C:\VSCOPE vdemo.exe
cls
echo"
echo Returning to main software menu...
goto start
:acroread
cls
echo"
echo Installing Adobe Acrobat reader.
echo"
echo After installation you can find the Virtek 3D-Ware manual on the CD-ROM
echo in the \3DWARE\MANUAL directory as MANUAL.PDF
echo"
pause
cd \3dware\manual\acrobat
win acroread.exe
cls
echo"
echo Returning to main software menu...
goto start
:brender
cd \system
menu brender.dta
if errorlevel 5 goto spacerig
if errorlevel 4 goto fly
if errorlevel 3 goto bis
if errorlevel 2 goto broom
if errorlevel 1 goto rdemo
if errorlevel 0 goto start
goto start
:rdemo
cls
echo"
echo Loading BRender Reflection demo...
cd \brender\rdemo
runme
cls
echo"
echo Returning to BRender demo menu...
goto brender
:broom
cls
echo"
echo Loading BRender BROOM demo...
cd \brender\broom
broom
cls
echo"
echo Returning to BRender demo menu...
goto brender
:bis
cls
echo"
echo Loading BRender in Space demo...
cd \brender\bis
game.exe
cls
echo"
echo Returning to BRender demo menu...
goto brender
:fly
cls
echo"
echo Loading BRender Fly demo...
cd \brender\fly
flylo.bat
cls
echo"
echo Returning to BRender demo menu...
goto brender
:spacerig
cls
echo"
echo Loading BRender Space Rig demo...
cd \brender\spacerig
runme.bat lowres
cls
echo"
echo Returning to BRender demo menu...
goto brender
:exit
cd \
cls
echo Happy homebrewing!
echo"