Editing XMB Fonts
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 342: | Line 342: | ||
The colormap is straightforwad, here every entry is indicated by the length of '''colormap_bpp''' (4 bytes for RGBA channels found always in ofw, other values not tested), and the amount of entries is indicated by the value of '''colormap_count''' (256 indexed colors found always used in ofw, other values incoming) | The colormap is straightforwad, here every entry is indicated by the length of '''colormap_bpp''' (4 bytes for RGBA channels found always in ofw, other values not tested), and the amount of entries is indicated by the value of '''colormap_count''' (256 indexed colors found always used in ofw, other values incoming) | ||
The order of how the colors | The order of how appears the colors in the colormap is very important, every color is given a unique '''color_id''', the first color is ID = 0x00 and last color is ID = 0xFF (for a total of 256 indexed colors) | ||
The image/s (the real images for every frame) that is/are going to be loaded in the next step uses this '''color_id''' to asign a color for every pixel | The image/s (the real images for every frame) that is/are going to be loaded in the next step uses this '''color_id''' to asign a color for every pixel | ||
Line 359: | Line 357: | ||
|} | |} | ||
After reading all this info from the different areas of | After reading all this info from the different areas of palette ( '''palette header''', the '''palette frames table''', and the '''palette colormap''') the file access order "jumps" back to decompress and load the images... so scroll up the wiki page to continue reading at the '''Image table''' section | ||
====Index==== | ====Index==== |