I need to know how to properly export my code from either photoshop or GIMP or use any other external program.
settings I need are:
size in per/px
Bit channel
color depth
color palette
indexing or RGB or something else
horizontal or vertical byte array
any other BMP to LCD converter settings
Here's the code that comes with Makaqu Quake. I already talked to Mankrip and he said he's forgotten how to make this work but something about making the graphic with gimp and using the proper settings then export to a text format:
#define DESC 16
#define VMAPP DESC+32
#define ICONS VMAPP+16
#define SPEED ICONS+2
#define CATCH SPEED+2
#define VMCRC CATCH+2
#define FSIZE VMCRC+2
#define RESERVED FSIZE+4
#define PALETTE RESERVED+20
#define ICON PALETTE+32
#define HEADER_SIZE 128 // same as ICON
#define APP_NAME "nxMakaqu " // 16 characters
static uint16 icon_palette[] =
{
0xffff,0xffff,0xfbbb,0xf888,
0xf000,0xf880,0xf800,0x0000,
0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000
};
static uint8 icon_bitmap[] =
{
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x11,0x11,0x11,0x10,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x11,0x11,0x11,0x11,0x11,0x11,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x11,0x23,0x31,0x11,0x11,0x33,0x21,0x11,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x11,0x23,0x44,0x42,0x11,0x12,0x44,0x43,0x21,0x10,0x00,0x00,0x00,
0x00,0x00,0x01,0x12,0x44,0x44,0x43,0x11,0x13,0x44,0x44,0x42,0x11,0x00,0x00,0x00,
0x00,0x00,0x11,0x24,0x44,0x44,0x44,0x21,0x24,0x44,0x44,0x44,0x21,0x10,0x00,0x00,
0x00,0x00,0x12,0x44,0x44,0x44,0x44,0x31,0x34,0x44,0x44,0x44,0x42,0x10,0x00,0x00,
0x00,0x01,0x13,0x44,0x45,0x33,0x44,0x42,0x44,0x43,0x35,0x44,0x43,0x11,0x00,0x00,
0x00,0x01,0x24,0x44,0x52,0x12,0x44,0x43,0x44,0x42,0x12,0x54,0x44,0x21,0x00,0x00,
0x00,0x01,0x34,0x45,0x21,0x11,0x34,0x44,0x44,0x31,0x11,0x25,0x44,0x31,0x00,0x00,
0x00,0x11,0x44,0x43,0x11,0x11,0x24,0x44,0x44,0x21,0x11,0x12,0x44,0x41,0x10,0x00,
0x00,0x12,0x44,0x51,0x11,0x11,0x13,0x44,0x43,0x11,0x11,0x11,0x54,0x42,0x10,0x00,
0x00,0x12,0x64,0x31,0x11,0x11,0x12,0x44,0x42,0x11,0x11,0x11,0x34,0x42,0x10,0x00,
0x00,0x12,0x44,0x21,0x11,0x11,0x11,0x34,0x31,0x11,0x11,0x11,0x24,0x42,0x10,0x00,
0x00,0x12,0x44,0x21,0x11,0x11,0x11,0x26,0x21,0x11,0x11,0x11,0x24,0x42,0x10,0x00,
0x00,0x12,0x44,0x21,0x11,0x11,0x11,0x15,0x11,0x11,0x11,0x11,0x24,0x42,0x10,0x00,
0x00,0x12,0x44,0x21,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x24,0x42,0x10,0x00,
0x00,0x01,0x54,0x21,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x26,0x51,0x00,0x00,
0x00,0x01,0x34,0x31,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x34,0x31,0x00,0x00,
0x00,0x01,0x24,0x51,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x54,0x11,0x00,0x00,
0x00,0x00,0x13,0x42,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x12,0x43,0x10,0x00,0x00,
0x00,0x00,0x11,0x46,0x21,0x11,0x11,0x11,0x11,0x11,0x11,0x16,0x41,0x10,0x00,0x00,
0x00,0x00,0x01,0x14,0x52,0x11,0x11,0x11,0x11,0x11,0x11,0x54,0x11,0x00,0x00,0x00,
0x00,0x00,0x00,0x11,0x43,0x21,0x11,0x11,0x11,0x11,0x23,0x41,0x10,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x12,0x32,0x11,0x11,0x11,0x12,0x32,0x11,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x11,0x11,0x11,0x11,0x11,0x11,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x11,0x11,0x11,0x10,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
};