pt300/crot

Understanding the MEME file

Closed this issue · 3 comments

dd86k commented

image

tl;dr

(removed most of it because meh)

I have no idea about the structure of the file. So this is what I understand of it:

            Data type (0x00 || 0x01)
   Magic    |  Data (Single byte == 8x1 pixels)
|----+----| |  |
4D 45 4D 45 00 00 00 00 [...] (Loop)
                  |  |
                  |  More data
                  Another data type
pt300 commented

1st 4 bytes must be equal to "meme". Then the next byte specifies type of image(explained in readme). Rest is image's data.

pt300 commented

That's all. You just have to load that data

dd86k commented
4D 45 4D 45 00 00 00 00 ...
|--MEME---| |  |---DATA-...
            |
            Image type

Okay got it! Sorry, I'm really of a visual person.
(Visual C# hehuehuhe)