XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Sep 23, 2018 3:07 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: GoW GNF Textures
PostPosted: Tue Jun 05, 2018 12:31 pm 
Offline
mega-veteran
mega-veteran

Joined: Fri Jul 08, 2011 10:36 am
Posts: 232
Has thanked: 34 times
Have thanks: 195 times














You can make the ads go away by registering

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.


Top
 Profile  
 
 Post subject: Re: GoW GNF Textures
PostPosted: Tue Jun 05, 2018 8:23 pm 
Offline
veteran

Joined: Fri Oct 16, 2015 8:05 pm
Posts: 111
Has thanked: 2 times
Have thanks: 57 times
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. :|


Top
 Profile  
 
 Post subject: Re: GoW GNF Textures
PostPosted: Tue Jun 05, 2018 8:58 pm 
Offline
mega-veteran
mega-veteran

Joined: Fri Jul 08, 2011 10:36 am
Posts: 232
Has thanked: 34 times
Have thanks: 195 times
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.


Top
 Profile  
 
 Post subject: Re: GoW GNF Textures
PostPosted: Fri Jun 08, 2018 6:51 pm 
Offline
advanced

Joined: Mon Dec 07, 2015 10:04 am
Posts: 43
Has thanked: 15 times
Have thanks: 5 times
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.

Top
 Profile  
 
 Post subject: Re: GoW GNF Textures
PostPosted: Tue Jun 12, 2018 1:06 am 
Offline
mega-veteran
mega-veteran

Joined: Sat Nov 06, 2010 12:27 am
Posts: 226
Has thanked: 81 times
Have thanks: 20 times
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.


Top
 Profile  
 
 Post subject: Re: GoW GNF Textures
PostPosted: Tue Jun 12, 2018 6:04 pm 
Offline
advanced

Joined: Mon Dec 07, 2015 10:04 am
Posts: 43
Has thanked: 15 times
Have thanks: 5 times
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


Top
 Profile  
 
 Post subject: Re: GoW GNF Textures
PostPosted: Sun Jul 29, 2018 4:45 am 
Offline
ultra-n00b

Joined: Sat Jul 28, 2018 10:09 pm
Posts: 5
Has thanked: 0 time
Have thanks: 1 time
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.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: GoW GNF Textures
PostPosted: Mon Jul 30, 2018 2:39 am 
Offline
ultra-n00b

Joined: Sat Jul 28, 2018 10:09 pm
Posts: 5
Has thanked: 0 time
Have thanks: 1 time
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


Top
 Profile  
 
 Post subject: Re: GoW GNF Textures
PostPosted: Sun Aug 05, 2018 3:42 pm 
Offline
ultra-n00b

Joined: Sat Jul 28, 2018 10:09 pm
Posts: 5
Has thanked: 0 time
Have thanks: 1 time
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!7LORl1BMrtRNWL2jHaQvhxolazuqsPY_DJv7Piu7n9I

Using oo2core_3_win64.dll always fails.


Top
 Profile  
 
 Post subject: Re: GoW GNF Textures
PostPosted: Thu Aug 16, 2018 12:04 am 
Offline
ultra-n00b

Joined: Sat Jul 28, 2018 10:09 pm
Posts: 5
Has thanked: 0 time
Have thanks: 1 time
Never mind. Figured it myself.
Image


Top
 Profile  
 
 Post subject: Re: GoW GNF Textures
PostPosted: Wed Aug 22, 2018 7:23 am 
Offline
ultra-n00b

Joined: Sat Jul 28, 2018 10:09 pm
Posts: 5
Has thanked: 0 time
Have thanks: 1 time
Image

Here you go: https://drive.google.com/open?id=1coYs2CKuh19at78ElCYjtDW6VSxNEDPW
Unpacks all textures from texpack. Doesn't do mipmaps. Instead fills rest of space with black as I don't give a **** about mipmaps.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: rsunix and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group