Exient XGS Engine: *.XGT (TEXTURES)

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

Re: Exient XGS Engine: *.XGT (TEXTURES)

Post by LolHacksRule »

Also fails to open XGTs in localisation. https://drive.google.com/folderview?id= ... QEfWZ5Fu0v
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Exient XGS Engine: *.XGT (TEXTURES)

Post by Acewell »

updated the Noesis python script for the r8a8(?) localisation xgt
samples, i guess is right, i don't really do fonts that often. :D
i added support for the ETC samples previously, you probably didn't update Noesis. :)
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Exient XGS Engine: *.XGT (TEXTURES)

Post by LolHacksRule »

ETC works fine (but have to manually edit to include XGT_ETC in the extension list which also works), DXT doesn't and gives a red shape for every file.
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Exient XGS Engine: *.XGT (TEXTURES)

Post by Acewell »

no i have done nothing with "XGT_ETC" files, only xgt and xgt_dxt, all work fine. :)
please post a xgt_dxt file that gives you red shape.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Exient XGS Engine: *.XGT (TEXTURES)

Post by LolHacksRule »

The link I sent has some samples
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Exient XGS Engine: *.XGT (TEXTURES)

Post by Acewell »

all of your uploaded samples so far work fine for me. :)
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Exient XGS Engine: *.XGT (TEXTURES)

Post by LolHacksRule »

Maybe its my PC, getting a new one soon
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Exient XGS Engine: *.XGT (TEXTURES)

Post by LolHacksRule »

There's encoding or size issues opening XGT files on the iOS version of ABGO, older format? UPDATE: It's little endian. Uncompressed files do get proper images but compressed images do not work.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Exient XGS Engine: *.XGT (TEXTURES)

Post by LolHacksRule »

There's another issue, via manually using PVRTexTool with the related header information to crack this image, a sample of mine was cracked and is compressed with the following data:

Code: Select all

Mips: 8
Flag 1: 1
Flag 2: 11
Flag 3: 0
Format: (FC0000) ETC2 RGB (?)
Height: 128
Width: 128
Height2: 92
Width2: 92
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Exient XGS Engine: *.XGT (TEXTURES)

Post by LolHacksRule »

Variants of XGS Textures from Angry Birds Star Wars on Wii U also fail to open. My guess is they have the Wii U swizzle. The bytes before the data size are also different.

Code: Select all

Mips: 5
Flag 1: 1
Flag 2: 1
Flag 3: 0
Format: (0500FA00) ? Wii U Swizzled?
Height: 1024
Width: 1024
Height2: 1024
Width2: 1024
Heisenberg
Posts: 5
Joined: Thu Jul 29, 2021 11:21 am

Re: ANDROID: (Exient/XGS) Angry Birds: Transformers/GO .XGT (TEXTURES)

Post by Heisenberg »

LolHacksRule wrote:Ok thanks. I created a custom RGBA8888 XGT, via using PVRTexTool and copying the data bytes to overlap the original data, all I need is to fix its MIPs and other flags, I used a new image, with the settings the game would know, loaded the image I want to the surface and saved it, then copied the raw image to the original XGT's raw image data.

How did you make custom xgt? And also can I use the method to make custom xgt_etc?
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: ANDROID: (Exient/XGS) Angry Birds: Transformers/GO .XGT (TEXTURES)

Post by LolHacksRule »

Heisenberg wrote:
LolHacksRule wrote:Ok thanks. I created a custom RGBA8888 XGT, via using PVRTexTool and copying the data bytes to overlap the original data, all I need is to fix its MIPs and other flags, I used a new image, with the settings the game would know, loaded the image I want to the surface and saved it, then copied the raw image to the original XGT's raw image data.

How did you make custom xgt? And also can I use the method to make custom xgt_etc?


I have no clue how to make an ETC XGT, you probably could with encoding a ETC1 texture in PVRTT and copying the encoded data after the header of the XGT_ETC file (and then fixing the header to match related information of the image) but I never tested.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Exient XGS Engine: *.XGT (TEXTURES)

Post by LolHacksRule »

Mad stupid late but I went to figure out the 0x3 format, seems it's LA88 according to exe code and what it looks like ingame but I can't seem to get Noesis to work with it to display a proper image. I also figured out the ATC variant of the format (37 and 39 so far), which is Attic compression and not ASTC compression (which was my guess for, some reason).
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Exient XGS Engine: *.XGT (TEXTURES)

Post by LolHacksRule »

LolHacksRule wrote:Mad stupid late but I went to figure out the 0x3 format, seems it's LA88 according to exe code and what it looks like ingame but I can't seem to get Noesis to work with it to display a proper image. I also figured out the ATC variant of the format (37 and 39 so far), which is Attic compression and not ASTC compression (which was my guess for, some reason).


Actually I fixed that in my mod for reading PVRTC (WIP) and ETC2 RGB and other textures.

https://raw.githubusercontent.com/LolHa ... XGT_MOD.py
Heisenberg
Posts: 5
Joined: Thu Jul 29, 2021 11:21 am

Re: ANDROID: (Exient/XGS) Angry Birds: Transformers/GO .XGT (TEXTURES)

Post by Heisenberg »

LolHacksRule wrote:
Heisenberg wrote:
LolHacksRule wrote:Ok thanks. I created a custom RGBA8888 XGT, via using PVRTexTool and copying the data bytes to overlap the original data, all I need is to fix its MIPs and other flags, I used a new image, with the settings the game would know, loaded the image I want to the surface and saved it, then copied the raw image to the original XGT's raw image data.

How did you make custom xgt? And also can I use the method to make custom xgt_etc?


I have no clue how to make an ETC XGT, you probably could with encoding a ETC1 texture in PVRTT and copying the encoded data after the header of the XGT_ETC file (and then fixing the header to match related information of the image) but I never tested.

What about plain xgt?
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: ANDROID: (Exient/XGS) Angry Birds: Transformers/GO .XGT (TEXTURES)

Post by LolHacksRule »

Heisenberg wrote:
LolHacksRule wrote:
Heisenberg wrote:How did you make custom xgt? And also can I use the method to make custom xgt_etc?


I have no clue how to make an ETC XGT, you probably could with encoding a ETC1 texture in PVRTT and copying the encoded data after the header of the XGT_ETC file (and then fixing the header to match related information of the image) but I never tested.

What about plain xgt?


Sorry about the very late response but I am currently developing a toolset to cross convert XGS formats like XGT, it also works on Edge of Perception, which is an XGS tech demo for PC. Currently use with most textures work perfectly (aside from ATC, Wii and swizzled textures that are not DXT, but data sizes compiled may mismatch) If you want beta access to the tool with what is currently available, check the AB Modding Hub.
Heisenberg
Posts: 5
Joined: Thu Jul 29, 2021 11:21 am

Re: ANDROID: (Exient/XGS) Angry Birds: Transformers/GO .XGT (TEXTURES)

Post by Heisenberg »

LolHacksRule wrote:
Heisenberg wrote:
LolHacksRule wrote:
I have no clue how to make an ETC XGT, you probably could with encoding a ETC1 texture in PVRTT and copying the encoded data after the header of the XGT_ETC file (and then fixing the header to match related information of the image) but I never tested.

What about plain xgt?


Sorry about the very late response but I am currently developing a toolset to cross convert XGS formats like XGT, it also works on Edge of Perception, which is an XGS tech demo for PC. Currently use with most textures work perfectly (aside from ATC, Wii and swizzled textures that are not DXT, but data sizes compiled may mismatch) If you want beta access to the tool with what is currently available, check the AB Modding Hub.

No problem, I've joined the discord server, how can I get the tool?
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: ANDROID: (Exient/XGS) Angry Birds: Transformers/GO .XGT (TEXTURES)

Post by LolHacksRule »

Heisenberg wrote:
LolHacksRule wrote:
Heisenberg wrote:What about plain xgt?


Sorry about the very late response but I am currently developing a toolset to cross convert XGS formats like XGT, it also works on Edge of Perception, which is an XGS tech demo for PC. Currently use with most textures work perfectly (aside from ATC, Wii and swizzled textures that are not DXT, but data sizes compiled may mismatch) If you want beta access to the tool with what is currently available, check the AB Modding Hub.

No problem, I've joined the discord server, how can I get the tool?


You can find it in the Exient tools channel.