God of War 1 textures

Textures, recreate headers, conversions, algorithms and parsing of image files
Wulf
Posts: 49
Joined: Mon Oct 27, 2014 8:30 pm

God of War 1 textures

Post by Wulf »

Data in the attached file starts at 0x120, or 0x1a0 depending on what you care about.

Graphics were never my thing, but does anybody recognize this format? I tried treating it as a simple 32bit BMP and hand-crafted a header to open it in paint, but it came out as a useless smattering of pixels. Of course, there are lots of things I could have screwed up there.
Wulf
Posts: 49
Joined: Mon Oct 27, 2014 8:30 pm

Re: God of War 1 textures

Post by Wulf »

https://www.youtube.com/watch?v=tiqqJxGmKZo

Any editors that will work with that format?

Appears to be 32 bit pixel data, ARGB.
Last edited by Wulf on Mon Nov 10, 2014 3:59 pm, edited 1 time in total.
deepshit
Posts: 22
Joined: Fri Aug 08, 2014 6:24 am

Re: God of War 1 textures

Post by deepshit »

yea it is 32 bit pixel data.
If you needed any more help on this provide some more samples.
I can help on textures.
Wulf
Posts: 49
Joined: Mon Oct 27, 2014 8:30 pm

Re: God of War 1 textures

Post by Wulf »

Here are three textures and a model in the off-chance it helps to have something to apply to. I suppose it would help more if I knew exactly which of those textures should apply to that model... but having more data available rarely hurts.

As a side-note, anything that can work directly with the models will be my next request, if you're at all familiar with that. This page has a script that will convert them to 3ds but I wouldn't know any way to get them back into the game after that.
deepshit
Posts: 22
Joined: Fri Aug 08, 2014 6:24 am

Re: God of War 1 textures

Post by deepshit »

Are these for HD GOW PS3 or GOW 1 PS2 ?
Wulf
Posts: 49
Joined: Mon Oct 27, 2014 8:30 pm

Re: God of War 1 textures

Post by Wulf »

HD GoW 1.
deepshit
Posts: 22
Joined: Fri Aug 08, 2014 6:24 am

Re: God of War 1 textures

Post by deepshit »

These are 32bits rgba with mipmaps.
But they are tiled. :cry:
Needs more work.
Wulf
Posts: 49
Joined: Mon Oct 27, 2014 8:30 pm

Re: God of War 1 textures

Post by Wulf »

It's possible that there are multiple formats in play here. I assumed they were all the same and just picked some at random to send.

The costume textures are definitely ARGB, not RGBA. Had a few headaches treating it as RGBA first. Not sure on the rest of it, but I attained half-transparent primary colors by overwriting every 4 byte block with 7FFF0000 / 7F00FF00 / 7F0000FF
Wulf
Posts: 49
Joined: Mon Oct 27, 2014 8:30 pm

Re: God of War 1 textures

Post by Wulf »

Well, I suppose I should be careful of using the word "definitely". I've had more success treating them as ARGB than anything else, but I still haven't been able to get anything to read them.

No success with a program called Texturefinder either. Any other tools out there that might detect things automatically?
deepshit
Posts: 22
Joined: Fri Aug 08, 2014 6:24 am

Re: God of War 1 textures

Post by deepshit »

Texturefinder is a good solution but as i said I think these texture are using ps3 tile algorithm.
Gonna take some time but i'll figure it out.