Merge pull request #142 from cogitokat/overworld-sprites

Include overworld sprites
This commit is contained in:
Bryan Bishop 2013-05-27 20:21:25 -07:00
commit 128dce7aac
516 changed files with 531 additions and 2 deletions

13
extras/overworldripper.py Normal file
View File

@ -0,0 +1,13 @@
import gfx
def rip_sprites_from_bank(bank, offset=0):
file_handler = open("../gfx/overworld/bank" + str(hex(bank))[2:] + ".asm", "w")
for sprite in range(0 + offset, 256 + offset):
filename = "../gfx/overworld/" + str(sprite).zfill(3) + ".2bpp"
gfx.get_uncompressed_gfx((bank * 0x4000 + ((sprite - offset) * 4 * 0x10)), 4, filename)
gfx.to_png(filename)
file_handler.write("INCBIN \"" + filename[3:] + "\"\n")
file_handler.close()
rip_sprites_from_bank(0x30)
rip_sprites_from_bank(0x31, offset=256)

BIN
gfx/overworld/000.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

BIN
gfx/overworld/001.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

BIN
gfx/overworld/002.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

BIN
gfx/overworld/003.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 B

BIN
gfx/overworld/004.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

BIN
gfx/overworld/005.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B

BIN
gfx/overworld/006.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B

BIN
gfx/overworld/007.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 B

BIN
gfx/overworld/008.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

BIN
gfx/overworld/009.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 B

BIN
gfx/overworld/010.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 B

BIN
gfx/overworld/011.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B

BIN
gfx/overworld/012.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

BIN
gfx/overworld/013.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B

BIN
gfx/overworld/014.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 B

BIN
gfx/overworld/015.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 B

BIN
gfx/overworld/016.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 B

BIN
gfx/overworld/017.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B

BIN
gfx/overworld/018.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B

Some files were not shown because too many files have changed in this diff Show More