Page 1 of 1

S.W.A.T. Target Liberty (*.TEX) Textures

Posted: Fri Oct 30, 2015 10:26 am
by Sleepy
Hello guys!

about the game:
develoled by 3G Studios and published by Sierra.
Release date: October 26, 2007.

Carluver69 and me figured out the LMP Archives for the game and now we would like to figure out the texture files.

We tried to open it with Dageron's Console Texture Explorer tool but it looks that the palette is not well.
Could anyone help please?

Image

Samples of .TEX (texture) files
Settings which we tried in ConsoleTextureExplorer: The textures are swizzled, bpp 8, graphics offset: 640
download: http://www.mediafire.com/download/n32na ... xfiles.rar

samples uses the following resolutions:

uzi.TEX's (64*16)
taser_pickup.tex (64*32)
loadscreen.tex (256*64)
fbi_ridel.tex (128*128)
ambulance_tex.tex (256*256)

Thanks,
Sleepy

Re: S.W.A.T. Target Liberty (*.TEX) Textures

Posted: Fri Oct 30, 2015 12:58 pm
by shakotay2
This is the 8 bit grayscale version of a raw file to which one could try to apply the palette data (0x80-0x27F)?
loadscreen_8bitgrayscale.JPG

Re: S.W.A.T. Target Liberty (*.TEX) Textures

Posted: Sat Oct 31, 2015 11:13 pm
by CarLuver69
Thank you so much for your help, shakotay2! It looks like the palette data can't be applied directly, since this is how the colors look in-game (taken from a YouTube video):

Image

Re: S.W.A.T. Target Liberty (*.TEX) Textures

Posted: Sun Nov 01, 2015 3:08 am
by shakotay2
CarLuver69 wrote:It looks like the palette data can't be applied directly, since this is how the colors look in-game (taken from a YouTube video)
it should be possible since we've the original colors now - but sadly I'm not capable :cry:
weird.JPG

Re: S.W.A.T. Target Liberty (*.TEX) Textures

Posted: Sun Nov 01, 2015 12:48 pm
by shakotay2
so this was my nearest hit adding the original palette:
loadscreen_better.JPG
but to be honest: I don't know what the problem is...

Re: S.W.A.T. Target Liberty (*.TEX) Textures

Posted: Tue Nov 03, 2015 2:48 pm
by Sleepy
shakotay2 wrote:so this was my nearest hit adding the original palette:
loadscreen_better.JPG
but to be honest: I don't know what the problem is...
Looks cool, could you continue trying to figure out it?
by the way thanks for your and Carluver's help too :D

Re: S.W.A.T. Target Liberty (*.TEX) Textures

Posted: Tue Nov 03, 2015 5:53 pm
by shakotay2
Sleepy wrote:Looks cool, could you continue trying to figure out it?
atm my means are exhausted. I tried to interpret the palette data as 16 bit values (5-6-5) but it's just wild guessing.
Do you have a simple .tex file (a picture with less colors) - a monochrome cube for example?

Re: S.W.A.T. Target Liberty (*.TEX) Textures

Posted: Sat Jan 02, 2016 6:44 am
by aaro4130
The palette is just RGB555 (weird they didn't use the last bit)
Image

Re: S.W.A.T. Target Liberty (*.TEX) Textures

Posted: Mon Jan 04, 2016 8:01 pm
by Sleepy
aaro4130 wrote:The palette is just RGB555 (weird they didn't use the last bit)
Image
Thank you very much. it worked perfectly ;) :D