Angry Birds Trilogy (Wii U) *.WUT (Wii U Texture? Raw Texture)

Textures, recreate headers, conversions, algorithms and parsing of image files
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Angry Birds Trilogy (Wii U) *.WUT (Wii U Texture? Raw Texture)

Post by LolHacksRule »

They aren't traditional binary type of textures from NW_Cafe in the SDK, they are raw image data of some sort, the closest of the image I can get with them is the DXT2/3/5 format. Anyone going to write a Noesis script or decode the data for me? Thanks so much. LINK BELOW
Last edited by LolHacksRule on Fri May 22, 2020 6:27 pm, edited 1 time in total.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds Trilogy (Wii U) *.WUT (Wii U Texture? Raw Texture)

Post by LolHacksRule »

Textures are swizzled extremely badly on my end... https://cdn.discordapp.com/attachments/ ... nknown.png
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds Trilogy (Wii U) *.WUT (Wii U Texture? Raw Texture)

Post by LolHacksRule »

They are in DATA/?/DECORATIONS (or FONTS or IMAGES), replace ? with ANIMB or LAUNCHER, others aren't uploaded yet due to still sorting assets.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds Trilogy (Wii U) *.WUT (Wii U Texture? Raw Texture)

Post by LolHacksRule »

All texture files are uploaded, look up *.WUT in search to find them.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds Trilogy (Wii U) *.WUT (Wii U Texture? Raw Texture)

Post by LolHacksRule »

My attempt at documenting the MIPh format here might be helpful... viewtopic.php?f=11&p=57075#p57075 for a rebump?
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds Trilogy (Wii U) *.WUT (Wii U Texture? Raw Texture)

Post by LolHacksRule »

Code: Select all

ABTrilogy Raw Texture (Wii U Texture) header (Wii U)
3bytes: 474354 (WUT)
1byte: 20
2bytes: 1000
2bytes: 0001
2bytes: 0000
2bytes: 0001
4bytes: Texture width (Big endian)
4bytes: Texture height (Big endian)
2bytes: 0000
2bytes: 0001
2bytes: 0000
2bytes: 0001
2bytes: 0000
2bytes: Unknown value 1 (compression type? Starts with 04)

INCOMPLETE


Attempted to document this massive header. If anything's wrong hmu.
Allen
Posts: 156
Joined: Tue Sep 01, 2015 9:44 am

Re: Angry Birds Trilogy (Wii U) *.WUT (Wii U Texture? Raw Texture)

Post by Allen »

The internal WUT is actually a GX2 format.
About format description:
http://mk8.tockdom.com/wiki/GTX%5CGSH_(File_Format)

I wrote a Noesis script to support image reading, using AboodXD's WIIU library.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds Trilogy (Wii U) *.WUT (Wii U Texture? Raw Texture)

Post by LolHacksRule »

Thanks again but I heard that term before when I asked in xentaxcord but didn't really understand as I didn't look at GX2 headers too much.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds Trilogy (Wii U) *.WUT (Wii U Texture? Raw Texture)

Post by LolHacksRule »

Very late but there's a tiny amount of textures the script cannot open.

According to manual pinpointing, they seem to be raw RGBA8888. I decided to fix the script by myself to support them.

https://raw.githubusercontent.com/LolHa ... WUT_MOD.py