ref: 5e7bd07ee6ecc78a59a708d2d22678799bd8ddd1
parent: b584fd08c6c5f67cb759b62acff90cf2fb52b518
author: Snesrev <[email protected]>
date: Wed Oct 12 13:10:33 EDT 2022
Vram addresses slightly blue
--- a/tables/sprite_sheets.py
+++ b/tables/sprite_sheets.py
@@ -168,6 +168,7 @@
# change the transparent to teal #008080
for i in range(0, 128, 8):
rv[i] = 0x808000
+ rv[251] = 0xe0c0c0 # blueish text
rv[252] = 0xc0c0c0 # palette text
rv[253] = 0xf0f0f0 # unallocated
rv[254] = 0x404040 # lines
@@ -281,11 +282,7 @@
xx = BIGW - 37 + i * 5 - 9
fillrect(header, xx, xx + 4, 3, 7, i + (9 if e.high_palette else 1))
- #if pal_subidx != None:
- # draw_string3x5(header, BIGW, BIGW - 9, 3, '%2s' % pal_subidx, 252)
-
draw_string3x5(header, BIGW, BIGW - 9, 3, '%2s' % e.tileset, 252)
-
draw_string3x5(header, BIGW, BIGW - 45 - 1 - len(pal_name) * 4, 3, pal_name, 252)
finaldst.extend(convert_to_24bpp(header, palette))
@@ -312,8 +309,8 @@
master_tilesheets.insert(e.tileset, src, x, y, palette, 0)
# display vram addresses
- draw_string3x5(bigdst, BIGW, BIGW - 9, 4, '%Xx' % (e.ss_idx * 0x4), 252)
- draw_string3x5(bigdst, BIGW, BIGW - 9, 4 + 17, '%Xx' % (e.ss_idx * 0x4 + 2), 252)
+ draw_string3x5(bigdst, BIGW, BIGW - 9, 4, '%Xx' % (e.ss_idx * 0x4), 251)
+ draw_string3x5(bigdst, BIGW, BIGW - 9, 4 + 17, '%Xx' % (e.ss_idx * 0x4 + 2), 251)
# collapse unused matrix sections
if all(m=='.' for m in e.matrix[0]) and all(m=='.' for m in e.matrix[1]):
@@ -322,7 +319,7 @@
del bigdst[18*BIGW:34*BIGW]
if e.skip_header:
- draw_string3x5(bigdst, BIGW, BIGW - 9, len(bigdst)//BIGW - 8, '%.2d' % e.tileset, 252)
+ draw_string3x5(bigdst, BIGW, BIGW - 9, len(bigdst)//BIGW - 6, '%.2d' % e.tileset, 252)
finaldst.extend(convert_to_24bpp(bigdst, palette))