Join also our Discord channel! Click here.

Siege texture format extra bytes after some texels

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
Posts: 5
Joined: Mon Oct 12, 2020 5:00 pm
Location: Cardboard Box

Siege texture format extra bytes after some texels

Post by killahtree » Sun Oct 18, 2020 11:25 pm

I've dumped some textures from the forge archives, and am getting poor results actually displaying them.

They appear oddly in Rawtex, and I've discovered that it has an extra byte beside some texels, I have yet to find an actual pattern to this. But essentially it looks like this:
8 bytes, BC1 texel
1 byte, shit
8 bytes, BC1 texel

It isn't an AB pattern, there can be many texels before the shit byte, or few. Skipping the shit byte gives a normal BC1 texel, but I can't find a way to do that programmatically. Its value doesn't correlate to anything, AFAICT. Sometimes it's zero, others not.

I've attached two textures from the forges, in the event that anyone can help.

You do not have the required permissions to view the files attached to this post.

Post Reply