process 2bpp images and tilemaps
This commit is contained in:
parent
c22c25b9ae
commit
4d1b1e3520
7
Makefile
7
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue