Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Strange .STX graphics format.

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
deant
n00b
Posts: 13
Joined: Mon Jul 15, 2013 11:11 am
Has thanked: 1 time

Strange .STX graphics format.

Post by deant »

Hello guys,
this is my first post here. I usualy ask for help as a last resort, and i seem to hited a rock with this one. The format is used in the PS/XBoX versions of the game Beatdown: Fists of fury. Here is a link of some sample files (around 1 mb) ->http://www.mediafire.com/download/82gnr ... agq/TEX.7z
When i open it in hex and compared it with BMP and JPG, there seem to be some similarities, but the files have absolutely no header. I`m not a programmer and i cannot go much further. I also tryed a nice little software -> Texture finder, both the new and old version(with the templates). I can find the textures in it, but cannot get the colorspace. I think they are not compressed.
Thanks in advance to whoever respond to this request.
I hope u all had a nice weekend.
herbert3000
veteran
Posts: 145
Joined: Wed Jun 02, 2010 4:53 am
Has thanked: 20 times
Been thanked: 149 times
Contact:

Re: Strange .STX graphics format.

Post by herbert3000 »

Hi!
Use TextureFinder v1.3.2 with these settings:
RO_FACE.png
This is the STX file format:

Code: Select all

{
0x00: chunk identifier (0x18)
0x04: chunk size
0x08: chunk version?
  {
  0x0C: chunk identifier (0x01)
  0x10: chunk size (0x10)
  0x14: chunk version?
    0x18: width
    0x1C: height
    0x20: bpp
    0x24: ?
  }
  0x28: bitmap (width*height bytes)
  0x28+width*height: color palette (RGBA, 0x400 bytes)
}
For example BILL_02.STX:

Code: Select all

{
18 00 00 00
1C 04 01 00
FF FF 03 18
  {
  01 00 00 00
  10 00 00 00
  FF FF 03 18
    00 02 00 00
    80 00 00 00
    08 00 00 00
    00 02 00 00
  }
  ... bitmap
  ... palette
}
Hope this helps :)
Cheers!
You do not have the required permissions to view the files attached to this post.
deant
n00b
Posts: 13
Joined: Mon Jul 15, 2013 11:11 am
Has thanked: 1 time

Re: Strange .STX graphics format.

Post by deant »

Awesome!!! Ty for the respond. I learned alot with your format explaining!
Post Reply