iigs-game-engine/demos/shell/build-image.bat

22 lines
707 B
Batchfile
Raw Normal View History

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"
2021-08-26 21:45:23 +00:00
set IMAGE="..\\..\\emu\\Target.2mg"
set FOLDER="/GTEDEV/Build"
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% .\GTETestApp
%CADIUS% ADDFILE %IMAGE% %FOLDER% gen\test.pic
%CADIUS% ADDFILE %IMAGE% %FOLDER% gen\bg1a.bin
%CADIUS% ADDFILE %IMAGE% %FOLDER% gen\bg1b.bin
%CADIUS% ADDFILE %IMAGE% %FOLDER% gen\fg1.bin
%CADIUS% ADDFILE %IMAGE% %FOLDER% assets\music\main.ntp