2014-05-02 20:16:37 +02:00
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
# Definitionen
|
|
|
|
##D="-D __DEBUG -D __LANG_EN"
|
|
|
|
##D="-D __LANG_EN"
|
|
|
|
D="-D __LANG_DE"
|
|
|
|
|
|
|
|
# Pfade
|
2014-05-05 12:18:15 +02:00
|
|
|
bin="../Bin"
|
|
|
|
##bin="/home/ftp/hive"
|
2014-05-02 20:16:37 +02:00
|
|
|
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"
|
|
|
|
|
2014-05-04 18:24:57 +02:00
|
|
|
${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/"
|
|
|
|
|
2014-05-03 18:12:00 +02:00
|
|
|
${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"
|
2014-05-02 20:16:37 +02:00
|
|
|
${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
|
2014-05-03 18:12:00 +02:00
|
|
|
cp stint.binary "${sdsnd}/hss/stint.bel"
|
2014-05-02 20:16:37 +02:00
|
|
|
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"
|
|
|
|
|