chrisly42
9c48c11cd1
- Bugfix: WaitForFrame was completely broken. Now also caters for race-condition that would have waited one extra frame. - Bugfix: InitPart would overwrite innocent memory (reported by Gigabates and Losso) - Bugfix: Palette LERP had wrong bias. - Removed extra paths in include statement, use default include paths instead - Added Raspberry Casket no-jitter background calc mode (FW_MUSIC_PLAYER_CHOICE = 6) - Updated Raspberry Casket to V2.0 presto branch (WIP) - Removed fw_FrameCounterLong, use fw_FrameCounter-2 for debug purposes - Support for blue noise palette LERPing (like in Is Real). Provide your own blue noise table (4 KB), stuff it into fw_BlueNoiseTablePtr, set FW_PALETTE_LERP_SUPPORT to 2 - Music tick routine is now replaceable during runtime (fw_MusicTickRoutine) - Support for softints and audio interrupts - LMB exit can also be disabled dynamically when using FW_LMB_EXIT_SUPPORT = 2 and fw_DisableLMBExit != 0 - Added LSP Micro support and LSP Nano (custom format that uses note pitches instead of periods) - Minor other things
119 lines
4.2 KiB
Batchfile
119 lines
4.2 KiB
Batchfile
rem ############ PREPARE BUILD ############
|
|
@if X%VBCC%==X%~dp0 goto AlreadySet
|
|
@set VBCC=%~dp0
|
|
@set PATH=%VBCC%\..\tools;%PATH%
|
|
:AlreadySet
|
|
|
|
pushd ..
|
|
|
|
tools\KingCon.exe @data/blend/assets.txt
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
|
|
tools\juggler data/blend/juggle.txt
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
|
|
tools\KingCon.exe @data/bulb/assets.txt
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
|
|
tools\ZCP data/bulb/lamp_48x32x16.BPL data/bulb/lamp_48x32x16.zcp 48 32 -c data/bulb/lamp_48x32x16.chk
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
|
|
tools\KingCon.exe @data/endpart/assets.txt
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
|
|
tools\KingCon.exe @data/gotham/assets.txt
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
|
|
tools\KingCon.exe @data/gouraud/assets.txt
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
|
|
tools\KingCon.exe @data/hexagon/assets.txt
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
|
|
tools\KingCon.exe @data/kaleidoscope/assets.txt
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
|
|
tools\KingCon.exe @data/stham/assets.txt
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
|
|
tools\KingCon.exe @data/virgillbars/assets.txt
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
|
|
tools\LSPConvert.exe data\music\desire_demo_68k_v6.mod -v
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
|
|
tools\LSPConvert.exe data\music\dsr_68k_tune_2_v11.mod -nosampleoptim -v
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
|
|
tools\LSPConvert.exe data\music\desire_68k_tune3_v2.mod -nosampleoptim -v
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
|
|
popd
|
|
|
|
rem copy demo config for vasm
|
|
copy "..\tools\demo.cfg" vc.cfg
|
|
|
|
mkdir build
|
|
|
|
rem ############ ASSEMBLE PARTS ############
|
|
..\tools\vc -O2 -notmpfile -nostdlib -o "build\bulb.exe" "..\bulb\bulb.asm"
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
..\tools\vc -O2 -notmpfile -nostdlib -o "build\hexagon.exe" "..\hexagon\hexagon.asm"
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
..\tools\vc -O2 -notmpfile -nostdlib -o "build\kaleidoscope.exe" "..\kaleidoscope\kaleidoscope.asm"
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
..\tools\vc -O2 -notmpfile -nostdlib -o "build\virgillbars.exe" "..\virgillbars\virgillbars.asm"
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
..\tools\vc -O2 -notmpfile -nostdlib -o "build\blend.exe" "..\blend\blend.asm"
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
..\tools\vc -O2 -notmpfile -nostdlib -o "build\stham.exe" "..\stham\stham.asm"
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
..\tools\vc -O2 -notmpfile -nostdlib -o "build\gotham.exe" "..\gotham\gotham.asm"
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
..\tools\vc -O2 -notmpfile -nostdlib -o "build\endpart.exe" "..\endpart\endpart.asm"
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
..\tools\vc -O2 -notmpfile -nostdlib -o "build\gouraud.exe" "..\gouraud\gouraud.asm"
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
|
|
copy "..\data\music\desire_demo_68k_v6.lsbank" build
|
|
copy "..\data\music\desire_demo_68k_v6.lsmusic" build
|
|
copy "..\data\music\dsr_68k_tune_2_v11.lsbank" build
|
|
copy "..\data\music\dsr_68k_tune_2_v11.lsmusic" build
|
|
copy "..\data\music\desire_68k_tune3_v2.lsbank" build
|
|
copy "..\data\music\desire_68k_tune3_v2.lsmusic" build
|
|
copy "..\data\gotham\hamtechnology.raw" build
|
|
copy "..\data\stham\PLT_HAMph_path_2_test08b_ham.raw" build
|
|
copy "..\data\blend\fiveimg2_ham.raw" build
|
|
copy "..\data\blend\fiveimg3_ham.raw" build
|
|
copy "..\data\blend\fiveimg4_ham.raw" build
|
|
copy "..\data\blend\fiveimg5_ham.raw" build
|
|
copy "..\data\blend\PLT_DSRLogo01c_ham.raw" build
|
|
copy "..\data\endpart\screenshots_320x1620.BPL" build
|
|
|
|
rem ############ ASSEMBLE FRAMEWORK AND BOOTBLOCK ############
|
|
copy "..\tools\vc.cfg" %~dp0
|
|
|
|
..\tools\vasmm68k_mot -m68010 -Fbin -phxass -o "build\trackmo_launcher" -I"%~dp0\..\framework" -I"%~dp0\..\includes" "trackmo_launcher.asm"
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
..\tools\vasmm68k_mot -m68000 -Fbin -phxass -o "build\bootblock" -I"%~dp0\..\includes" -I"%~dp0\..\includes" "..\framework\bootblock.asm"
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
|
|
rem ############ BUILD DISK ############
|
|
..\tools\platosadf -ndb 3 -f build/demo.adf build/bootblock layout.txt
|
|
@if %ERRORLEVEL% NEQ 0 goto failed
|
|
|
|
rem ############ START DEMO ############
|
|
"..\winuae\winuae" -config="configs\a500_slow.uae" -log -s use_gui=no -s floppy0=%~dp0\build\demo.adf
|
|
|
|
rem ############ CLEANUP BUILD ############
|
|
del vc.cfg
|
|
@goto ok
|
|
|
|
rem ############ ERROR HANDLER ############
|
|
:failed
|
|
@echo error in directory "%CD%"
|
|
@echo !!!!!!!!! oh no !!!!!!!!!!!!
|
|
@pause
|
|
del vc.cfg
|
|
:ok
|