The Forum is up for sale: XeNTaX Forum looking for new owner
Star Wars: Jedi Starfighter
-
CZW
- veteran
- Posts: 151
- Joined: Thu May 05, 2005 3:15 pm
- Has thanked: 117 times
- Been thanked: 15 times
Star Wars: Jedi Starfighter
i have unpack archives files.. and found one texture folder, with .TEX files
i tried to convert TEX to BMP, i have test some possibility and soft, but i think this is a variant ...
someone could help me ??
thx
i tried to convert TEX to BMP, i have test some possibility and soft, but i think this is a variant ...
someone could help me ??
thx
You do not have the required permissions to view the files attached to this post.
-
Mr.Mouse
- Site Admin
- Posts: 4073
- Joined: Wed Jan 15, 2003 6:45 pm
- Location: Dungeons of Doom
- Has thanked: 450 times
- Been thanked: 680 times
- Contact:
Hmm, well, just looking at it briefly, it would seem to be a texture of 128x128 in size, it's not compressed it seems, as 128x128 = 0x4000h, and it has a palette of 256 colours probably (256xRGBAlpha = 0x400). Together this is 0x4400h, the exact size of the texture data (starts at offset 0x14h).
But I haven't looked throroughly enough as to type of texture.
But I haven't looked throroughly enough as to type of texture.
-
Deniz Oezmen
- VIP member

- Posts: 185
- Joined: Mon Aug 28, 2006 2:07 pm
- Has thanked: 1 time
- Been thanked: 14 times
- Contact:
Starting from Mr.Mouse's description (though the palette comes first, so the texture data actually starts at 0x0414
) and for a moment ignoring the alpha channel, as I currently only have a BMP writing library at hand, this is what I have got. I am not sure whether the palette orientation is BGR (on the left) or RGB (on the right).
So, there is not much to it, as already suspected.
Any thoughts?
So, there is not much to it, as already suspected.
Any thoughts?
You do not have the required permissions to view the files attached to this post.
-
Deniz Oezmen
- VIP member

- Posts: 185
- Joined: Mon Aug 28, 2006 2:07 pm
- Has thanked: 1 time
- Been thanked: 14 times
- Contact:
Sure, test the attached program. Usage via the command line:
or similar ...
Im not sure about the alpha channel, though. The results look a bit weird to me, but then again, I do not know what this texture is supposed to represent. You will have to check that for yourself.
[Edit: attached updated version]
Code: Select all
TEX2TGA *.texIm not sure about the alpha channel, though. The results look a bit weird to me, but then again, I do not know what this texture is supposed to represent. You will have to check that for yourself.
[Edit: attached updated version]
You do not have the required permissions to view the files attached to this post.
Last edited by Deniz Oezmen on Sun Mar 25, 2007 11:04 am, edited 1 time in total.
-
Deniz Oezmen
- VIP member

- Posts: 185
- Joined: Mon Aug 28, 2006 2:07 pm
- Has thanked: 1 time
- Been thanked: 14 times
- Contact:
I thought that too, but the black parts of the image are marked as opaque, while everything else (also what I would interpret as metal) is attributed a value somewhere in the middle ranges. Thus, even turning the scale upside down does not make much sense.Darkfox wrote:Looks to me like it is supposed to be a ship.
Interesting fact: The palette seems to be sorted by what I have presumed to be the alpha value. I'm not sure whether this has some importance.
-
Deniz Oezmen
- VIP member

- Posts: 185
- Joined: Mon Aug 28, 2006 2:07 pm
- Has thanked: 1 time
- Been thanked: 14 times
- Contact:
-
CZW
- veteran
- Posts: 151
- Joined: Thu May 05, 2005 3:15 pm
- Has thanked: 117 times
- Been thanked: 15 times
woowwDeniz Oezmen wrote:Sure, test the attached program. Usage via the command line:or similar ...Code: Select all
TEX2TGA *.tex
Im not sure about the alpha channel, though. The results look a bit weird to me, but then again, I do not know what this texture is supposed to represent. You will have to check that for yourself.
all working perfectly... except, le blue channel must be the red .. i think ...
-
Deniz Oezmen
- VIP member

- Posts: 185
- Joined: Mon Aug 28, 2006 2:07 pm
- Has thanked: 1 time
- Been thanked: 14 times
- Contact:

