iigs-game-engine/demos/kfest-2022/demo-9/build-image.bat

19 lines
575 B
Batchfile
Raw Normal View History

2022-07-22 01:29:55 +00:00
echo off
REM Copy all of the assets into the ProDOS image for emulator testing
REM
REM Pass the path of the Cadius tool as the first argument (%1)
set CADIUS="%1"
set IMAGE="..\\..\\..\\emu\\Target.2mg"
set FOLDER="/GTEDEV/KFestDemo09"
REM Cadius does not overwrite files, so clear the root folder first
%CADIUS% DELETEFOLDER %IMAGE% %FOLDER%
%CADIUS% CREATEFOLDER %IMAGE% %FOLDER%
REM Now copy files and folders as needed
%CADIUS% ADDFILE %IMAGE% %FOLDER% .\GTEDemo9
%CADIUS% ADDFILE %IMAGE% %FOLDER% .\gen\bg1.bin
%CADIUS% ADDFILE %IMAGE% %FOLDER% ..\..\..\src\Tool160