Page 1 of 1

GoW GNF Textures

Posted: Tue Jun 05, 2018 12:31 pm
by akderebur
Hi,

I am getting some GNF textures from the GoW PS4 game, but I couldn't open them with Noesis. I am not familiar with the GNF format and don't understand much looking at the pixel data, so I don't have any info to provide unfortunately. The header looks like any other GNF I have seen, but they aren't loaded properly for some reason.

All I can do is provide some samples : http://www.mediafire.com/file/mxvav6jyg ... W_Texs.rar I hope someone can works this out.

Thanks.

Re: GoW GNF Textures

Posted: Tue Jun 05, 2018 8:23 pm
by episoder
multi chunk files, and they seem to compressed. no offset matches, no nothing.

GNF header is 0x110 (0x112) bytes. some file size info at 0x0C, decompressed size seems to be at 0x104, format could be at 0x108, number of surfaces at 0x10A. no resolution info anywhere to be found tho. data start signature or compression id is 0x8C06 at 0x112. that's all i got real quick. i don't like to deal with this compression stuff. :|

Re: GoW GNF Textures

Posted: Tue Jun 05, 2018 8:58 pm
by akderebur
episoder wrote:multi chunk files, and they seem to compressed. no offset matches, no nothing.
Thanks for taking a look.

I just got the files by finding the GNF header in the archive and copying the given data size in the header. I haven't thought more info would be required. I will extract some files properly based on the offsets and sizes in the archive toc. It might have the missing information you mentioned.

Re: GoW GNF Textures

Posted: Fri Jun 08, 2018 6:51 pm
by Sajjad Rahim
here tools for anyone need it i found them in ps4 sdk

Re: GoW GNF Textures

Posted: Tue Jun 12, 2018 1:06 am
by mono24
Sajjad Rahim wrote:here tools for anyone need it i found them in ps4 sdk
Those are highly illegal, you might want to take it down according to forum rules, plus they do not include the proper libraries to work so its useless.

Re: GoW GNF Textures

Posted: Tue Jun 12, 2018 6:04 pm
by Sajjad Rahim
mono24 wrote:
Sajjad Rahim wrote:here tools for anyone need it i found them in ps4 sdk
Those are highly illegal, you might want to take it down according to forum rules, plus they do not include the proper libraries to work so its useless.
okay... deleted

Re: GoW GNF Textures

Posted: Sun Jul 29, 2018 4:45 am
by gaylord3000
Texpacks have some funny blockchain in them. Each block it seems stores texture size, 32bit number that match with number near GNF header if it is not last block or to number that always goes after 01 00 00 00 1c 00 00 00. Wad files has some references with real texture names and id attached to them. But had no luck to make any texture to be viewed in gnfviewer. Either block are not aligned or they are compressed/encrypted.

Re: GoW GNF Textures

Posted: Mon Jul 30, 2018 2:39 am
by gaylord3000
Sharing my "research" that i managed to do. Now i hit a wall and dont know what to do next.

https://imgur.com/a/422sHTr

Image

Re: GoW GNF Textures

Posted: Sun Aug 05, 2018 3:42 pm
by gaylord3000
I extracted some data that I think are textures. I suspect oodle compression.
after running some data trough https://github.com/powzix/kraken decompressor I managed to get this:
Image

It always decompresses 262,144 bytes and fails. I changed code in decompressor to save output buffer before exiting.
Is there anyone that could identify why its failing. Maybe data is not in solid block and it needs to be recollected before decompressing?
I adding some data that might be related.
https://mega.nz/#!6HAj2aoK!7LORl1BMrtRN ... Jv7Piu7n9I

Using oo2core_3_win64.dll always fails.

Re: GoW GNF Textures

Posted: Thu Aug 16, 2018 12:04 am
by gaylord3000
Never mind. Figured it myself.
Image