diff options
author | Astatin <[email protected]> | 2025-06-06 12:30:32 +0200 |
---|---|---|
committer | Astatin <[email protected]> | 2025-06-06 12:30:32 +0200 |
commit | 103260bbab1f6816d578cafb641e7458b66eea15 (patch) | |
tree | 3e2e33ddc4d4ba7fcdefe2783be72a49b92b4523 /Makefile | |
parent | eca91612b60b5379f9e8d6ce6f51366db54aacc3 (diff) |
Add script to extract build/tileset.png from Load_Tile routine in tiles.gbasm
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -26,6 +26,16 @@ build/main.rom.unsigned: main.gbasm tileset.gbasm text.gbasm dialogues/text.gbas mkdir -p build gbasm $< $@ > build/main.sym +build/tileset-dump.rom: scripts/tileset-dump.gbasm + mkdir -p build + gbasm $< $@ > /dev/null + +build/tileset-dump.rom.vram.dump: build/tileset-dump.rom + gb --skip-bootrom --stop-dump-state $< + +build/tileset.png: build/tileset-dump.rom.vram.dump scripts/extract-vram-tileset.py + python scripts/extract-vram-tileset.py $< $@ + run: build/main.rom mkdir -p recordings gb $< --record-input "./recordings/$(shell date -Iseconds).record" |