You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Remove unused nonmatching files for electro_ball.png and sgb_border.bin
electro_ball.png needed to preserve one whitespace tile which tools/gfx would normally remove. Preserving a list of tile indexes has been added as a general feature to tools/gfx. sgb_border.bin needed to remove the 20x18 center area of $00 bytes. This is achievable with the standard tr utility.
This commit is contained in:
6
Makefile
6
Makefile
@@ -51,7 +51,7 @@ crystal-au: pokecrystal-au.gbc
|
||||
|
||||
clean:
|
||||
rm -f $(roms) $(crystal_obj) $(crystal11_obj) $(crystal_au_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym)
|
||||
find gfx \( -name "*.[12]bpp" -o -name "*.lz" -o -name "*.gbcpal" \) -delete
|
||||
find gfx \( -name "*.[12]bpp" -o -name "*.lz" -o -name "*.gbcpal" -o -name "*.sgb.tilemap" \) -delete
|
||||
find gfx/pokemon -mindepth 1 ! -path "gfx/pokemon/unown/*" \( -name "bitmask.asm" -o -name "frames.asm" -o -name "front.animated.tilemap" -o -name "front.dimensions" \) -delete
|
||||
$(MAKE) clean -C tools/
|
||||
|
||||
@@ -226,12 +226,12 @@ gfx/battle/dude.2bpp: rgbgfx += -h
|
||||
gfx/font/unused_bold_font.1bpp: tools/gfx += --trim-whitespace
|
||||
|
||||
gfx/sgb/sgb_border.2bpp: tools/gfx += --trim-whitespace
|
||||
gfx/sgb/sgb_border.sgb.tilemap: gfx/sgb/sgb_border.bin ; tr < $< -d '\000' > $@
|
||||
|
||||
gfx/mobile/ascii_font.2bpp: tools/gfx += --trim-whitespace
|
||||
gfx/mobile/dialpad.2bpp: tools/gfx += --trim-whitespace
|
||||
gfx/mobile/dialpad_cursor.2bpp: tools/gfx += --trim-whitespace
|
||||
gfx/mobile/electro_ball.2bpp: tools/gfx += --trim-whitespace
|
||||
gfx/mobile/electro_ball_nonmatching.2bpp: tools/gfx += --remove-duplicates --remove-xflip
|
||||
gfx/mobile/electro_ball.2bpp: tools/gfx += --remove-duplicates --remove-xflip --preserve=0x39
|
||||
gfx/mobile/mobile_splash.2bpp: tools/gfx += --remove-duplicates --remove-xflip
|
||||
gfx/mobile/card.2bpp: tools/gfx += --trim-whitespace
|
||||
gfx/mobile/card_2.2bpp: tools/gfx += --trim-whitespace
|
||||
|
Reference in New Issue
Block a user