ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Fri Nov 16, 2018 4:45 pm

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Aug 19, 2018 12:46 pm 

Joined: Sat Sep 16, 2017 6:34 pm
Posts: 20
Tell me, how to translate *.png > *.GXT?

The file itself "*.GXT".

File structure Iconoclasts GXT:
Quote:
Beginning With 0x0
0 4 SizeFilesGXT
4 ? FilesGXT
? ? UnknownDATA


Top
   
PostPosted: Mon Aug 20, 2018 1:49 pm 

Joined: Sat Sep 16, 2017 6:34 pm
Posts: 20
UP


Top
   
PostPosted: Mon Aug 20, 2018 9:05 pm 

Joined: Sun Jul 10, 2016 11:07 am
Posts: 67
save that to DDS then use psp2gxt.exe to convert DDS -> GXT

you should know the value of your GXT original GXT header fo you would know what properties your DDS texture will have



not really sure how accurate this is, but usually I encounter this values for single texture gxt

Code:
0x0 ID string (GXT)
0x4 version (usually 3.01)
0x8 number of texture on the gxt
0xC start of the texture (data)
0x10 size of the texture (data)
0x14 Number of 16 entry palettes if (P4 gxt if not just 0x00000000)
0x18 Number of 256 entry palettes if (P8 gxt if not just 0x00000000)
0x1C Padding (0x00000000)
0x20 start of the 1st texture (data)
0x24 size of the 1st texture (data)
0x28 Index of the palette (usually 0xFFFFFFF)
0x30 Texture Type
0x34 Texture Format
0x38 Texture Width
0x3A Texture Height
0x3C Number of Mipmaps


Texture type (GXT)
0x00 = SWIZZLED
0x40 = CUBE
0x60 = LINEAR
0x80 = TILED
0x0C = LINEAR STRIDED

Texture format
00 00 00 85 = DXT1 no alpha
00 00 00 86 = DXT3
00 00 00 87 = DXT5
10 00 04 00 = 1555
00 00 00 10 = ARGB4444
00 10 00 0C = ARGB8888
00 50 00 0C = XRGB888
00 10 00 98 = RGB888
00 10 00 05 = RGB565
00 50 00 04 = RGB555
00 10 00 02 = RGB4444


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited