process 2bpp images and tilemaps

This commit is contained in:
nytpu 2020-10-01 22:08:45 -06:00
parent c22c25b9ae
commit 4d1b1e3520
1 changed files with 7 additions and 0 deletions

View File

@ -54,6 +54,13 @@ $(RESDIR)/%.1bpp: $(RESDIR)/%.png
@$(MKDIR) -p $(@D)
$(RGBGFX) -d 1 -o $@ $<
$(RESDIR)/%.2bpp: $(RESDIR)/%.png
@$(MKDIR) -p $(@D)
$(RGBGFX) -t $@.tilemap -u -o $@ $<
$(RESDIR)/%.tilemap: $(RESDIR)/%.2bpp
# Define how to compress files using the PackBits16 codec
# Compressor script requires Python 3
$(RESDIR)/%.pb16 $(RESDIR)/%.pb16.size: $(RESDIR)/% tools/pb16.py