#! /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/boulder/bellatrix/bd_pal.spin ${BSTC} -L ${libpath} ${D} -b -O a source/boulder/bellatrix/bd_ntsc.spin mv bd_pal.binary "${sdtbox}/boulder/bd_pal.bin" mv bd_ntsc.binary "${sdtbox}/boulder/bd_ntsc.bin" ${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} -b -O a source/stracker/bellatrix/stint.spin cp stint.binary "${sdsnd}/hss/stint.bin" 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"