echo on
date /T
time /T

REM Pfade
set sd=".\sdcard\tbox-2"
set libpath="..\hive-trios\lib"

REM ----------------------------------------------------------------
REM 3dmulti compilieren

bstc -L %libpath% -b -O a source\3dmulti\3dmulti.spin
rename *.binary *.bel
move *.bel sdcard\tbox-2\demo

REM ----------------------------------------------------------------
REM boulder dash compilieren

bstc -L %libpath% -b -O a source\boulder\bellatrix\bd_pal.spin
bstc -L %libpath% -b -O a source\boulder\bellatrix\bd_ntsc.spin
rename *.binary *.bel
move *.bel sdcard\tbox-2\boulder 

bstc -L %libpath% -b -O a source\boulder\regnatix\bd.spin
rename *.binary *.bin
move *.bin sdcard\tbox-2\boulder 

copy source\boulder\musik\bd.wav sdcard\tbox-2\boulder

REM ----------------------------------------------------------------
REM shoot compilieren

bstc -L %libpath% -b -O a source\shoot\bellatrix\shoot.spin
rename *.binary *.bel
move *.bel sdcard\tbox-2\shoot 

bstc -L %libpath% -b -O a source\shoot\regnatix\shoot.spin
rename *.binary *.bin
move *.bin sdcard\tbox-2\shoot 

copy source\shoot\musik\*.hss sdcard\tbox-2\shoot

REM ----------------------------------------------------------------
REM vecdem compilieren

bstc -L %libpath% -b -O a source\vecdem\vecdem.spin
rename *.binary *.bel
move *.bel sdcard\tbox-2\demo

REM ----------------------------------------------------------------
REM stracker compilieren

bstc -L %libpath% -D __VGA_MONSET1 -b -O a source\stracker\bellatrix\stint.spin
rename *.binary *.bel
copy *.bel sdcard\hss 
move *.bel sdcard\tbox-2\stracker

bstc -L %libpath% -b -O a source\stracker\regnatix\stplay.spin
rename *.binary *.bin
copy *.bin sdcard\hss
move *.bin sdcard\tbox-2\stracker



echo off

