Jump to content

Cars XBOX dxt?


Recommended Posts

Hello everyone, game on xbox, some textures were obtained like this,

rapi.swapEndianArray(data, 2)

rapi.imageUntile360DXT(data, width, height, 16)

rapi.imageDecodeDXT(data, width, height, noesis.NOESISTEX_DXT5),

but the rest are broken. please help me identify broken textures.

IMG_7196.jpeg

textures.zip

Link to comment
Share on other sites

Yo fifpro, Use 32-bpp pixels of {a8, r8, g8,b8} (or byte swap 8 bits per 32 and use BGRA) rather than DXT5 for those cases. The texture layout is still Xenon swizzled. Curiously the alpha channel appears to be straight rather than premultiplied o_O.

14d95f8d5ad09e9f.dat:

image.png.58a2c1e864efd394bfe225b9b6d3cf7a.png

Edited by piken
  • Like 1
Link to comment
Share on other sites

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...