@echo off
rem This file is part of the Skin Generator, Copyright (c) 2004 Alexander R. Pruss
rem
rem This program is free software; you can redistribute it and/or
rem modify it under the terms of the GNU General Public License
rem as published by the Free Software Foundation; either version 2
rem of the License, or (at your option) any later version.
rem
rem This program is distributed in the hope that it will be useful,
rem but WITHOUT ANY WARRANTY; without even the implied warranty of
rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
rem GNU General Public License for more details.
rem
rem You should have received a copy of the GNU General Public License
rem along with this program; if not, write to the Free Software
rem Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
if not %1!==! goto run
echo This uses the template*.png files together with a single input
echo .bmp file to generate semitransparent Graffiti, Graffiti-Capitalizer
echo (with punctuation area set to NE numeric) and Status Bar skins.
echo Just run:
echo   skins16 file.bmp dbName
goto done
:run
for %%1 in (1 2 3 4 5 6) do composite templates/Standard-%%1.png "%1" temp%%1.bmp
echo call graffiti16.bat temp1.bmp temp6.bmp "%2-GF"
call graffiti16.bat temp1.bmp temp6.bmp "%2-GF"
echo call sb16.bat temp1.bmp temp2.bmp temp3.bmp temp4.bmp temp5.bmp temp6.bmp "%2-SB"
call sb16 temp1.bmp temp2.bmp temp3.bmp temp4.bmp temp5.bmp temp6.bmp "%2-SB"
echo composite templates/Standard-Cap.png temp1.bmp tempcap1.bmp
composite templates/Standard-Cap.png temp1.bmp tempcap1.bmp
echo composite templates/Standard-Cap.png temp6.bmp tempcap6.bmp
composite templates/Standard-Cap.png temp6.bmp tempcap6.bmp
echo call graffiti16 tempcap1.bmp tempcap6.bmp "%2-Cap-GF"
call graffiti16 tempcap1.bmp tempcap6.bmp "%2-Cap-GF"
for %%1 in (1 2 3 4 5 6) do composite templates/NR-Standard-%%1.png "%1" temp%%1.bmp
echo call sb16nr.bat temp1.bmp temp2.bmp temp3.bmp temp4.bmp temp5.bmp temp6.bmp "%2-SB-NR"
call sb16nr temp1.bmp temp2.bmp temp3.bmp temp4.bmp temp5.bmp temp6.bmp "%2-SB-NR"
del temp?.bmp
del tempcap?.bmp
:done

