Jump to content

Sea Dogs .tx texture format


Go to solution Solved by ikskoks,

Recommended Posts

Posted

oh, noesis can't handle it.. interesting. I'm looking for a way to batch converting these textures.
maybe you also familiar with bms script?

Posted

There's a custom tool for it. But unfortunately, for many years it won't allow converting files in batch. You always have to specify directory etc etc

is it really hard to make anything to convert these in files in batch?

Posted

thank you. and for noesis to support the rest of the image types it need to be updated to latest version of python, or it's in its API?

Posted

Noesis has it's own Python build in. I'm not sure if I understand your question, but to support new images types in Noesis, you need to edit existing script or create a new script.

Posted
9 hours ago, ikskoks said:

Noesis has it's own Python build in. I'm not sure if I understand your question, but to support new images types in Noesis, you need to edit existing script or create a new script.

you said noesis doesn't support DXT1 with BC swizzle above. So, again, you just didn't support this type in the script you made or noesis do not support this whatever you do?

Posted (edited)

@ikskoks The problem was actually the image data size. Since DXTs are compressed the data size could be lesser than width*height.
The solution is actually simple, just add this check statement:

if pixel_size >= len(image_file_data):
    pixel_size = len(image_file_data) - 24

OR

if pixel_size >= len(image_file_data):
    pixel_size = len(image_file_data) - image_data_offset

image.png.43c4061fdb697fa6e5ea5e75ed767af6.png

Edited by BloodRaynare
  • Like 1
  • 2 weeks later...
Posted

Can't find words to thank you both. It's been awhile since this engine got any tool, and this is just fire!

Just great work 🤍

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...