#! /bin/sh # Definitionen ##D="-D __DEBUG -D __LANG_EN" ##D="-D __LANG_EN" D="-D __LANG_DE" # Pfade bin="../Bin" ##bin="/home/ftp/hive" sdtbox="${bin}/sdcard/tbox-2" sdsnd="${bin}/sdcard/sounds" sdsys="${bin}/sdcard/system" libpath="../TriOS/lib" BSTC="bstc" # ---------------------------------------------------------------- # Alte Versionen löschen rm -rf ${sdsnd} rm -rf ${sdtbox} mkdir -p ${sdsnd} mkdir -p ${sdtbox} mkdir ${sdtbox}/demo mkdir ${sdtbox}/boulder mkdir ${sdtbox}/shoot mkdir ${sdtbox}/stracker ##rm -f ${sdsys}/xxxxxx ##mkdir -p ${sdsys} # ---------------------------------------------------------------- # Daten kopieren cp -r sounds/* ${sdsnd} # ---------------------------------------------------------------- # Bin-Dateien erzeugen ${BSTC} -L ${libpath} ${D} -b -O a source/3dmulti/3dmulti.spin mv 3dmulti.binary "${sdtbox}/demo/3dmulti.bel" ${BSTC} -L ${libpath} ${D} -b -O a source/boing/boing-reg.spin mv boing-reg.binary "${sdtbox}/demo/boing.bin" ${BSTC} -L ${libpath} ${D} -b -O a source/boing/boing-bel.spin mv boing-bel.binary "${sdtbox}/demo/boing.bel" ${BSTC} -L ${libpath} ${D} -D __ADM_FAT -D __ADM_SID -b -O a ../TriOS/flash/administra/admflash.spin mv admflash.binary "${sdtbox}/demo/boing.adm" cp source/boing//boing.sid "${sdtbox}/demo/" ${BSTC} -L ${libpath} ${D} -D __TV_NTSC -b -O a source/boulder/bellatrix/bd_tv.spin mv bd_tv.binary "${sdtbox}/boulder/bd_ntsc.bel" ${BSTC} -L ${libpath} ${D} -D __TV_PAL -b -O a source/boulder/bellatrix/bd_tv.spin mv bd_tv.binary "${sdtbox}/boulder/bd_pal.bel" ${BSTC} -L ${libpath} ${D} -b -O a source/boulder/regnatix/bd.spin mv bd.binary "${sdtbox}/boulder/bd.bin" cp source/boulder/musik/bd.wav "${sdtbox}/boulder/" ${BSTC} -L ${libpath} ${D} -b -O a source/shoot/bellatrix/shoot.spin mv shoot.binary "${sdtbox}/shoot/shoot.bel" ${BSTC} -L ${libpath} ${D} -b -O a source/shoot/regnatix/shoot.spin mv shoot.binary "${sdtbox}/shoot/shoot.bin" cp source/shoot/musik/*.hss "${sdtbox}/shoot/" ${BSTC} -L ${libpath} ${D} -b -O a source/vecdem/vecdem.spin mv vecdem.binary "${sdtbox}/demo/vecdem.bel" ${BSTC} -L ${libpath} ${D} -D __VGA_MONSET1 -b -O a source/stracker/bellatrix/stint.spin cp stint.binary "${sdsnd}/hss/stint.bel" mv stint.binary "${sdtbox}/stracker/stint.bel" ${BSTC} -L ${libpath} ${D} -b -O a source/stracker/regnatix/stplay.spin cp stplay.binary "${sdsnd}/hss/stplay.bin" mv stplay.binary "${sdtbox}/stracker/stplay.bin"