Broken Sword 5. Textures

Textures, recreate headers, conversions, algorithms and parsing of image files
jmgg
Posts: 48
Joined: Sun Jan 25, 2015 4:15 pm

Broken Sword 5. Textures

Post by jmgg »

In 'Broken Sword 5. Episode 1' textures of the game have a *.tex extension. Can anyone see if these types of files can be viewed or open easily. Thanks in advance!
https://mega.nz/file/XkkAEKIa#bxFGvVhOL ... coIo4Ex7DA
DKDave
Posts: 136
Joined: Mon Nov 23, 2020 6:01 pm

Re: Broken Sword 5. Textures

Post by DKDave »

The data is zlib-compressed. Once decompressed, it's a raw RGB24 image. Here's a simple Noesis script to view it. It should work with other images if they follow the same file structure, but I only have that one to test.
jmgg
Posts: 48
Joined: Sun Jan 25, 2015 4:15 pm

Re: Broken Sword 5. Textures

Post by jmgg »

Thanks DKDave! It works with some of the textures. Many are distorted. I send you a compressed file with some more textures.
https://mega.nz/file/i8dRwQQA#Rudfb_PaB ... WybAhPz0Jo
DKDave
Posts: 136
Joined: Mon Nov 23, 2020 6:01 pm

Re: Broken Sword 5. Textures

Post by DKDave »

Updated script for RGB24 and RGBA32 images (there may be other types, but the script will say if it's not one of those two).

I get crashes on a couple of the images, even though the uncompressed data in them looks right. See if it works for you.

fmt_bsword5_tex.zip
jmgg
Posts: 48
Joined: Sun Jan 25, 2015 4:15 pm

Re: Broken Sword 5. Textures

Post by jmgg »

fantastic!! thanks!!