Include overworld sprites
Created /extras/overworldripper.py and used it to extract overworld sprites and convert them to png files.
13
extras/overworldripper.py
Normal 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
After Width: | Height: | Size: 144 B |
BIN
gfx/overworld/001.png
Normal file
After Width: | Height: | Size: 138 B |
BIN
gfx/overworld/002.png
Normal file
After Width: | Height: | Size: 134 B |
BIN
gfx/overworld/003.png
Normal file
After Width: | Height: | Size: 139 B |
BIN
gfx/overworld/004.png
Normal file
After Width: | Height: | Size: 136 B |
BIN
gfx/overworld/005.png
Normal file
After Width: | Height: | Size: 135 B |
BIN
gfx/overworld/006.png
Normal file
After Width: | Height: | Size: 141 B |
BIN
gfx/overworld/007.png
Normal file
After Width: | Height: | Size: 140 B |
BIN
gfx/overworld/008.png
Normal file
After Width: | Height: | Size: 142 B |
BIN
gfx/overworld/009.png
Normal file
After Width: | Height: | Size: 140 B |
BIN
gfx/overworld/010.png
Normal file
After Width: | Height: | Size: 140 B |
BIN
gfx/overworld/011.png
Normal file
After Width: | Height: | Size: 141 B |
BIN
gfx/overworld/012.png
Normal file
After Width: | Height: | Size: 136 B |
BIN
gfx/overworld/013.png
Normal file
After Width: | Height: | Size: 135 B |
BIN
gfx/overworld/014.png
Normal file
After Width: | Height: | Size: 128 B |
BIN
gfx/overworld/015.png
Normal file
After Width: | Height: | Size: 148 B |
BIN
gfx/overworld/016.png
Normal file
After Width: | Height: | Size: 131 B |
BIN
gfx/overworld/017.png
Normal file
After Width: | Height: | Size: 135 B |
BIN
gfx/overworld/018.png
Normal file
After Width: | Height: | Size: 141 B |
BIN
gfx/overworld/019.png
Normal file
After Width: | Height: | Size: 125 B |
BIN
gfx/overworld/020.png
Normal file
After Width: | Height: | Size: 138 B |
BIN
gfx/overworld/021.png
Normal file
After Width: | Height: | Size: 143 B |
BIN
gfx/overworld/022.png
Normal file
After Width: | Height: | Size: 143 B |
BIN
gfx/overworld/023.png
Normal file
After Width: | Height: | Size: 134 B |
BIN
gfx/overworld/024.png
Normal file
After Width: | Height: | Size: 142 B |
BIN
gfx/overworld/025.png
Normal file
After Width: | Height: | Size: 135 B |
BIN
gfx/overworld/026.png
Normal file
After Width: | Height: | Size: 135 B |
BIN
gfx/overworld/027.png
Normal file
After Width: | Height: | Size: 137 B |
BIN
gfx/overworld/028.png
Normal file
After Width: | Height: | Size: 135 B |
BIN
gfx/overworld/029.png
Normal file
After Width: | Height: | Size: 132 B |
BIN
gfx/overworld/030.png
Normal file
After Width: | Height: | Size: 135 B |
BIN
gfx/overworld/031.png
Normal file
After Width: | Height: | Size: 133 B |
BIN
gfx/overworld/032.png
Normal file
After Width: | Height: | Size: 135 B |
BIN
gfx/overworld/033.png
Normal file
After Width: | Height: | Size: 148 B |
BIN
gfx/overworld/034.png
Normal file
After Width: | Height: | Size: 143 B |
BIN
gfx/overworld/035.png
Normal file
After Width: | Height: | Size: 128 B |
BIN
gfx/overworld/036.png
Normal file
After Width: | Height: | Size: 143 B |
BIN
gfx/overworld/037.png
Normal file
After Width: | Height: | Size: 135 B |
BIN
gfx/overworld/038.png
Normal file
After Width: | Height: | Size: 136 B |
BIN
gfx/overworld/039.png
Normal file
After Width: | Height: | Size: 148 B |
BIN
gfx/overworld/040.png
Normal file
After Width: | Height: | Size: 140 B |
BIN
gfx/overworld/041.png
Normal file
After Width: | Height: | Size: 133 B |
BIN
gfx/overworld/042.png
Normal file
After Width: | Height: | Size: 142 B |
BIN
gfx/overworld/043.png
Normal file
After Width: | Height: | Size: 136 B |
BIN
gfx/overworld/044.png
Normal file
After Width: | Height: | Size: 139 B |
BIN
gfx/overworld/045.png
Normal file
After Width: | Height: | Size: 144 B |
BIN
gfx/overworld/046.png
Normal file
After Width: | Height: | Size: 143 B |
BIN
gfx/overworld/047.png
Normal file
After Width: | Height: | Size: 134 B |
BIN
gfx/overworld/048.png
Normal file
After Width: | Height: | Size: 145 B |
BIN
gfx/overworld/049.png
Normal file
After Width: | Height: | Size: 148 B |
BIN
gfx/overworld/050.png
Normal file
After Width: | Height: | Size: 133 B |
BIN
gfx/overworld/051.png
Normal file
After Width: | Height: | Size: 136 B |
BIN
gfx/overworld/052.png
Normal file
After Width: | Height: | Size: 130 B |
BIN
gfx/overworld/053.png
Normal file
After Width: | Height: | Size: 131 B |
BIN
gfx/overworld/054.png
Normal file
After Width: | Height: | Size: 136 B |
BIN
gfx/overworld/055.png
Normal file
After Width: | Height: | Size: 131 B |
BIN
gfx/overworld/056.png
Normal file
After Width: | Height: | Size: 134 B |
BIN
gfx/overworld/057.png
Normal file
After Width: | Height: | Size: 148 B |
BIN
gfx/overworld/058.png
Normal file
After Width: | Height: | Size: 117 B |
BIN
gfx/overworld/059.png
Normal file
After Width: | Height: | Size: 125 B |
BIN
gfx/overworld/060.png
Normal file
After Width: | Height: | Size: 139 B |
BIN
gfx/overworld/061.png
Normal file
After Width: | Height: | Size: 121 B |
BIN
gfx/overworld/062.png
Normal file
After Width: | Height: | Size: 129 B |
BIN
gfx/overworld/063.png
Normal file
After Width: | Height: | Size: 141 B |
BIN
gfx/overworld/064.png
Normal file
After Width: | Height: | Size: 132 B |
BIN
gfx/overworld/065.png
Normal file
After Width: | Height: | Size: 137 B |
BIN
gfx/overworld/066.png
Normal file
After Width: | Height: | Size: 139 B |
BIN
gfx/overworld/067.png
Normal file
After Width: | Height: | Size: 129 B |
BIN
gfx/overworld/068.png
Normal file
After Width: | Height: | Size: 135 B |
BIN
gfx/overworld/069.png
Normal file
After Width: | Height: | Size: 144 B |
BIN
gfx/overworld/070.png
Normal file
After Width: | Height: | Size: 135 B |
BIN
gfx/overworld/071.png
Normal file
After Width: | Height: | Size: 125 B |
BIN
gfx/overworld/072.png
Normal file
After Width: | Height: | Size: 137 B |
BIN
gfx/overworld/073.png
Normal file
After Width: | Height: | Size: 130 B |
BIN
gfx/overworld/074.png
Normal file
After Width: | Height: | Size: 125 B |
BIN
gfx/overworld/075.png
Normal file
After Width: | Height: | Size: 138 B |
BIN
gfx/overworld/076.png
Normal file
After Width: | Height: | Size: 127 B |
BIN
gfx/overworld/077.png
Normal file
After Width: | Height: | Size: 129 B |
BIN
gfx/overworld/078.png
Normal file
After Width: | Height: | Size: 132 B |
BIN
gfx/overworld/079.png
Normal file
After Width: | Height: | Size: 123 B |
BIN
gfx/overworld/080.png
Normal file
After Width: | Height: | Size: 125 B |
BIN
gfx/overworld/081.png
Normal file
After Width: | Height: | Size: 140 B |
BIN
gfx/overworld/082.png
Normal file
After Width: | Height: | Size: 111 B |
BIN
gfx/overworld/083.png
Normal file
After Width: | Height: | Size: 129 B |
BIN
gfx/overworld/084.png
Normal file
After Width: | Height: | Size: 143 B |
BIN
gfx/overworld/085.png
Normal file
After Width: | Height: | Size: 112 B |
BIN
gfx/overworld/086.png
Normal file
After Width: | Height: | Size: 129 B |
BIN
gfx/overworld/087.png
Normal file
After Width: | Height: | Size: 148 B |
BIN
gfx/overworld/088.png
Normal file
After Width: | Height: | Size: 132 B |
BIN
gfx/overworld/089.png
Normal file
After Width: | Height: | Size: 126 B |
BIN
gfx/overworld/090.png
Normal file
After Width: | Height: | Size: 144 B |
BIN
gfx/overworld/091.png
Normal file
After Width: | Height: | Size: 132 B |
BIN
gfx/overworld/092.png
Normal file
After Width: | Height: | Size: 132 B |
BIN
gfx/overworld/093.png
Normal file
After Width: | Height: | Size: 142 B |
BIN
gfx/overworld/094.png
Normal file
After Width: | Height: | Size: 131 B |
BIN
gfx/overworld/095.png
Normal file
After Width: | Height: | Size: 126 B |
BIN
gfx/overworld/096.png
Normal file
After Width: | Height: | Size: 146 B |
BIN
gfx/overworld/097.png
Normal file
After Width: | Height: | Size: 142 B |
BIN
gfx/overworld/098.png
Normal file
After Width: | Height: | Size: 138 B |