hudson wrote:
I really wanted to animate the halves of each number with a vertical scaling effect, but wasn't able to finish reverse engineering the
resources format in time.
Wow, was I being dense the other night. It's pretty clearly an absolute 32-bit offset in little endian mode.
typedef struct
{
uint8_t type; // 00 == NULL, 01 == image, 02 == font
uint32_t offset; // absolute, in little endian; can be read normally and passed directly to spiflash_read()
uint8_t height; // in pixels
uint8_t width; // in pixels
uint8_t unknown2; // always 0?
} __attribute__((__packed__))
inpulse_resource_t;
The images are stored as three raw bytes in RGB order at the specified offset.