Aggiorna sfondo del titolo con bg.png modificato dall'utente

L'utente ha modificato assets/bg.png. Convertito in PNG indicizzato
2-bit con la palette GB (4 colori) e rigenerato title_bg.c/.h con
png2asset. 205 tile unici (era 196).

ROM: 28198/32768 byte usati (86%), 4570 byte liberi.
This commit is contained in:
2026-06-25 23:59:15 +02:00
parent d34887e511
commit 402b713477
3 changed files with 41 additions and 5 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

+39 -3
View File
@@ -11,7 +11,7 @@ const palette_color_t title_bg_palettes[4] = {
};
const uint8_t title_bg_tiles[3136] = {
const uint8_t title_bg_tiles[3280] = {
0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,
@@ -736,6 +736,42 @@ const uint8_t title_bg_tiles[3136] = {
0x17,0xef,0x1f,0xff,
0xaf,0x7f,0x8f,0x7f,
0xff,0x3f,0xff,0x7f,
0xc3,0xff,0xe9,0xe5,
0xfa,0xed,0xe5,0xe3,
0xff,0xef,0xc3,0xe7,
0xff,0xff,0xff,0xff,
0x0e,0xff,0x22,0x96,
0xab,0xb6,0x8f,0x86,
0xb7,0xb6,0x30,0x9a,
0xff,0xff,0xff,0xff,
0x0c,0xff,0xf8,0x0d,
0x4f,0xb9,0x2d,0x3e,
0x6b,0xeb,0x2c,0x08,
0xff,0xff,0xff,0xff,
0x78,0xff,0x23,0x74,
0xaa,0xf7,0x74,0x79,
0x36,0xae,0xf4,0x61,
0xff,0xff,0xff,0xff,
0xff,0xff,0xfe,0xff,
0xff,0xff,0xff,0xff,
0xff,0xfe,0xff,0xfe,
0xff,0xff,0xff,0xff,
0x88,0xff,0x2e,0x48,
0x6e,0x7f,0x7f,0x8e,
0x6f,0xee,0x8e,0x1c,
0xff,0xff,0xff,0xff,
0x91,0x7f,0x9b,0x31,
0x75,0xf9,0x75,0xf6,
0x20,0xf0,0x06,0x66,
0xff,0xff,0xff,0xff,
0x97,0xef,0x8a,0xd3,
0xd3,0xdb,0xc3,0xc7,
0xdb,0xdb,0x59,0x0d,
0xff,0xff,0xff,0xff,
0x87,0x7f,0x4f,0x17,
0xf7,0xdf,0xbf,0xdf,
0xbf,0xdf,0x1f,0x8f,
0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xef,
0xff,0xef,0xff,0xdf,
@@ -816,6 +852,6 @@ const unsigned char title_bg_map[360] = {
0x97,0x98,0x99,0x00,0x9a,0x9b,0x9c,0x9d,0x9e,0x00,0x9f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa0,0x74,
0x00,0xa1,0xa2,0x00,0x00,0x00,0x00,0xa3,0xa4,0x00,0xa5,0xa6,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x00,
0xa7,0xa8,0xa9,0xaa,0x00,0x00,0xab,0xac,0xad,0xae,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xaf,0x00,
0x00,0xb0,0xb1,0xb2,0x00,0x00,0xb3,0xb4,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xb5,0x00,
0x00,0x00,0xb6,0xb7,0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf,0xc0,0x00,0x00,0x00,0xc1,0xc2,0xc3,0x00,
0x00,0xb0,0xb1,0xb2,0x00,0x00,0xb3,0xb4,0x00,0xb5,0xb6,0xb7,0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0x00,
0x00,0x00,0xbf,0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8,0xc9,0x00,0x00,0x00,0xca,0xcb,0xcc,0x00,
};
+2 -2
View File
@@ -11,7 +11,7 @@
#define title_bg_TILE_H 8
#define title_bg_WIDTH 160
#define title_bg_HEIGHT 144
#define title_bg_TILE_COUNT 196
#define title_bg_TILE_COUNT 205
#define title_bg_PALETTE_COUNT 1
#define title_bg_COLORS_PER_PALETTE 4
#define title_bg_TOTAL_COLORS 4
@@ -22,6 +22,6 @@ extern const unsigned char title_bg_map[360];
BANKREF_EXTERN(title_bg)
extern const palette_color_t title_bg_palettes[4];
extern const uint8_t title_bg_tiles[3136];
extern const uint8_t title_bg_tiles[3280];
#endif