GoW GNF Textures

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
akderebur
ultra-veteran
ultra-veteran
Posts: 364
Joined: Fri Jul 08, 2011 10:36 am
Has thanked: 47 times
Been thanked: 345 times

GoW GNF Textures

Post by akderebur » Tue Jun 05, 2018 12:31 pm

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.

episoder
mega-veteran
mega-veteran
Posts: 252
Joined: Fri Oct 16, 2015 8:05 pm
Has thanked: 4 times
Been thanked: 108 times

Re: GoW GNF Textures

Post by episoder » Tue Jun 05, 2018 8:23 pm

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. :|
I don't rip for private requests. Ask in the forum or forget about it. :]

akderebur
ultra-veteran
ultra-veteran
Posts: 364
Joined: Fri Jul 08, 2011 10:36 am
Has thanked: 47 times
Been thanked: 345 times

Re: GoW GNF Textures

Post by akderebur » Tue Jun 05, 2018 8:58 pm

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.

Sajjad Rahim
advanced
Posts: 47
Joined: Mon Dec 07, 2015 10:04 am
Has thanked: 16 times
Been thanked: 7 times

Re: GoW GNF Textures

Post by Sajjad Rahim » Fri Jun 08, 2018 6:51 pm

here tools for anyone need it i found them in ps4 sdk
Last edited by Sajjad Rahim on Tue Jun 12, 2018 6:03 pm, edited 1 time in total.

mono24
mega-veteran
mega-veteran
Posts: 319
Joined: Sat Nov 06, 2010 12:27 am
Has thanked: 113 times
Been thanked: 54 times

Re: GoW GNF Textures

Post by mono24 » Tue Jun 12, 2018 1:06 am

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.

Sajjad Rahim
advanced
Posts: 47
Joined: Mon Dec 07, 2015 10:04 am
Has thanked: 16 times
Been thanked: 7 times

Re: GoW GNF Textures

Post by Sajjad Rahim » Tue Jun 12, 2018 6:04 pm

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

gaylord3000
ultra-n00b
Posts: 5
Joined: Sat Jul 28, 2018 10:09 pm
Been thanked: 1 time

Re: GoW GNF Textures

Post by gaylord3000 » Sun Jul 29, 2018 4:45 am

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.
You do not have the required permissions to view the files attached to this post.

gaylord3000
ultra-n00b
Posts: 5
Joined: Sat Jul 28, 2018 10:09 pm
Been thanked: 1 time

Re: GoW GNF Textures

Post by gaylord3000 » Mon Jul 30, 2018 2:39 am

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

gaylord3000
ultra-n00b
Posts: 5
Joined: Sat Jul 28, 2018 10:09 pm
Been thanked: 1 time

Re: GoW GNF Textures

Post by gaylord3000 » Sun Aug 05, 2018 3:42 pm

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.

gaylord3000
ultra-n00b
Posts: 5
Joined: Sat Jul 28, 2018 10:09 pm
Been thanked: 1 time

Re: GoW GNF Textures

Post by gaylord3000 » Thu Aug 16, 2018 12:04 am

Never mind. Figured it myself.
Image

Post Reply