Toolbox-2/make.bat

78 lines
2.5 KiB
Batchfile
Raw Normal View History

2014-05-07 16:07:36 +02:00
echo on
date /T
time /T
REM # Definitionen
REM set D="-D __DEBUG -D __LANG_EN"
REM set D="-D __LANG_EN"
set D="-D __LANG_DE"
REM # Pfade
set bin="..\Bin"
REM set bin="\home\ftp\hive"
set sdtbox="%bin%\sdcard\tbox-2"
set sdsnd="%bin%\sdcard\sounds"
set sdsys="%bin%\sdcard\system"
set libpath="..\TriOS\lib"
set BSTC=bstc.exe
REM ----------------------------------------------------------------
REM Alte Versionen löschen
rmdir %sdsnd% /S /Q
rmdir %sdtbox% /S /Q
mkdir %sdsnd%
mkdir %sdtbox%
mkdir %sdtbox%\demo
mkdir %sdtbox%\boulder
mkdir %sdtbox%\shoot
mkdir %sdtbox%\stracker
REM del %sdsys%\xxxxxx
REM mkdir %sdsys%
REM ----------------------------------------------------------------
REM Daten kopieren
xcopy .\sounds\*.* %sdsnd%\ /S /E
REM ----------------------------------------------------------------
REM Bin-Dateien erzeugen
%BSTC% -L %libpath% %D% -b -O a .\source\3dmulti\3dmulti.spin
move 3dmulti.binary "%sdtbox%/demo/3dmulti.bel"
%BSTC% -L %libpath% %D% -b -O a .\source\boing\boing-reg.spin
move boing-reg.binary "%sdtbox%\demo\boing.bin"
%BSTC% -L %libpath% %D% -b -O a .\source\boing\boing-bel.spin
move 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
move admflash.binary "%sdtbox%\demo\boing.adm"
copy .\source\boing\boing.sid "%sdtbox%\demo\"
%BSTC% -L %libpath% %D% -D __TV_NTSC -b -O a .\source\boulder\bellatrix\bd_tv.spin
move bd_tv.binary "%sdtbox%\boulder\bd_ntsc.bel"
%BSTC% -L %libpath% %D% -D __TV_PAL -b -O a .\source\boulder\bellatrix\bd_tv.spin
move bd_tv.binary "%sdtbox%\boulder\bd_pal.bel"
%BSTC% -L %libpath% %D% -b -O a .\source\boulder\regnatix\bd.spin
move bd.binary "%sdtbox%\boulder\bd.bin"
copy .\source\boulder\musik\bd.wav "%sdtbox%\boulder\"
%BSTC% -L %libpath% %D% -b -O a .\source\shoot\bellatrix\shoot.spin
move shoot.binary "%sdtbox%\shoot\shoot.bel"
%BSTC% -L %libpath% %D% -b -O a .\source\shoot\regnatix\shoot.spin
move shoot.binary "%sdtbox%\shoot\shoot.bin"
copy .\source\shoot\musik\*.hss "%sdtbox%\shoot\"
%BSTC% -L %libpath% %D% -b -O a .\source\vecdem\vecdem.spin
move vecdem.binary "%sdtbox%\demo\vecdem.bel"
2014-06-22 20:12:46 +02:00
%BSTC% -L %libpath% %D% -D __VGA_MONSET1 -b -O a .\source\stracker\bellatrix\stint.spin
2014-05-07 16:07:36 +02:00
copy stint.binary "%sdsnd%\hss\stint.bel"
move stint.binary "%sdtbox%\stracker\stint.bel"
%BSTC% -L %libpath% %D% -b -O a .\source\stracker\regnatix\stplay.spin
copy stplay.binary "%sdsnd%\hss\stplay.bin"
move stplay.binary "%sdtbox%\stracker\stplay.bin"
echo off