Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Exient XGS Engine: *.XGT (TEXTURES)

Featured Replies

  • Author
  • Localization

LolHacksRule, posted Thu Jun 07, 2018 9:26 pm (35714)


After extraction of the .pak files in the ABT APK as well as the OBB and its pak files from the XPK2 script, on update v1.36.8, I got a lot of .xgt files and they appear to be in game texture files. I was hoping someone could help me open and view the textures. The heading is XGST. Any advice on doing this or how its done? If so thanks :). Some end with _pvr, _atc, _dxt and _etc.

A sample is here: https://drive.google.com/open?id=1Fw0ZH ... AJ4d4CZtc7
  • Author
  • Localization

Acewell, posted Fri Jun 08, 2018 2:13 am (35717)


Image
seems a simple header, this one was just rgba8888 but need more samples of each variety,
but i have a feeling PVRTexTool will be better for the mobile compressed types. :)
  • Author
  • Localization

LolHacksRule, posted Fri Jun 08, 2018 5:55 pm (35735)


Thanks for that!

Here are more samples https://drive.google.com/drive/folders/ ... sp=sharing. These include files in the OBB. Getting the SDK, it apparently works with the RAW data wrapping but I always have to type the right size... any way to find out the size without about 50 guesses? I figured out in the wrap raw data function in PVRTexTool, if the offset becomes 32, it is often correct and correctly renders the xgt as an image.
  • Author
  • Localization

Acewell, posted Mon Jun 11, 2018 2:01 pm (35786)


here are my findings about the 32 bytes before image data so you don't have to guess :)

Code:
4bytes - magic (XGST)
2bytes - data offset
2bytes - header size
1byte - num mips
1byte - flag1
1byte - flag2
1byte - flag3
4bytes - format
2bytes - width
2bytes - height
2bytes - width2
2bytes - height2
4bytes - zero
4bytes - data size

i should be able to make a Noesis python script to open the dxt samples but others must use PVRTexTool.
  • Author
  • Localization

LolHacksRule, posted Mon Jun 11, 2018 5:02 pm (35795)


Acewell wrote:
here are my findings about the 32 bytes before image data so you don't have to guess :)

Code:
4bytes - magic (XGST)
2bytes - data offset
2bytes - header size
1byte - num mips
1byte - flag1
1byte - flag2
1byte - flag3
4bytes - format
2bytes - width
2bytes - height
2bytes - width2
2bytes - height2
4bytes - zero
4bytes - data size

i should be able to make a Noesis python script to open the dxt samples but others must use PVRTexTool.


Are the others meaning plain .xgt? Meanwhile, the colors are for some are messed up after typing the right size.
  • Author
  • Localization

Acewell, posted Mon Jun 11, 2018 7:55 pm (35799)


LolHacksRule wrote:
Are the others meaning plain .xgt?

i mean any samples that don't have pvr, etc or atc in the filename,
but now i'm starting to think you don't need all format types because
they might all just be the same image any way and dxt would be all you need. :)
  • Author
  • Localization

Acewell, posted Mon Oct 01, 2018 2:39 am (38914)


i already gave you the specs from the dxt sample, you can use TextureFinder on them. :)
512x512 dxt5
Image
  • Author
  • Localization

LolHacksRule, posted Mon Oct 01, 2018 3:06 am (38916)


Acewell wrote:
i already gave you the specs from the dxt sample, you can use TextureFinder on them. :)
512x512 dxt5
Image


It looked like that on my end, before I asked for help, I didn't expect it to look like that but like a plain texture, any way to make it look like it would properly appear in-game, also is that from the PVR SDK or another project?
  • Author
  • Localization

Acewell, posted Tue Oct 02, 2018 4:23 am (38932)


i don't know what you mean by plain texture and i know nothing about this game
maybe the game uses shaders to enhance the look? ,and TextureFinder is just a
program and has nothing to do with the PVR SDK. :)
  • Author
  • Localization

LolHacksRule, posted Fri Dec 14, 2018 1:46 am (41374)


Did you compile a Noesis script for these files as of now?
  • Author
  • Localization

Acewell, posted Fri Dec 14, 2018 8:23 am (41380)


here is Noesis python script to open the xgt and xgt_dxt textures only. :D
*script updated April 15, 2020*

supports rgba4444, rgba8888, rgb565, r8a8(?), dxt1, dxt5 and ETC

tex_AngryBirdsTransformers_Android_xgtdxt.zip

  • Author
  • Localization

LolHacksRule, posted Fri Dec 14, 2018 5:20 pm (41389)


Thanks so much! The script works fine except on XGTs using a different RGBA type as the colors are off on them... Any advice on making a custom XGT? Like would I have to use PVRTexTool to create a compressed texture and copy its bytes to an XGT for each type?
  • Author
  • Localization

Acewell, posted Sat Dec 15, 2018 12:48 am (41402)


LolHacksRule wrote:
The script works fine except on XGTs using a different RGBA type as the colors are off on them...
you have to upload the problem samples so i can fix script,
i don't play this game and don't know what the colors should look like. :)
  • Author
  • Localization

LolHacksRule, posted Sat Dec 15, 2018 1:03 am (41403)


Oh ok. Here's some that won't open in Noesis and one that doesn't render with correct RGBA values... http://www.filedropper.com/abgo
  • Author
  • Localization

Acewell, posted Sat Dec 15, 2018 5:12 am (41405)


okay i swapped the channels in the rgba8888 format and added rgb565,
the samples that won't open are ETC1 and you should use PVRTexTool. :)
  • Author
  • Localization

LolHacksRule, posted Sat Dec 15, 2018 4:39 pm (41415)


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.
  • Author
  • Localization

LolHacksRule, posted Sat Apr 11, 2020 10:04 pm (55779)


I tried PVRTexTool but I cannot open ATC compressed files...
  • Author
  • Localization

Acewell, posted Sun Apr 12, 2020 3:43 am (55789)


i updated the Noesis python script to support ETC, you may need to update Noesis too. :D
the compressonator should be able to open atc, post some samples. :)
  • Author
  • Localization

LolHacksRule, posted Sun Apr 12, 2020 3:48 pm (55826)


Yeah... DXT on Noesis gives me something red for every DXT texture. Maybe that can help.
  • Author
  • Localization

Acewell, posted Wed Apr 15, 2020 8:36 am (55955)


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. :)
  • Author
  • Localization

LolHacksRule, posted Wed Apr 15, 2020 5:10 pm (55967)


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.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.