Xenoblade Chronicles 2 Font Texture

Textures, recreate headers, conversions, algorithms and parsing of image files
masagrator
Posts: 82
Joined: Sat Dec 22, 2018 10:03 am

Xenoblade Chronicles 2 Font Texture

Post by masagrator »

I'm trying to figure out how this texture is working.
It starts at 0x1000, has dimensions 256x640.
Tiling treats every 4 bytes as one, but real one pixel is 2 bytes. And one of pixels is alpha, I think.
So unswizzling this in rawtex works only if we choose format that takes 4 bytes (f.e. r8b8g8a8) as one pixel and put 128px width.

Could someone help to figure this out?
Image