A
Alhexx
Guest
...that I've found here.
Okay, I'm currently (also) workin' on an ONI ripper, basing my work on a C Source. And I've found this one there:
Code: [Select]
I understand type 0, 1, 2 and 8, but 9 ?`I have no idea how to decode that. If someone's interested to take a look at the Source,here it is.
Please help me ... if you can ... I'm so depressed ...
- Alhexx
Okay, I'm currently (also) workin' on an ONI ripper, basing my work on a C Source. And I've found this one there:
Code: [Select]
Code:
/****** TXMP Format Info ****************************************************** * * 0: AAAARRRRGGGGBBBB * 1: ARRRRRGGGGGBBBBB * 2: ARRRRRGGGGGBBBBB * 8: AAAAAAAARRRRRRRRGGGGGGGGBBBBBBBB * 9: Compressed 4x4 block method * RRRRRGGGGGGBBBBB RRRRRGGGGGGBBBBB XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX * This method stores the texture as several 4x4 blocks. Each block starts * with two colors. Then follows 32 bits of pixel information. The pixel * block is laid out like this (two bits per pixel): * * 03 02 01 00 * 07 06 05 04 * 11 10 09 08 * 15 14 13 12 * * The first and second colors of the palette used to decode the block are * the first and second colors read for the block. The third and fourth * colors are the two colors in-between the first and second. * *****************************************************************************/
I understand type 0, 1, 2 and 8, but 9 ?`I have no idea how to decode that. If someone's interested to take a look at the Source,here it is.
Please help me ... if you can ... I'm so depressed ...
- Alhexx