Jump to content

(PC) Pickup Express .gti raw textures


VituV2
Go to solution Solved by ikskoks,

Recommended Posts

  • Solution

Seems like it's a container for multiple images.
In this sample, first one is 16-bit, but I'm not sure about the pixel format. Second one is 32-bit RGBA.

obraz.png.ea4d9680add30dc26df74613463e5336.png

obraz.thumb.png.25bd0183211a65f441de1a20b50ecb9c.png

File format looks like this:

 

// header
4 bytes (char) - signature // "GtIm"
4 bytes (uint32) - unknown  // 4
4 bytes (char) - chunk signature  // "CRC0"
4 bytes (uint32) - chunk size?  // 4
4 bytes (uint32) - CRC32 value?


// for each image (28-bytes header + x-bytes data)
   4 bytes (char) - chunk signature  // "Imag"
   4 bytes (uint32) - chunk size?
   4 bytes (uint32) - unknown  // 4 or 8
   4 bytes (uint32) - image width
   4 bytes (uint32) - image height
   4 bytes (uint32) - number of palette entries
   4 bytes (uint32) - unknown  // 1
   x bytes - palette data
   x bytes - image data


It could be repacked probably with a little tinkering, but you would need to recalculate CRC checksum for new data (or write a tool that does it automatically).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...