Editing XMB Fonts

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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 appears 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 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)
 
Also, the colors are ordered in a "increasing order" by using the hexadecimal values, so if are present 0x00000000 goes first and 0xFFFFFFFF goes last, and red tone colors goes last because pure red is 0xFF000000 so higher red tones generates bigger hexadecimal values


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 the icon palette ('''palette header''', '''palette frames table''', and '''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'''
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====
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)