Editing Serious Sam Textures
Radagar

I'm looking for an editor that will allow me to modify 32bit Serious Sam .TEX Texture files. It's actually for Deer Hunter 2003, but they use the same engine I believe.

I've been googling, but I can't find an editor yet, except one called Wally. It only supports up to 24bit textures, but the game uses 32bit.

Anyone help?

23yrold3yrold

Are the textures simply images? Can you find out the file format and make a tex->bmp->tex convertor?

Radagar

Well, I've tried just renaming them to various picture formats, but none worked.

They are just pictures, but I don't know the format. I found one "TEX Converter" but when I converted to PCX it was in grayscale instead of the normal color.

I have an Editor that came with DeerHunter called SeriousSkaStudio, and if I try to open a Texture with it, it shows up in the preview window, but gives me an error when I open it. I assume it doesn't want to allow me to edit textures.

hehe, here is what the file looks like opened in notepad. this is just a tiny chunk off the top.
'
'

TVERTDAT	FRMSdVFi\LdWFgYFMB5H?2QF9K<0I>1_SEaSDvhTK?/M@1SD5ZK:l`NbUEWK;k\KWI8m\HykVQB1n`JgXI_QCj[Hn_K`SBH>0^P<r_HSB3XK8ZM>zjRygPudLudM‡qVš…hfWDr^Jšˆs¦r™…g›ˆp®—~ˆqT¥Žp¯™|}hPŽy\Ÿ‰l´} ‡p¶šx£‹kygO–„g”|deQž‰p¢‹oÀ¨„…gŠrT‰oTš€c¯˜y«’v

23yrold3yrold

A Google for ".tex file format serious sam" looks promising ...

Radagar

That's pretty much what I searched for, but I'm still looking through the results.

Adol

I'm dumb!, I just bought that game like 4 days ago. My roomate and I spent a good 6 hours playing cooperative, then deathmatch. Personally I think it is better done then quake3. (A newer game I bet, but still.)

Billybob

Deer Hunter 2003 is better than Quake?...isn't it just a hunting game?

Breakman79

I think he means Serious Sam, not Deer Hunter. I've always wanted to try that game.

Radagar

I'm dumb!, I assume since he mentioned "deathmatch" mode he was talking about Serious Sam, not Deer Hunter.

I've still not found a good .TEX editor, or even a way to convert to and from the .TEX files. (sigh)

But actually, DH2003 is a great game, if you like hunting sims. It's the most realistic I've played. and I do actually hunt deer in real life, so I know at least a little bit about it =)

Evert
Quote:

I've still not found a good .TEX editor, or even a way to convert to and from the .TEX files.

Don't you just hate it when an extension is used for more than one file type? ;)

Anyway, a friend of mine complained a while back that Paint Shop Pro (I think, might have been Photoshop) re-registered the .tex extension to itself without asking, which annoyed him not a little.
Anyway, this leads me to suspect that either of those may be able to open the image format. Not that either is free, of course...

Radagar

I have PSP 7, it wouldn't open the .TEX file unfortunately =(

I found a .TEX converter, but it doesn't work quite right.. Here is what happens. (download attachment)

The top is what it should look like, the bottom is the .TGA file that I get.

Kitty Cat

Radagar, do a simple RGB<->BGR conversion on the TGA. The red and blue colors are just switched around.

Radagar

Uhh, how do I do that?

Kitty Cat

There might be an option to switch red and blue colors somewhere in PSP (Infranview can, if you have that). If not, just make a small program with Allegro to swap red and blue values.

Evert

In PSP, you can split an image in a red, blue and green channel (well, you could in version 4 anyway). These you can recombine in any permutation you wish (you can also use a totally different image for some extremely weird colours).

Thread #350008. Printed from Allegro.cc