Join also our Discord channel! Click here.

GUN .img.xbx

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
Posts: 27
Joined: Mon Jun 06, 2016 7:51 pm
Has thanked: 6 times
Been thanked: 5 times

GUN .img.xbx

Post by devmode » Fri Oct 26, 2018 8:02 pm

Can someone help me with specifying this graphic format?

GUN on PC uses same formats as in Tony Hawk's Underground 1-2 on Xbox platform. But except extensions, .img.xbx files doesn't seems very similar.

That's my draft specification:

Code: Select all

int16 version		# 0x06
int16 subversion? 	# 0x28

int32 unknown	# crc? might be 0x0
int16 width
int16 height
int16 widthAdjusted
int16 heightAdjusted

# Pixelformat

byte unknown	# always 1
byte bitCount	# 32, 8..
byte depth??	# 0 32..
byte unknown 	# mipmaps??

int32 unknown	# always 1 ?
int32 unknown	# always 0x28 ?
int32 unknown	# 0x3C for 8 bit or 0xFFFFFFFF for 32 bit
int32 unknown	# 0xFFFFFFFF

int32 unknown	# 0x01
int16 unknown	# 0x01
int16 unknown	# 0x04
int32 unknown	# 0x00
int32 unknown	# 0x00

int32 unknown	# 0x00
int32 unknown	# 0x00
int16 unknown	# 0x01 for 8 bit
unt16 unknown	# 0xC003 for 8 bit
int32 unknown	# 0x2000 for 8 bit

#Palette size for 8 bit - 256 ???
#Offset 0x80: Image data start
In attach I provide a logo texture from main menu screen. it's ripped texture, which show how should looks like.

Thanks in advance.
You do not have the required permissions to view the files attached to this post.

Post Reply