Graphic interpretation of file type.

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
Xela
VIP member
VIP member
Posts: 225
Joined: Sun Jul 31, 2005 4:12 am
Been thanked: 1 time

Graphic interpretation of file type.

Post by Xela » Thu Feb 23, 2006 8:19 pm

For me this is the ultimate and often the only search tool. I comb the file graphic interpretation in search of some signs of visual sense. Most often than not it requires tedious adjustment to bytes per row value. Most often you get the columns at best , but sometimes you can recognise some graphics.
Few questions:
* is graphic search a good practice, or rather just some kind of useless noob attempt because simply he does not know better
* are there any sample pictures of file content or typical patterns, which could be used as a "tell tale" and some kind of indicator of their type?
* are there any hex editors with graphic representation allowing change byte per row with arrow - fluid and fast search for pattern.
Thanks

User avatar
Dinoguy1000
Site Admin
Posts: 759
Joined: Mon Sep 13, 2004 1:55 am
Has thanked: 129 times
Been thanked: 142 times

Post by Dinoguy1000 » Fri Feb 24, 2006 2:41 am

Well, I do know that .BMP and .TGA files can be 'viewed' in Notepad: Open the chosen file, turn off line wrap (if it's on), and change font settings to Courier New, font size 1; you should now see a rough overview of the image. This method can be as useful as the graphic representation in your hex editor.
Welcome to Xentax!

Rules | Requests | Wiki | Discord

If you run across a post that breaks the rules, please report the post - a mod or admin will handle it from there.

User avatar
Mr.Mouse
Site Admin
Posts: 4051
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 421 times
Been thanked: 575 times
Contact:

Re: Graphic interpretation of file type.

Post by Mr.Mouse » Fri Feb 24, 2006 9:35 am

Xela wrote:For me this is the ultimate and often the only search tool. I comb the file graphic interpretation in search of some signs of visual sense. Most often than not it requires tedious adjustment to bytes per row value. Most often you get the columns at best , but sometimes you can recognise some graphics.
Few questions:
* is graphic search a good practice, or rather just some kind of useless noob attempt because simply he does not know better
* are there any sample pictures of file content or typical patterns, which could be used as a "tell tale" and some kind of indicator of their type?
* are there any hex editors with graphic representation allowing change byte per row with arrow - fluid and fast search for pattern.
Thanks
The method is only useful in case graphics haven't been compressed. Thus, for old to very old games you could try to tell by eye whether a piece may be graphics. In today's games, a lot of compression is used, so that makes the method almost impossible.

In case of game archives, it is best if you know how a GRA works (game archive) and where the individual files are. So you can at least know where to look. A lot of the time authors use popular formats, such as BMP, DDS, TGA etc. You can identiy them by tags such as "BM" or "DDS".

I think it would be interesting to see if a program could identify areas of graphics. Perhaps it is possible.

Xela
VIP member
VIP member
Posts: 225
Joined: Sun Jul 31, 2005 4:12 am
Been thanked: 1 time

Post by Xela » Mon Feb 27, 2006 2:27 pm

There is a game of which GRA in known to me in fact quite well. That is Strike Fighters: Project 1 large cat (catalog) files containing all is needed to play it. The utility to open it is provided by the developer, so we know what is in each file well and we can and know how to modify them. But it is fascinating while knowing this content, to see its graphic interpretation in hex and text format next to each other in the original untouched Cat using the hex editor.

In fact similarities with recently sent TAW file are striking which is giving me some further clues what is what.

Xela
VIP member
VIP member
Posts: 225
Joined: Sun Jul 31, 2005 4:12 am
Been thanked: 1 time

Post by Xela » Fri Mar 03, 2006 5:37 pm

It is actually very interesting and amazing how different formats of the files present themselves graphically. Perhaps if only some more time available some tutorials with samples would be good to have here. Yesterday I was looking at the same picture in different formats BMP and PCX. The shape or the outline of the picture in the first format (BMP) was clearly recognizable, but the same thing in PCX was total mish-mash.

But then again I also realise as to why, the bitmap is "as is" and PCX is run length compressed.

jasmine
VIP member
VIP member
Posts: 77
Joined: Tue May 10, 2005 6:07 am
Been thanked: 1 time

Post by jasmine » Sun Mar 05, 2006 4:36 pm

Try the file below. It has really helped me a couple of times and is freeware.
You do not have the required permissions to view the files attached to this post.

Xela
VIP member
VIP member
Posts: 225
Joined: Sun Jul 31, 2005 4:12 am
Been thanked: 1 time

Post by Xela » Sun Mar 05, 2006 5:44 pm

Perfect and thank you very much. This is what I was looking for- that adjustment of byte row width with arrow keys. Very smooth and fast.
Let me know about other tools like this.

Meds
beginner
Posts: 36
Joined: Sun Feb 26, 2006 3:16 am
Contact:

Post by Meds » Tue Mar 07, 2006 3:45 am

How would one go about converting a raw image into the pixel format of 4444 = 12 + 4 with ImageMagick or anything else for that matter? I've been playing around with it, but it seems to always give me a very small image output and multiple images.

Xela
VIP member
VIP member
Posts: 225
Joined: Sun Jul 31, 2005 4:12 am
Been thanked: 1 time

Post by Xela » Tue Mar 07, 2006 4:19 am

16 bit Extended BMP

This format allows greater colour depth than 8 bit. Instead of 256 colours you could now use the full “HiColorâ€

mambox
mega-veteran
mega-veteran
Posts: 189
Joined: Wed Mar 24, 2004 2:06 pm
Has thanked: 5 times
Been thanked: 4 times

Post by mambox » Tue Mar 07, 2006 8:35 pm

thanks Jasmine!!

it remember me a famous gfx grabber on amiga!!

Xela
VIP member
VIP member
Posts: 225
Joined: Sun Jul 31, 2005 4:12 am
Been thanked: 1 time

Post by Xela » Fri Mar 10, 2006 12:02 am

I have lately used quite extensively this Texture Finder brought by Jasmine for which big thanks again. The only gripe I have with the program that viewing window is so large that smaller texture files are very hard to recognize. Also I wonder what exactly "shift" and "skew" operation does to the pixels. Also cannot use palettized menu - why?

In general this program shows that recognition of the content of file is very risky if relied exclusively on visual examination. Very easy to miss as the different formats of the same picture and even different channel settings withing the program may totaly obscure it.

bitterbanana
ultra-n00b
Posts: 9
Joined: Wed Feb 09, 2005 2:02 am

Post by bitterbanana » Fri Jan 12, 2007 5:22 am

jasmine wrote:Try the file below. It has really helped me a couple of times and is freeware.
That should be pinned up at the top of this forum.

Post Reply