Beta 5 adds the very demanded feature to replace color index textures with RGBA textures. This feature is aimed to ease the texture enhancement works on CI textures that the color palette does not change at all.
You can check this thread for more discussion about color indexed textures and about why it is difficult to manupulate them.
With beta 5, you can do for color indexed textures:
- like before, provide a color indexed BMP file which uses the same palette as the original texture.
- New, to provide a 32-bit PNG file with RGBA channels, to replace the original CI texture regardless the color palette.
The PNG filename must follow the following rule:- New, to provide a 32-bit PNG file with RGBA channels, to replace the original CI texture if the color palette table CRC value is equal to some value.
If the original CI texture file is named as:
"Mario Kart 64#36312DD2#2#1_ci.bmp"
Then the new PNG file must be named as:
"Mario Kart 64#36312DD2#2#1_allciByRGBA.png"
The new PNG filename is ended with "_allciByRGBA.png". It must be in 32-bit.
For example, the original CI texture filename is:So there are two new ways to provide PNG RGBA texture to replace the original CI textures. The way with "_allciByRGBA.png" should be used if you are sure that the texture color palette never changes, and the other way could be used if you know that the color palette changes.
'Mario Kart 64#0B4A44B1#2#1_ci.bmp"
The new PNG filename must be in the format as:
"Mario Kart 64#0B4A44B1#2#1#CBF3D34E_ciByRGBA.png"
You can see that the filename contains the 2nd CRC value which is for the color palette table. You will find the similar filenames under the "texture_dump" folder.
If both new PNG textures and CI textures are provided in the hires_texture folder for the same original texture, the PNG textures will be used first in the way they should be used..
Of course, no matter which way you go, the new texture size must meet the requirement as 2x or 4x of the original texture size.
There are also changes for texture dump.
You will find many new files for CI textures. CI textures are dumpped in the previous way, also dumpped in new files with color palette table CRC.
So you should not leave the texture dump option on if you don't need to, otherwise the plugin could become very slow.